@brightspace-ui/core 2.177.0 → 2.177.1
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/components/inputs/input-date-range.js +1 -1
- package/components/inputs/input-date-time-range.js +1 -1
- package/components/inputs/input-date-time.js +1 -1
- package/components/inputs/input-date.js +1 -1
- package/components/inputs/input-number.js +1 -1
- package/components/inputs/input-percent.js +1 -1
- package/components/inputs/input-search.js +1 -1
- package/components/inputs/input-time-range.js +1 -1
- package/custom-elements.json +8 -8
- package/package.json +1 -1
@@ -29,7 +29,7 @@ export function getShiftedEndDate(startValue, endValue, prevStartValue, inclusiv
|
|
29
29
|
|
30
30
|
/**
|
31
31
|
* A component consisting of two input-date components - one for start of range and one for end of range. Values specified for these components (through start-value and/or end-value attributes) should be localized to the user's timezone if applicable and must be in ISO 8601 calendar date format ("YYYY-MM-DD").
|
32
|
-
* @slot inline-help -
|
32
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
33
33
|
* @fires change - Dispatched when there is a change to selected start date or selected end date. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 calendar date format (`YYYY-MM-DD`).
|
34
34
|
*/
|
35
35
|
class InputDateRange extends FocusMixin(SkeletonMixin(FormElementMixin(RtlMixin(LocalizeCoreElement(LitElement))))) {
|
@@ -62,7 +62,7 @@ export function getShiftedEndDateTime(startValue, endValue, prevStartValue, incl
|
|
62
62
|
* A component consisting of two input-date-time components - one for start of range and one for end of range. The time input only appears once a date is selected.
|
63
63
|
* @slot start - Optional content that would appear below the start input-date-time
|
64
64
|
* @slot end - Optional content that would appear below the end input-date-time
|
65
|
-
* @slot inline-help -
|
65
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
66
66
|
* @fires change - Dispatched when there is a change to selected start date-time or selected end date-time. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 combined date and time format (`YYYY-MM-DDTHH:mm:ss.sssZ`).
|
67
67
|
*/
|
68
68
|
class InputDateTimeRange extends FocusMixin(SkeletonMixin(FormElementMixin(RtlMixin(LocalizeCoreElement(LitElement))))) {
|
@@ -39,7 +39,7 @@ function _getFormattedDefaultTime(defaultValue) {
|
|
39
39
|
|
40
40
|
/**
|
41
41
|
* A component that consists of a "<d2l-input-date>" and a "<d2l-input-time>" component. The time input only appears once a date is selected. This component displays the "value" if one is specified, and reflects the selected value when one is selected or entered.
|
42
|
-
* @slot inline-help -
|
42
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
43
43
|
* @fires change - Dispatched when there is a change to selected date or selected time. `value` corresponds to the selected value and is formatted in ISO 8601 combined date and time format (`YYYY-MM-DDTHH:mm:ss.sssZ`).
|
44
44
|
*/
|
45
45
|
class InputDateTime extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(LocalizeCoreElement(RtlMixin(LitElement)))))) {
|
@@ -26,7 +26,7 @@ export function formatISODateInUserCalDescriptor(val) {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* A component that consists of a text input field for typing a date and an attached calendar (d2l-calendar) dropdown. It displays the "value" if one is specified, or a placeholder if not, and reflects the selected value when one is selected in the calendar or entered in the text input.
|
29
|
-
* @slot inline-help -
|
29
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
30
30
|
* @fires change - Dispatched when there is a change to selected date. `value` corresponds to the selected value and is formatted in ISO 8601 calendar date format (`YYYY-MM-DD`).
|
31
31
|
*/
|
32
32
|
class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(LocalizeCoreElement(LitElement))))) {
|
@@ -73,7 +73,7 @@ function roundPrecisely(val, maxFractionDigits) {
|
|
73
73
|
* @slot after - Slot beside the input on the right side. Useful for an "icon" or "button-icon".
|
74
74
|
* @slot left - Slot within the input on the left side. Useful for an "icon" or "button-icon".
|
75
75
|
* @slot right - Slot within the input on the right side. Useful for an "icon" or "button-icon".
|
76
|
-
* @slot inline-help -
|
76
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
77
77
|
* @fires change - Dispatched when an alteration to the value is committed (typically after focus is lost) by the user. The `value` attribute reflects a JavaScript Number which is parsed from the formatted input value.
|
78
78
|
*/
|
79
79
|
class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(LocalizeCoreElement(LitElement))))) {
|
@@ -11,7 +11,7 @@ import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
|
|
11
11
|
/**
|
12
12
|
* This component wraps the "<d2l-input-number>" tag and is intended for inputting percent values.
|
13
13
|
* @slot after - Slot beside the input on the right side. Useful for an "icon" or "button-icon".
|
14
|
-
* @slot inline-help -
|
14
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
15
15
|
* @fires change - Dispatched when an alteration to the value is committed (typically after focus is lost) by the user. The `value` attribute reflects a JavaScript Number which is parsed from the formatted input value.
|
16
16
|
*/
|
17
17
|
class InputPercent extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(LocalizeCoreElement(RtlMixin(LitElement)))))) {
|
@@ -13,7 +13,7 @@ export const SUPPRESS_ENTER_TIMEOUT_MS = 1000;
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* This component wraps the native "<input type="search">"" element and is for text searching.
|
16
|
-
* @slot inline-help -
|
16
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
17
17
|
* @fires d2l-input-search-searched - Dispatched when a search is performed. When the input is cleared, this will be fired with an empty value.
|
18
18
|
*/
|
19
19
|
class InputSearch extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
@@ -36,7 +36,7 @@ function getValidISOTimeAtInterval(val, timeInterval) {
|
|
36
36
|
|
37
37
|
/**
|
38
38
|
* A component consisting of two input-time components - one for start of range and one for end of range. Values specified for these components (through start-value and/or end-value attributes) should be localized to the user's timezone if applicable and must be in ISO 8601 time format ("hh:mm:ss").
|
39
|
-
* @slot inline-help -
|
39
|
+
* @slot inline-help - Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label.
|
40
40
|
* @fires change - Dispatched when there is a change to selected start time or selected end time. `start-value` and `end-value` correspond to the selected values and are formatted in ISO 8601 calendar time format (`hh:mm:ss`).
|
41
41
|
*/
|
42
42
|
|
package/custom-elements.json
CHANGED
@@ -5276,7 +5276,7 @@
|
|
5276
5276
|
"slots": [
|
5277
5277
|
{
|
5278
5278
|
"name": "inline-help",
|
5279
|
-
"description": "
|
5279
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
5280
5280
|
}
|
5281
5281
|
]
|
5282
5282
|
},
|
@@ -5591,7 +5591,7 @@
|
|
5591
5591
|
},
|
5592
5592
|
{
|
5593
5593
|
"name": "inline-help",
|
5594
|
-
"description": "
|
5594
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
5595
5595
|
}
|
5596
5596
|
]
|
5597
5597
|
},
|
@@ -5776,7 +5776,7 @@
|
|
5776
5776
|
"slots": [
|
5777
5777
|
{
|
5778
5778
|
"name": "inline-help",
|
5779
|
-
"description": "
|
5779
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
5780
5780
|
}
|
5781
5781
|
]
|
5782
5782
|
},
|
@@ -5950,7 +5950,7 @@
|
|
5950
5950
|
"slots": [
|
5951
5951
|
{
|
5952
5952
|
"name": "inline-help",
|
5953
|
-
"description": "
|
5953
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
5954
5954
|
}
|
5955
5955
|
]
|
5956
5956
|
},
|
@@ -6313,7 +6313,7 @@
|
|
6313
6313
|
},
|
6314
6314
|
{
|
6315
6315
|
"name": "inline-help",
|
6316
|
-
"description": "
|
6316
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
6317
6317
|
}
|
6318
6318
|
]
|
6319
6319
|
},
|
@@ -6490,7 +6490,7 @@
|
|
6490
6490
|
},
|
6491
6491
|
{
|
6492
6492
|
"name": "inline-help",
|
6493
|
-
"description": "
|
6493
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
6494
6494
|
}
|
6495
6495
|
]
|
6496
6496
|
},
|
@@ -6626,7 +6626,7 @@
|
|
6626
6626
|
"slots": [
|
6627
6627
|
{
|
6628
6628
|
"name": "inline-help",
|
6629
|
-
"description": "
|
6629
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
6630
6630
|
}
|
6631
6631
|
]
|
6632
6632
|
},
|
@@ -7471,7 +7471,7 @@
|
|
7471
7471
|
"slots": [
|
7472
7472
|
{
|
7473
7473
|
"name": "inline-help",
|
7474
|
-
"description": "
|
7474
|
+
"description": "Help text that will appear below the input. Use this only when other helpful cues are not sufficient, such as a carefully-worded label."
|
7475
7475
|
}
|
7476
7476
|
]
|
7477
7477
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.177.
|
3
|
+
"version": "2.177.1",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|