@warp-ds/elements 2.9.0-next.4 → 2.9.0-next.6

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.
Files changed (99) hide show
  1. package/dist/custom-elements.json +3554 -3442
  2. package/dist/docs/affix/accessibility.md +7 -0
  3. package/dist/docs/affix/affix.md +174 -10
  4. package/dist/docs/affix/api.md +28 -10
  5. package/dist/docs/affix/examples.md +92 -0
  6. package/dist/docs/affix/usage.md +47 -0
  7. package/dist/docs/alert/alert.md +12 -12
  8. package/dist/docs/alert/api.md +12 -12
  9. package/dist/docs/attention/api.md +46 -46
  10. package/dist/docs/attention/attention.md +46 -46
  11. package/dist/docs/badge/accessibility.md +44 -0
  12. package/dist/docs/badge/api.md +12 -8
  13. package/dist/docs/badge/badge.md +191 -10
  14. package/dist/docs/badge/examples.md +82 -0
  15. package/dist/docs/badge/usage.md +53 -0
  16. package/dist/docs/button/api.md +46 -42
  17. package/dist/docs/button/button.md +46 -42
  18. package/dist/docs/card/api.md +11 -11
  19. package/dist/docs/card/card.md +11 -11
  20. package/dist/docs/combobox/api.md +62 -62
  21. package/dist/docs/combobox/combobox.md +62 -62
  22. package/dist/docs/datepicker/api.md +74 -66
  23. package/dist/docs/datepicker/datepicker.md +74 -66
  24. package/dist/docs/expandable/api.md +26 -26
  25. package/dist/docs/expandable/expandable.md +26 -26
  26. package/dist/docs/link/api.md +28 -28
  27. package/dist/docs/link/link.md +28 -28
  28. package/dist/docs/page-indicator/api.md +6 -6
  29. package/dist/docs/page-indicator/page-indicator.md +6 -6
  30. package/dist/docs/pagination/api.md +3 -3
  31. package/dist/docs/pagination/pagination.md +3 -3
  32. package/dist/docs/pill/api.md +19 -15
  33. package/dist/docs/pill/pill.md +19 -15
  34. package/dist/docs/select/api.md +44 -44
  35. package/dist/docs/select/select.md +44 -44
  36. package/dist/docs/slider/api.md +80 -78
  37. package/dist/docs/slider/slider.md +80 -78
  38. package/dist/docs/slider-thumb/api.md +28 -76
  39. package/dist/docs/slider-thumb/slider-thumb.md +28 -76
  40. package/dist/docs/switch/api.md +16 -16
  41. package/dist/docs/switch/switch.md +16 -16
  42. package/dist/docs/tab/api.md +26 -40
  43. package/dist/docs/tab/tab.md +26 -40
  44. package/dist/docs/tab-panel/api.md +1 -17
  45. package/dist/docs/tab-panel/tab-panel.md +1 -17
  46. package/dist/docs/tabs/api.md +3 -3
  47. package/dist/docs/tabs/tabs.md +3 -3
  48. package/dist/docs/textarea/api.md +42 -40
  49. package/dist/docs/textarea/textarea.md +42 -40
  50. package/dist/docs/textfield/accessibility.md +15 -0
  51. package/dist/docs/textfield/api.md +86 -83
  52. package/dist/docs/textfield/examples.md +147 -0
  53. package/dist/docs/textfield/textfield.md +279 -86
  54. package/dist/docs/textfield/usage.md +30 -0
  55. package/dist/index.d.ts +343 -319
  56. package/dist/packages/affix/affix.d.ts +23 -14
  57. package/dist/packages/affix/affix.js +24 -11
  58. package/dist/packages/affix/affix.js.map +4 -4
  59. package/dist/packages/affix/affix.stories.d.ts +3 -0
  60. package/dist/packages/affix/affix.stories.js +16 -0
  61. package/dist/packages/affix/affix.test.js +7 -0
  62. package/dist/packages/affix/locales/da/messages.d.mts +1 -0
  63. package/dist/packages/affix/locales/da/messages.mjs +1 -0
  64. package/dist/packages/affix/locales/en/messages.d.mts +1 -0
  65. package/dist/packages/affix/locales/en/messages.mjs +1 -0
  66. package/dist/packages/affix/locales/fi/messages.d.mts +1 -0
  67. package/dist/packages/affix/locales/fi/messages.mjs +1 -0
  68. package/dist/packages/affix/locales/nb/messages.d.mts +1 -0
  69. package/dist/packages/affix/locales/nb/messages.mjs +1 -0
  70. package/dist/packages/affix/locales/sv/messages.d.mts +1 -0
  71. package/dist/packages/affix/locales/sv/messages.mjs +1 -0
  72. package/dist/packages/badge/badge.d.ts +7 -5
  73. package/dist/packages/badge/badge.js.map +2 -2
  74. package/dist/packages/badge/badge.react.stories.d.ts +1 -1
  75. package/dist/packages/box/box.react.stories.d.ts +1 -1
  76. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +1 -1
  77. package/dist/packages/button/button.react.stories.d.ts +1 -1
  78. package/dist/packages/card/card.react.stories.d.ts +1 -1
  79. package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
  80. package/dist/packages/datepicker/datepicker.js +1 -1
  81. package/dist/packages/datepicker/datepicker.js.map +2 -2
  82. package/dist/packages/datepicker/datepicker.react.stories.d.ts +9 -1
  83. package/dist/packages/datepicker/react.d.ts +4 -0
  84. package/dist/packages/datepicker/react.js +4 -0
  85. package/dist/packages/expandable/expandable.react.stories.d.ts +1 -1
  86. package/dist/packages/link/link.react.stories.d.ts +1 -1
  87. package/dist/packages/page-indicator/page-indicator.react.stories.d.ts +1 -1
  88. package/dist/packages/pagination/pagination.react.stories.d.ts +1 -1
  89. package/dist/packages/pill/pill.react.stories.d.ts +1 -1
  90. package/dist/packages/select/select.react.stories.d.ts +1 -1
  91. package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
  92. package/dist/packages/textfield/textfield.d.ts +57 -60
  93. package/dist/packages/textfield/textfield.js +5 -5
  94. package/dist/packages/textfield/textfield.js.map +2 -2
  95. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  96. package/dist/packages/textfield/textfield.stories.d.ts +3 -0
  97. package/dist/packages/textfield/textfield.stories.js +45 -0
  98. package/dist/web-types.json +452 -147
  99. package/package.json +2 -2
