lucent-ui 0.13.0 → 0.14.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 +36 -36
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1553 -1400
- package/dist-server/src/components/molecules/DatePicker/DatePicker.manifest.js +19 -1
- package/dist-server/src/components/molecules/DateRangePicker/DateRangePicker.manifest.js +19 -1
- package/package.json +1 -1
|
@@ -45,6 +45,24 @@ export const COMPONENT_MANIFEST = {
|
|
|
45
45
|
description: 'Controls trigger height and font size to match Input/Select.',
|
|
46
46
|
enumValues: ['sm', 'md', 'lg'],
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
name: 'label',
|
|
50
|
+
type: 'string',
|
|
51
|
+
required: false,
|
|
52
|
+
description: 'Label text rendered above the trigger, with size-aware font sizing matching Input/Select.',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'helperText',
|
|
56
|
+
type: 'string',
|
|
57
|
+
required: false,
|
|
58
|
+
description: 'Helper text rendered below the trigger. Hidden when errorText is present.',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'errorText',
|
|
62
|
+
type: 'string',
|
|
63
|
+
required: false,
|
|
64
|
+
description: 'Error text rendered below the trigger in danger color. Takes precedence over helperText.',
|
|
65
|
+
},
|
|
48
66
|
{
|
|
49
67
|
name: 'disabled',
|
|
50
68
|
type: 'boolean',
|
|
@@ -92,7 +110,7 @@ export const COMPONENT_MANIFEST = {
|
|
|
92
110
|
],
|
|
93
111
|
accessibility: {
|
|
94
112
|
role: 'dialog',
|
|
95
|
-
ariaAttributes: ['aria-haspopup', 'aria-expanded', 'aria-label', 'aria-pressed'],
|
|
113
|
+
ariaAttributes: ['aria-haspopup', 'aria-expanded', 'aria-invalid', 'aria-label', 'aria-pressed'],
|
|
96
114
|
keyboardInteractions: ['Enter/Space to open calendar', 'Click day to select', 'Escape closes popover (click outside)'],
|
|
97
115
|
notes: 'The calendar popover is role="dialog". Each day button has aria-label with the full date and aria-pressed for selected state. Full arrow-key navigation within the calendar grid is a planned enhancement.',
|
|
98
116
|
},
|
|
@@ -43,6 +43,24 @@ export const COMPONENT_MANIFEST = {
|
|
|
43
43
|
description: 'Controls trigger height and font size to match Input/Select.',
|
|
44
44
|
enumValues: ['sm', 'md', 'lg'],
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
name: 'label',
|
|
48
|
+
type: 'string',
|
|
49
|
+
required: false,
|
|
50
|
+
description: 'Label text rendered above the trigger, with size-aware font sizing matching Input/Select.',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'helperText',
|
|
54
|
+
type: 'string',
|
|
55
|
+
required: false,
|
|
56
|
+
description: 'Helper text rendered below the trigger. Hidden when errorText is present.',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'errorText',
|
|
60
|
+
type: 'string',
|
|
61
|
+
required: false,
|
|
62
|
+
description: 'Error text rendered below the trigger in danger color. Takes precedence over helperText.',
|
|
63
|
+
},
|
|
46
64
|
{
|
|
47
65
|
name: 'disabled',
|
|
48
66
|
type: 'boolean',
|
|
@@ -86,7 +104,7 @@ export const COMPONENT_MANIFEST = {
|
|
|
86
104
|
],
|
|
87
105
|
accessibility: {
|
|
88
106
|
role: 'dialog',
|
|
89
|
-
ariaAttributes: ['aria-haspopup', 'aria-expanded', 'aria-label', 'aria-pressed'],
|
|
107
|
+
ariaAttributes: ['aria-haspopup', 'aria-expanded', 'aria-invalid', 'aria-label', 'aria-pressed'],
|
|
90
108
|
keyboardInteractions: ['Enter/Space to open', 'Click first day to set start', 'Click second day to set end', 'Escape/click outside to cancel'],
|
|
91
109
|
notes: 'Inherits Calendar accessibility from DatePicker. The two-step selection flow is reinforced with a visible "Now pick the end date" hint.',
|
|
92
110
|
},
|