@ardium-ui/ui 5.0.0-alpha.93 → 5.0.0-alpha.95
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/fesm2022/ardium-ui-ui.mjs +7 -4
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/inputs/date-input/date-input.component.d.ts +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +2 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +6 -11
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +10 -9
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/themes/default/buttons/button.scss +2 -0
- package/themes/default/buttons/fab.scss +12 -10
- package/themes/default/buttons/icon-button.scss +10 -8
|
@@ -6556,7 +6556,7 @@ function getCalendarDayData(year, monthIndex, firstWeekday = 1, min, max, fillUp
|
|
|
6556
6556
|
continue;
|
|
6557
6557
|
}
|
|
6558
6558
|
// add the day number
|
|
6559
|
-
const valueDate =
|
|
6559
|
+
const valueDate = getUTCDate(year, monthIndex, currentDay);
|
|
6560
6560
|
currentWeek.push({
|
|
6561
6561
|
value: currentDay,
|
|
6562
6562
|
valueDate,
|
|
@@ -6633,6 +6633,7 @@ class ArdiumIconButtonComponent extends _FocusableComponentBase {
|
|
|
6633
6633
|
`ard-color-${this.disabled() ? ComponentColor.None : this.color()}`,
|
|
6634
6634
|
this.lightColoring() ? `ard-light-coloring` : '',
|
|
6635
6635
|
this.compact() ? 'ard-compact' : '',
|
|
6636
|
+
this.pointerEventsWhenDisabled() ? 'ard-icon-button-with-pointer-events-when-disabled' : '',
|
|
6636
6637
|
].join(' '));
|
|
6637
6638
|
}
|
|
6638
6639
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ArdiumIconButtonComponent, deps: [{ token: ARD_ICON_BUTTON_DEFAULTS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -8690,7 +8691,7 @@ class ArdiumDateInputComponent extends _AbstractDateInput {
|
|
|
8690
8691
|
this.isRangeSelector = false;
|
|
8691
8692
|
this.dateInputValue = model('');
|
|
8692
8693
|
//! date input event handlers
|
|
8693
|
-
this.dateInput = viewChild
|
|
8694
|
+
this.dateInput = viewChild('dateInput');
|
|
8694
8695
|
this.inputAttrs = input(this._DEFAULTS.inputAttrs);
|
|
8695
8696
|
this.inputReadOnly = input(this._DEFAULTS.inputReadOnly, {
|
|
8696
8697
|
transform: v => coerceBooleanProperty(v),
|
|
@@ -8785,7 +8786,9 @@ class ArdiumDateInputComponent extends _AbstractDateInput {
|
|
|
8785
8786
|
this.value.set(date);
|
|
8786
8787
|
}
|
|
8787
8788
|
_setDateInputAttributes() {
|
|
8788
|
-
const input = this.dateInput()
|
|
8789
|
+
const input = this.dateInput()?.nativeElement;
|
|
8790
|
+
if (!input)
|
|
8791
|
+
return;
|
|
8789
8792
|
const attributes = {
|
|
8790
8793
|
type: 'text',
|
|
8791
8794
|
autocorrect: 'off',
|
|
@@ -8812,7 +8815,7 @@ class ArdiumDateInputComponent extends _AbstractDateInput {
|
|
|
8812
8815
|
if (this.disabled() || this.readonly())
|
|
8813
8816
|
return;
|
|
8814
8817
|
super.onGeneralClick(event);
|
|
8815
|
-
this.dateInput()
|
|
8818
|
+
this.dateInput()?.nativeElement.focus();
|
|
8816
8819
|
if (this.isOpen()) {
|
|
8817
8820
|
this.close();
|
|
8818
8821
|
}
|