@@ -4,129 +4,129 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | options | `ComboboxOption[]` | `[]` | - |
8
- | label | `string | undefined` | `''` | - |
9
- | placeholder | `string | undefined` | `''` | - |
10
- | value | `string` | `''` | - |
11
- | openOnFocus | `boolean` | `false` | - |
12
- | selectOnBlur | `boolean` | `true` | - |
13
- | matchTextSegments | `boolean` | `false` | - |
14
- | disableStaticFiltering | `boolean` | `false` | - |
15
- | invalid | `boolean` | `false` | - |
16
- | helpText | `string | undefined` | `''` | - |
17
- | disabled | `boolean` | `false` | - |
18
- | required | `boolean` | `false` | - |
19
- | optional | `boolean` | `false` | - |
20
- | name | `string | undefined` | `''` | - |
21
- | autocomplete | `string | undefined` | `'off'` | - |
7
+ | autocomplete | `string \| undefined` | `'off'` | Autocomplete attribute for the input field |
8
+ | disableStaticFiltering | `boolean` | `false` | Disable client-side static filtering |
9
+ | disabled | `boolean` | `false` | Whether the element is disabled |
10
+ | helpText | `string \| undefined` | `''` | The content to display as the help text |
11
+ | invalid | `boolean` | `false` | Renders the input field in an invalid state |
12
+ | label | `string \| undefined` | `''` | Label above input |
13
+ | matchTextSegments | `boolean` | `false` | Whether the matching text segments in the options should be highlighted |
14
+ | name | `string \| undefined` | `''` | Name attribute for form submission |
15
+ | openOnFocus | `boolean` | `false` | Whether the popover opens when focus is on the text field |
16
+ | optional | `boolean` | `false` | Whether to show optional text |
17
+ | options | `ComboboxOption[]` | `[]` | The available options to select from |
18
+ | placeholder | `string \| undefined` | `''` | Input placeholder |
19
+ | required | `boolean` | `false` | Whether the element is required |
20
+ | selectOnBlur | `boolean` | `true` | Select active option on blur |
21
+ | value | `string` | `''` | The input value |
22
22
 
23
23
  ### Property Details
24
24
 
25
- #### options
26
-
27
-
28
-
29
- - Type: `ComboboxOption[]`
30
- - Default: `[]`
31
-
32
- #### label
25
+ #### autocomplete
33
26
 
27
+ Autocomplete attribute for the input field
34
28
 
29
+ - Type: `string \| undefined`
30
+ - Default: `'off'`
35
31
 
