@brightspace-ui/core 3.234.2 → 3.235.0
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.
|
@@ -254,7 +254,6 @@ class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(
|
|
|
254
254
|
@d2l-dropdown-focus-enter="${this._handleFocusTrapEnter}"
|
|
255
255
|
max-width="335"
|
|
256
256
|
min-height="415"
|
|
257
|
-
?no-auto-fit="${!mediaQueryList.matches}"
|
|
258
257
|
trap-focus
|
|
259
258
|
no-auto-focus
|
|
260
259
|
mobile-tray="bottom"
|
|
@@ -362,10 +361,10 @@ class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(
|
|
|
362
361
|
: this.validationError;
|
|
363
362
|
|
|
364
363
|
return html`
|
|
365
|
-
<d2l-tooltip
|
|
366
|
-
align="start"
|
|
367
|
-
announced
|
|
368
|
-
class="vdiff-target"
|
|
364
|
+
<d2l-tooltip
|
|
365
|
+
align="start"
|
|
366
|
+
announced
|
|
367
|
+
class="vdiff-target"
|
|
369
368
|
for="${this._inputId}"
|
|
370
369
|
?force-show="${this._showRevertTooltip}"
|
|
371
370
|
state="error">
|
|
@@ -383,10 +382,10 @@ class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(
|
|
|
383
382
|
: this.localize('components.input-date.useDateFormat', { format: shortDateFormat });
|
|
384
383
|
|
|
385
384
|
return html`
|
|
386
|
-
<d2l-tooltip
|
|
387
|
-
align="start"
|
|
388
|
-
announced
|
|
389
|
-
class="vdiff-target"
|
|
385
|
+
<d2l-tooltip
|
|
386
|
+
align="start"
|
|
387
|
+
announced
|
|
388
|
+
class="vdiff-target"
|
|
390
389
|
for="${this._inputId}"
|
|
391
390
|
?force-show="${this._showRevertTooltip}">
|
|
392
391
|
<div>${revertMessage}</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.235.0",
|
|
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",
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
"lint:eslint": "eslint .",
|
|
20
20
|
"lint:style": "stylelint \"**/*.{js,html}\" --ignore-path .gitignore",
|
|
21
21
|
"start": "web-dev-server --node-resolve --watch --open",
|
|
22
|
-
"test": "npm run lint && npm run test:translations && npm run test:unit && npm run test:axe",
|
|
22
|
+
"test": "npm run lint && npm run test:translations && npm run test:node-imports && npm run test:unit && npm run test:axe",
|
|
23
23
|
"test:axe": "d2l-test-runner axe --chrome",
|
|
24
|
+
"test:node-imports": "mocha \"./test/node-imports-test.js\"",
|
|
24
25
|
"test:unit": "d2l-test-runner",
|
|
25
26
|
"test:translations": "mfv -s en -p ./lang/ -i untranslated,category-missing",
|
|
26
27
|
"test:vdiff": "d2l-test-runner vdiff --timeout 10000",
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"eslint-plugin-unicorn": "^64",
|
|
61
62
|
"glob-all": "^3",
|
|
62
63
|
"messageformat-validator": "^3.0.0-beta",
|
|
64
|
+
"mocha": "^11",
|
|
63
65
|
"rollup": "^4",
|
|
64
66
|
"rollup-plugin-copy": "^3",
|
|
65
67
|
"rollup-plugin-delete": "^3",
|