@lytjs/ui 6.7.0 → 6.9.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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1959 -0
- package/dist/index.d.ts +1959 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, onUnmounted } from '@lytjs/component';
|
|
2
2
|
import { createVNode, createTextVNode } from '@lytjs/vdom';
|
|
3
3
|
import { isArray, isString, isObject } from '@lytjs/common-is';
|
|
4
|
-
import { getButtonA11yProps, mergeA11yProps, getFormControlA11yProps, getDialogA11yProps, getComboboxA11yProps, getTabA11yProps, getTabpanelA11yProps, getTablistA11yProps,
|
|
4
|
+
import { getButtonA11yProps, mergeA11yProps, getFormControlA11yProps, getDialogA11yProps, getComboboxA11yProps, getTabA11yProps, getTabpanelA11yProps, getTablistA11yProps, getInputControlA11yProps, getGroupA11yProps, getSwitchA11yProps, getSpinbuttonA11yProps, getSliderA11yProps } from '@lytjs/common-a11y';
|
|
5
5
|
import { signal, watch, effect, reactive, computed } from '@lytjs/reactivity';
|
|
6
6
|
|
|
7
7
|
// src/components/Button.ts
|
|
@@ -2212,7 +2212,7 @@ var Tree = defineComponent({
|
|
|
2212
2212
|
);
|
|
2213
2213
|
}
|
|
2214
2214
|
if (p.showCheckbox) {
|
|
2215
|
-
const checkboxProps = getInputControlA11yProps
|
|
2215
|
+
const checkboxProps = getInputControlA11yProps({
|
|
2216
2216
|
checked: node.isChecked,
|
|
2217
2217
|
disabled: node.disabled,
|
|
2218
2218
|
ariaLabel: node.label
|
|
@@ -6345,7 +6345,7 @@ var Checkbox = defineComponent({
|
|
|
6345
6345
|
return () => {
|
|
6346
6346
|
const children = [];
|
|
6347
6347
|
const checked = isChecked.value;
|
|
6348
|
-
const a11yProps = getInputControlA11yProps
|
|
6348
|
+
const a11yProps = getInputControlA11yProps({
|
|
6349
6349
|
id: _props.id,
|
|
6350
6350
|
ariaLabel: _props.ariaLabel,
|
|
6351
6351
|
ariaDescribedBy: _props.ariaDescribedBy,
|
|
@@ -6547,7 +6547,7 @@ var Radio = defineComponent({
|
|
|
6547
6547
|
return () => {
|
|
6548
6548
|
const children = [];
|
|
6549
6549
|
const checked = isChecked.value;
|
|
6550
|
-
const a11yProps = getInputControlA11yProps
|
|
6550
|
+
const a11yProps = getInputControlA11yProps({
|
|
6551
6551
|
checked,
|
|
6552
6552
|
disabled: _props.disabled,
|
|
6553
6553
|
id: _props.id,
|