36
- - Type: `string | undefined`
37
- - Default: `''`
32
+ #### disableStaticFiltering
38
33
 
39
- #### placeholder
34
+ Disable client-side static filtering
40
35
 
36
+ - Type: `boolean`
37
+ - Default: `false`
41
38
 
39
+ #### disabled
42
40
 
43
- - Type: `string | undefined`
44
- - Default: `''`
41
+ Whether the element is disabled
45
42
 
46
- #### value
43
+ - Type: `boolean`
44
+ - Default: `false`
47
45
 
46
+ #### helpText
48
47
 
48
+ The content to display as the help text
49
49
 
50
- - Type: `string`
50
+ - Type: `string \| undefined`
51
51
  - Default: `''`
52
52
 
53
- #### openOnFocus
54
-
53
+ #### invalid
55
54
 
55
+ Renders the input field in an invalid state
56
56
 
57
57
  - Type: `boolean`
58
58
  - Default: `false`
59
59
 
60
- #### selectOnBlur
61
-
60
+ #### label
62
61
 
62
+ Label above input
63
63
 
64
- - Type: `boolean`
65
- - Default: `true`
64
+ - Type: `string \| undefined`
65
+ - Default: `''`
66
66
 
67
67
  #### matchTextSegments
68
68
 
69
-
69
+ Whether the matching text segments in the options should be highlighted
70
70
 
71
71
  - Type: `boolean`
72
72
  - Default: `false`
73
73
 
74
- #### disableStaticFiltering
74
+ #### name
75
75
 
76
+ Name attribute for form submission
76
77
 
78
+ - Type: `string \| undefined`
79
+ - Default: `''`
80
+
81
+ #### openOnFocus
82
+
83
+ Whether the popover opens when focus is on the text field
77
84
 
78
85
  - Type: `boolean`
79
86
  - Default: `false`
80
87
 
81
- #### invalid
82
-
88
+ #### optional
83
89
 
90
+ Whether to show optional text
84
91
 
85
92
  - Type: `boolean`
86
93
  - Default: `false`
87
94
 
88
- #### helpText
89
-
90
-
95
+ #### options
91
96
 
92
- - Type: `string | undefined`
93
- - Default: `''`
97
+ The available options to select from
94
98
 
95
- #### disabled
99
+ - Type: `ComboboxOption[]`
100
+ - Default: `[]`
96
101
 
102
+ #### placeholder
97
103
 
104
+ Input placeholder
98
105
 
99
- - Type: `boolean`
100
- - Default: `false`
106
+ - Type: `string \| undefined`
107
+ - Default: `''`
101
108
 
102
109
  #### required
103
110
 
104
-
111
+ Whether the element is required
105
112
 
106
113
  - Type: `boolean`
107
114
  - Default: `false`
108
115
 
109
- #### optional
110
-
116
+ #### selectOnBlur
111
117
 
118
+ Select active option on blur
112
119
 
113
120
  - Type: `boolean`
114
- - Default: `false`
115
-
116
- #### name
121
+ - Default: `true`
117
122
 
123
+ #### value
118
124
 
125
+ The input value
119
126
 
120
- - Type: `string | undefined`
127
+ - Type: `string`
121
128
  - Default: `''`
122
129
 
123
- #### autocomplete
124
-
125
-
126
-
127
- - Type: `string | undefined`
128
- - Default: `'off'`
129
-
130
130
  ### Types
131
131
 
132
132
  No types documented.
@@ -18,129 +18,129 @@ A combobox element for text input with selectable options.
18
18
 
19
19
  | Name | Type | Default | Summary |
20
20
  |-|-|-|-|
