fix: create exports for test-suites and test-helpers (#2010)

This commit is contained in:
gerjanvangeest 2023-06-13 08:47:56 +02:00 committed by GitHub
parent dbc3fc2db6
commit 3cfc9f9744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/ui': patch
---
create exports for test-suites and test-helpers

View file

@ -14,6 +14,7 @@ import '@lion/ui/define/lion-input-date.js';
export const isADate = () => html` export const isADate = () => html`
<lion-input-date label="IsDate" .modelValue=${new Date('foo')}> </lion-input-date> <lion-input-date label="IsDate" .modelValue=${new Date('foo')}> </lion-input-date>
`; `;
}
``` ```
## With minimum date ## With minimum date

View file

@ -0,0 +1,3 @@
export { LionButtonSuite } from './LionButton.suite.js';
export { LionButtonResetSuite } from './LionButtonReset.suite.js';
export { LionButtonSubmitSuite } from './LionButtonSubmit.suite.js';

View file

@ -0,0 +1,3 @@
export { CalendarObject } from './CalendarObject.js';
export { DayObject } from './DayObject.js';
export { weekdayNames } from './weekdayNames.js';

View file

@ -0,0 +1,7 @@
export {
getComboboxMembers,
mimicUserTyping,
mimicKeyPress,
mimicUserTypingAdvanced,
getFilteredOptionValues,
} from './combobox-helpers.js';

View file

@ -0,0 +1,7 @@
export {
AlwaysInvalid,
AlwaysValid,
AsyncAlwaysInvalid,
AsyncAlwaysValid,
} from './ExampleValidators.js';
export { getFormControlMembers } from './getFormControlMembers.js';

View file

@ -0,0 +1,10 @@
export { runChoiceGroupMixinSuite } from './choice-group/ChoiceGroupMixin.suite.js';
export { runChoiceInputMixinSuite } from './choice-group/ChoiceInputMixin.suite.js';
export { runFormGroupMixinSuite } from './form-group/FormGroupMixin.suite.js';
export { runFormGroupMixinInputSuite } from './form-group/FormGroupMixin-input.suite.js';
export { runFormatMixinSuite } from './FormatMixin.suite.js';
export { runRegistrationSuite } from './FormRegistrationMixins.suite.js';
export { runInteractionStateMixinSuite } from './InteractionStateMixin.suite.js';
export { runNativeTextFieldMixinSuite } from './NativeTextFieldMixin.suite.js';
export { runValidateMixinSuite } from './ValidateMixin.suite.js';
export { runValidateMixinFeedbackPart } from './ValidateMixinFeedbackPart.suite.js';

View file

@ -0,0 +1 @@
export { DatepickerInputObject } from './DatepickerInputObject.js';

View file

@ -0,0 +1 @@
export { runInputTelDropdownSuite } from './LionInputTelDropdown.suite.js';

View file

@ -0,0 +1 @@
export { mockPhoneUtilManager, restorePhoneUtilManager } from './mockPhoneUtilManager.js';

View file

@ -0,0 +1 @@
export { runInputTelSuite } from './LionInputTel.suite.js';

View file

@ -0,0 +1 @@
export { getInputMembers } from './getInputMembers.js';

View file

@ -0,0 +1,7 @@
export {
setupFakeImport,
setupEmptyFakeImportsFor,
resetFakeImport,
fakeImport,
} from './fake-imports.js';
export { localizeTearDown } from './localizeTearDown.js';

View file

@ -0,0 +1,3 @@
export { createShadowHost } from './createShadowHost.js';
export { mimicClick } from './mimicClick.js';
export { normalizeTransformStyle } from './normalizeTransformStyle.js';

View file

@ -0,0 +1 @@
export { runOverlayMixinSuite } from './OverlayMixin.suite.js';

View file

@ -16,6 +16,21 @@
"types": "./dist-types/exports/*", "types": "./dist-types/exports/*",
"default": "./exports/*" "default": "./exports/*"
}, },
"./calendar-test-helpers": "./components/calendar/test-helpers/index.js",
"./combobox-test-helpers": "./components/combobox/test-helpers/index.js",
"./form-core-test-helpers": "./components/form-core/test-helpers/index.js",
"./input-test-helpers": "./components/input/test-helpers/index.js",
"./input-datepicker-test-helpers": "./components/input-datepicker/test-helpers/index.js",
"./input-tel-test-helpers": "./components/input-tel/test-helpers/index.js",
"./listbox-test-helpers": "./components/listbox/test-helpers/index.js",
"./localize-test-helpers": "./components/localize/test-helpers/index.js",
"./overlays-test-helpers": "./components/overlays/test-helpers/index.js",
"./button-test-suites": "./components/button/test-suites/index.js",
"./form-core-test-suites": "./components/form-core/test-suites/index.js",
"./input-tel-test-suites": "./components/input-tel/test-suites/index.js",
"./input-tel-dropdown-test-suites": "./components/input-tel-dropdown/test-suites/index.js",
"./listbox-test-suites": "./components/listbox/test-suites/index.js",
"./overlays-test-suites": "./components/overlays/test-suites/index.js",
"./calendar-translations/*": "./components/calendar/translations/*", "./calendar-translations/*": "./components/calendar/translations/*",
"./combobox-translations/*": "./components/combobox/translations/*", "./combobox-translations/*": "./components/combobox/translations/*",
"./pagination-translations/*": "./components/pagination/translations/*", "./pagination-translations/*": "./components/pagination/translations/*",