@lion/ui 0.3.4 → 0.4.0-prerelease-bypass-export-map.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.
- package/accordion.js +1 -0
- package/button.js +3 -0
- package/calendar-test-helpers.js +3 -0
- package/calendar.js +2 -0
- package/checkbox-group-test-suites.js +1 -0
- package/checkbox-group.js +3 -0
- package/collapsible.js +1 -0
- package/combobox-test-helpers.js +1 -0
- package/combobox.js +6 -0
- package/components/overlays/src/ArrowMixin.js +3 -1
- package/components/overlays/test/ArrowMixin.test.js +14 -0
- package/core.js +7 -0
- package/custom-elements.json +6 -0
- package/dialog.js +1 -0
- package/dist-types/components/overlays/src/ArrowMixin.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +1 -1
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/drawer.js +1 -0
- package/fieldset.js +1 -0
- package/form-core-test-helpers.js +3 -0
- package/form-core-test-suites.js +10 -0
- package/form-core.js +45 -0
- package/form-integrations.js +1 -0
- package/form.js +1 -0
- package/helpers.js +7 -0
- package/icon-no-side-effects.js +1 -0
- package/icon.js +3 -0
- package/input-amount.js +4 -0
- package/input-date.js +1 -0
- package/input-datepicker-test-helpers.js +1 -0
- package/input-datepicker.js +1 -0
- package/input-email.js +1 -0
- package/input-file.js +3 -0
- package/input-iban.js +4 -0
- package/input-range.js +1 -0
- package/input-stepper.js +1 -0
- package/input-tel-dropdown-test-suites.js +1 -0
- package/input-tel-dropdown.js +2 -0
- package/input-tel-test-helpers.js +4 -0
- package/input-tel-test-suites.js +1 -0
- package/input-tel.js +5 -0
- package/input-test-helpers.js +1 -0
- package/input.js +1 -0
- package/listbox-test-helpers.js +1 -0
- package/listbox-test-suites.js +1 -0
- package/listbox.js +4 -0
- package/localize-no-side-effects.js +19 -0
- package/localize-test-helpers.js +7 -0
- package/localize.js +19 -0
- package/overlays-no-side-effects.js +1 -0
- package/overlays-test-helpers.js +1 -0
- package/overlays-test-suites.js +1 -0
- package/overlays.js +17 -0
- package/package.json +7 -3
- package/pagination.js +1 -0
- package/progress-indicator.js +1 -0
- package/radio-group.js +2 -0
- package/select-rich.js +2 -0
- package/select.js +1 -0
- package/steps.js +2 -0
- package/switch.js +2 -0
- package/tabs.js +1 -0
- package/textarea.js +1 -0
- package/tooltip.js +1 -0
- package/validate-messages-no-side-effects.js +1 -0
- package/validate-messages.js +1 -0
package/accordion.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LionAccordion } from './components/accordion/src/LionAccordion.js';
|
package/button.js
ADDED
package/calendar.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { runCheckboxIndeterminateSuite } from './components/checkbox-group/test-suites/CheckboxIndeterminate.suite.js';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { LionCheckboxGroup } from './components/checkbox-group/src/LionCheckboxGroup.js';
|
|
2
|
+
export { LionCheckboxIndeterminate } from './components/checkbox-group/src/LionCheckboxIndeterminate.js';
|
|
3
|
+
export { LionCheckbox } from './components/checkbox-group/src/LionCheckbox.js';
|
package/collapsible.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LionCollapsible } from './components/collapsible/src/LionCollapsible.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/combobox/test-helpers/combobox-helpers.js';
|
package/combobox.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { LionCombobox } from './components/combobox/src/LionCombobox.js';
|
|
2
|
+
export {
|
|
3
|
+
makeMatchingTextBold,
|
|
4
|
+
unmakeMatchingTextBold,
|
|
5
|
+
} from './components/combobox/src/utils/makeMatchingTextBold.js';
|
|
6
|
+
export { MatchesOption } from './components/combobox/src/validators.js';
|
|
@@ -110,7 +110,9 @@ export const ArrowMixinImplementation = superclass =>
|
|
|
110
110
|
|
|
111
111
|
/** @protected */
|
|
112
112
|
_arrowNodeTemplate() {
|
|
113
|
-
return html`
|
|
113
|
+
return html`
|
|
114
|
+
<div class="arrow" aria-hidden="true" data-popper-arrow>${this._arrowTemplate()}</div>
|
|
115
|
+
`;
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
/** @protected */
|
|
@@ -62,6 +62,20 @@ describe('ArrowMixin', () => {
|
|
|
62
62
|
expect(window.getComputedStyle(arrowNode).getPropertyValue('display')).to.equal('block');
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
+
it('hides for screen readers', async () => {
|
|
66
|
+
const el = /** @type {ArrowTest} */ (
|
|
67
|
+
await fixture(html`
|
|
68
|
+
<arrow-test>
|
|
69
|
+
<div slot="content">This is a tooltip</div>
|
|
70
|
+
<button slot="invoker">Tooltip button</button>
|
|
71
|
+
</arrow-test>
|
|
72
|
+
`)
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
const arrowNode = /** @type {Element} */ (el._arrowNode);
|
|
76
|
+
expect(arrowNode.getAttribute('aria-hidden')).to.equal('true');
|
|
77
|
+
});
|
|
78
|
+
|
|
65
79
|
it('hides the arrow when has-arrow is false', async () => {
|
|
66
80
|
const el = /** @type {ArrowTest} */ (
|
|
67
81
|
await fixture(html`
|
package/core.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { DisabledMixin } from './components/core/src/DisabledMixin.js';
|
|
2
|
+
export { DisabledWithTabIndexMixin } from './components/core/src/DisabledWithTabIndexMixin.js';
|
|
3
|
+
export { ScopedStylesController } from './components/core/src/ScopedStylesController.js';
|
|
4
|
+
export { SlotMixin } from './components/core/src/SlotMixin.js';
|
|
5
|
+
export { browserDetection } from './components/core/src/browserDetection.js';
|
|
6
|
+
export { EventTargetShim } from './components/core/src/EventTargetShim.js';
|
|
7
|
+
export { uuid } from './components/core/src/uuid.js';
|
package/custom-elements.json
CHANGED
|
@@ -2052,6 +2052,12 @@
|
|
|
2052
2052
|
"declarations": [],
|
|
2053
2053
|
"exports": []
|
|
2054
2054
|
},
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "javascript-module",
|
|
2057
|
+
"path": "scripts/generate-lion-exports.js",
|
|
2058
|
+
"declarations": [],
|
|
2059
|
+
"exports": []
|
|
2060
|
+
},
|
|
2055
2061
|
{
|
|
2056
2062
|
"kind": "javascript-module",
|
|
2057
2063
|
"path": "scripts/types-correct-after-build.js",
|
package/dialog.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LionDialog } from './components/dialog/src/LionDialog.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/ArrowMixin.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;GAGG;AACH,uCAHU,UAAU,
|
|
1
|
+
{"version":3,"file":"ArrowMixin.d.ts","sourceRoot":"","sources":["../../../../components/overlays/src/ArrowMixin.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH;;;GAGG;AACH,uCAHU,UAAU,CA0MhB;yBAjNS,OAAO,6BAA6B,EAAE,UAAU;AAmN7D,0FAAgE;4BApNnD,OAAO,2BAA2B,EAAE,aAAa;4BAEjD,OAAO,8BAA8B,EAAE,OAAO;wBAC9C,OAAO,6BAA6B,EAAE,SAAS;6BAC/C,OAAO,KAAK,EAAE,cAAc"}
|