21
- | options | `ComboboxOption[]` | `[]` | - |
22
- | label | `string | undefined` | `''` | - |
23
- | placeholder | `string | undefined` | `''` | - |
24
- | value | `string` | `''` | - |
25
- | openOnFocus | `boolean` | `false` | - |
26
- | selectOnBlur | `boolean` | `true` | - |
27
- | matchTextSegments | `boolean` | `false` | - |
28
- | disableStaticFiltering | `boolean` | `false` | - |
29
- | invalid | `boolean` | `false` | - |
30
- | helpText | `string | undefined` | `''` | - |
31
- | disabled | `boolean` | `false` | - |
32
- | required | `boolean` | `false` | - |
33
- | optional | `boolean` | `false` | - |
34
- | name | `string | undefined` | `''` | - |
35
- | autocomplete | `string | undefined` | `'off'` | - |
21
+ | autocomplete | `string \| undefined` | `'off'` | Autocomplete attribute for the input field |
22
+ | disableStaticFiltering | `boolean` | `false` | Disable client-side static filtering |
23
+ | disabled | `boolean` | `false` | Whether the element is disabled |
24
+ | helpText | `string \| undefined` | `''` | The content to display as the help text |
25
+ | invalid | `boolean` | `false` | Renders the input field in an invalid state |
26
+ | label | `string \| undefined` | `''` | Label above input |
27
+ | matchTextSegments | `boolean` | `false` | Whether the matching text segments in the options should be highlighted |
28
+ | name | `string \| undefined` | `''` | Name attribute for form submission |
29
+ | openOnFocus | `boolean` | `false` | Whether the popover opens when focus is on the text field |
30
+ | optional | `boolean` | `false` | Whether to show optional text |
31
+ | options | `ComboboxOption[]` | `[]` | The available options to select from |
32
+ | placeholder | `string \| undefined` | `''` | Input placeholder |
33
+ | required | `boolean` | `false` | Whether the element is required |
34
+ | selectOnBlur | `boolean` | `true` | Select active option on blur |
35
+ | value | `string` | `''` | The input value |
36
36
 
37
37
  ### Property Details
38
38
 
39
- #### options
40
-
41
-
42
-
43
- - Type: `ComboboxOption[]`
44
- - Default: `[]`
45
-
46
- #### label
39
+ #### autocomplete
47
40
 
41
+ Autocomplete attribute for the input field
48
42
 
43
+ - Type: `string \| undefined`
44
+ - Default: `'off'`
49
45
 
50
- - Type: `string | undefined`
51
- - Default: `''`
46
+ #### disableStaticFiltering
52
47
 
53
- #### placeholder
48
+ Disable client-side static filtering
54
49
 
50
+ - Type: `boolean`
51
+ - Default: `false`
55
52
 
53
+ #### disabled
56
54
 
57
- - Type: `string | undefined`
58
- - Default: `''`
55
+ Whether the element is disabled
59
56
 
60
- #### value
57
+ - Type: `boolean`
58
+ - Default: `false`
61
59
 
60
+ #### helpText
62
61
 
62
+ The content to display as the help text
63
63
 
64
- - Type: `string`
64
+ - Type: `string \| undefined`
65
65
  - Default: `''`
66
66
 
67
- #### openOnFocus
68
-
67
+ #### invalid
69
68
 
69
+ Renders the input field in an invalid state
70
70
 
71
71
  - Type: `boolean`
72
72
  - Default: `false`
73
73
 
74
- #### selectOnBlur
75
-
74
+ #### label
76
75
 
76
+ Label above input
77
77
 
78
- - Type: `boolean`
79
- - Default: `true`
78
+ - Type: `string \| undefined`
79
+ - Default: `''`
80
80
 
81
81
  #### matchTextSegments
82
82
 
83
-
83
+ Whether the matching text segments in the options should be highlighted
84
84
 
85
85
  - Type: `boolean`
86
86
  - Default: `false`
87
87
 
88
- #### disableStaticFiltering
88
+ #### name
89
89
 
90
+ Name attribute for form submission
90
91
 
92
+ - Type: `string \| undefined`
93
+ - Default: `''`
94
+
95
+ #### openOnFocus
96
+
97
+ Whether the popover opens when focus is on the text field
91
98
 
92
99
  - Type: `boolean`
93
100
  - Default: `false`
94
101
 
95
- #### invalid
96
-
102
+ #### optional
97
103
 
104
+ Whether to show optional text
98
105
 
99
106
  - Type: `boolean`
100
107
  - Default: `false`
101
108
 
102
- #### helpText
103
-
104
-
109
+ #### options
105
110
 
106
- - Type: `string | undefined`
107
- - Default: `''`
111
+ The available options to select from
108
112
 
109
- #### disabled
113
+ - Type: `ComboboxOption[]`
114
+ - Default: `[]`
110
115
 
116
+ #### placeholder
111
117
 
118
+ Input placeholder
112
119
 
113
- - Type: `boolean`
114
- - Default: `false`
120
+ - Type: `string \| undefined`
121
+ - Default: `''`
115
122
 
116
123
  #### required
117
124
 
118
-
125
+ Whether the element is required
119
126
 
120
127
  - Type: `boolean`
121
128
  - Default: `false`
122
129
 
123
- #### optional
124
-
130
+ #### selectOnBlur
125
131
 
132
+ Select active option on blur
126
133
 
127
134
  - Type: `boolean`
128
- - Default: `false`
129
-
130
- #### name
135
+ - Default: `true`
131
136
 
137
+ #### value
132
138
 
139
+ The input value
133
140
 
134
- - Type: `string | undefined`
141
+ - Type: `string`
135
142
  - Default: `''`
136
143
 
137
- #### autocomplete
138
-
139
-
140
-
141
- - Type: `string | undefined`
142
- - Default: `'off'`
143
-
144
144
  ### Types
145
145
 
146
146
  No types documented.
@@ -4,99 +4,105 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
7
+ | calendar | `HTMLDivElement` | `-` | - |
8
+ | dayFormat | `string` | `'PPPP'` | Decides the format of the day in the calendar as read to screen readers. |
9
+ | headerFormat | `string` | `'MMMM yyyy'` | Decides the format of the date as shown in the calendar header. |
10
+ | input | `HTMLInputElement` | `-` | - |
11
+ | isCalendarOpen | `boolean` | `false` | - |
12
+ | isDayDisabled | `(day: Date) => boolean` | `-` | Lets you control if a date in the calendar should be disabled. |
8
13
  | label | `string` | `-` | - |
9
- | lang | `string` | `-` | - |
14
+ | lang | `string` | `-` | Takes precedence over the `<html>` lang attribute. |
15
+ | month | `unknown` | `-` | - |
10
16
  | name | `string` | `-` | - |
11
- | value | `string` | `-` | - |
12
- | headerFormat | `string` | `'MMMM yyyy'` | - |
13
- | weekdayFormat | `string` | `'EEEEEE'` | - |
14
- | isDayDisabled | `(day: Date) => boolean` | `-` | - |
15
- | dayFormat | `string` | `'PPPP'` | - |
16
- | isCalendarOpen | `boolean` | `false` | - |
17
17
  | navigationDate | `Date` | `-` | - |
18
- | selectedDate | `Date | null` | `-` | - |
19
- | month | `unknown` | `-` | - |
20
- | weeks | `unknown` | `-` | - |
21
- | calendar | `HTMLDivElement` | `-` | - |
22
- | input | `HTMLInputElement` | `-` | - |
18
+ | previousMonthButton | `HTMLButtonElement` | `-` | This is the first focusable element, needed for the modal focus trap. |
19
+ | selectedCell | `HTMLTableCellElement` | `-` | - |
20
+ | selectedDate | `Date \| null` | `-` | - |
21
+ | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
22
+ | todayCell | `HTMLTableCellElement` | `-` | - |
23
23
  | toggleButton | `HTMLButtonElement` | `-` | - |
24
+ | value | `string` | `-` | - |
25
+ | weekdayFormat | `string` | `'EEEEEE'` | Decides the format of the weekday as shown above the grid of dates in the calendar. |
26
+ | weeks | `unknown` | `-` | - |
24
27
  | wrapper | `HTMLDivElement` | `-` | - |
25
- | previousMonthButton | `HTMLButtonElement` | `-` | - |
26
- | todayCell | `HTMLTableCellElement` | `-` | - |
27
- | selectedCell | `HTMLTableCellElement` | `-` | - |
28
28
 
29
29
  ### Property Details
30
30
 
31
- #### shadowRootOptions
31
+ #### calendar
32
32
 
33
33
 
34
34
 
35
- - Type: `object`
36
- - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
35
+ - Type: `HTMLDivElement`
36
+ - Default: `-`
37
37
 
38
- #### label
38
+ #### dayFormat
39
39
 
40
+ Decides the format of the day in the calendar as read to screen readers.
40
41
 
42
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
41
43
 
42
44
  - Type: `string`
43
- - Default: `-`
45
+ - Default: `'PPPP'`
44
46
 
45
- #### lang
47
+ #### headerFormat
46
48
 
49
+ Decides the format of the date as shown in the calendar header.
47
50
 
51
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
48
52
 
49
53
  - Type: `string`
50
- - Default: `-`
54
+ - Default: `'MMMM yyyy'`
51
55
 
52
- #### name
56
+ #### input
53
57
 
54
58
 
55
59
 
56
- - Type: `string`
60
+ - Type: `HTMLInputElement`
57
61
  - Default: `-`
58
62
 
59
- #### value
63
+ #### isCalendarOpen
60
64
 
61
65
 
62
66
 
63
- - Type: `string`
64
- - Default: `-`
67
+ - Type: `boolean`
68
+ - Default: `false`
65
69
 
66
- #### headerFormat
70
+ #### isDayDisabled
67
71
 
72
+ Lets you control if a date in the calendar should be disabled.
68
73
 
74
+ This needs to be set on the element instance in JavaScript, not as an HTML attribute.
69
75
 
70
- - Type: `string`
71
- - Default: `'MMMM yyyy'`
76
+ - Type: `(day: Date) => boolean`
77
+ - Default: `-`
72
78
 
73
- #### weekdayFormat
79
+ #### label
74
80
 
75
81
 
76
82
 
77
83
  - Type: `string`
78
- - Default: `'EEEEEE'`
79
-
80
- #### isDayDisabled
84
+ - Default: `-`
81
85
 
86
+ #### lang
82
87
 
88
+ Takes precedence over the `<html>` lang attribute.
83
89
 
84
- - Type: `(day: Date) => boolean`
90
+ - Type: `string`
85
91
  - Default: `-`
86
92
 
87
- #### dayFormat
93
+ #### month
88
94
 
89
95
 
90
96
 
91
- - Type: `string`
92
- - Default: `'PPPP'`
97
+ - Type: `unknown`
98
+ - Default: `-`
93
99
 
94
- #### isCalendarOpen
100
+ #### name
95
101
 
96
102
 
97
103
 
98
- - Type: `boolean`
99
- - Default: `false`
104
+ - Type: `string`
105
+ - Default: `-`
100
106
 
101
107
  #### navigationDate
102
108
 
@@ -105,39 +111,43 @@
105
111
  - Type: `Date`
106
112
  - Default: `-`
107
113
 
108
- #### selectedDate
114
+ #### previousMonthButton
109
115
 
116
+ This is the first focusable element, needed for the modal focus trap.
110
117
 
118
+ Don't cache this and other `@query` fields from inside the calendar modal.
119
+ They work the first time, but once the calendar is closed and reopened
120
+ the query will point to an element that doesn't exist anymore.
111
121
 
112
- - Type: `Date | null`
122
+ - Type: `HTMLButtonElement`
113
123
  - Default: `-`
114
124
 
115
- #### month
125
+ #### selectedCell
116
126
 
117
127
 
118
128
 
119
- - Type: `unknown`
129
+ - Type: `HTMLTableCellElement`
120
130
  - Default: `-`
121
131
 
122
- #### weeks
132
+ #### selectedDate
123
133
 
124
134
 
125
135
 
126
- - Type: `unknown`
136
+ - Type: `Date \| null`
127
137
  - Default: `-`
128
138
 
129
- #### calendar
139
+ #### shadowRootOptions
130
140
 
131
141
 
132
142
 
133
- - Type: `HTMLDivElement`
134
- - Default: `-`
143
+ - Type: `object`
144
+ - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
135
145
 
136
- #### input
146
+ #### todayCell
137
147
 
138
148
 
139
149
 
140
- - Type: `HTMLInputElement`
150
+ - Type: `HTMLTableCellElement`
141
151
  - Default: `-`
142
152
 
143
153
  #### toggleButton
@@ -147,36 +157,34 @@
147
157
  - Type: `HTMLButtonElement`
148
158
  - Default: `-`
149
159
 
150
- #### wrapper
160
+ #### value
151
161
 
152
162
 
153
163
 
154
- - Type: `HTMLDivElement`
164
+ - Type: `string`
155
165
  - Default: `-`
156
166
 
157
- #### previousMonthButton
167
+ #### weekdayFormat
158
168
 
159
- This is the first focusable element, needed for the modal focus trap.
169
+ Decides the format of the weekday as shown above the grid of dates in the calendar.
160
170
 
161
- Don't cache this and other `@query` fields from inside the calendar modal.
162
- They work the first time, but once the calendar is closed and reopened
163
- the query will point to an element that doesn't exist anymore.
171
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
164
172
 
165
- - Type: `HTMLButtonElement`
166
- - Default: `-`
173
+ - Type: `string`
174
+ - Default: `'EEEEEE'`
167
175
 
168
- #### todayCell
176
+ #### weeks
169
177
 
170
178
 
171
179
 
172
- - Type: `HTMLTableCellElement`
180
+ - Type: `unknown`
173
181
  - Default: `-`
174
182
 
175
- #### selectedCell
183
+ #### wrapper
176
184
 
177
185
 
178
186
 
179
- - Type: `HTMLTableCellElement`
187
+ - Type: `HTMLDivElement`
180
188
  - Default: `-`
181
189
 
182
190
  ### Types