@transferwise/components 0.0.0-experimental-b77dac7 → 0.0.0-experimental-fa3aa98

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 (154) hide show
  1. package/build/Calendar/Calendar.js +94 -16
  2. package/build/Calendar/Calendar.js.map +1 -1
  3. package/build/Calendar/Calendar.messages.js +12 -0
  4. package/build/Calendar/Calendar.messages.js.map +1 -1
  5. package/build/Calendar/Calendar.messages.mjs +12 -0
  6. package/build/Calendar/Calendar.messages.mjs.map +1 -1
  7. package/build/Calendar/Calendar.mjs +95 -17
  8. package/build/Calendar/Calendar.mjs.map +1 -1
  9. package/build/Calendar/DateHeader/DateHeader.js +5 -1
  10. package/build/Calendar/DateHeader/DateHeader.js.map +1 -1
  11. package/build/Calendar/DateHeader/DateHeader.mjs +5 -1
  12. package/build/Calendar/DateHeader/DateHeader.mjs.map +1 -1
  13. package/build/Calendar/DayCalendar/DayCalendar.js +14 -0
  14. package/build/Calendar/DayCalendar/DayCalendar.js.map +1 -1
  15. package/build/Calendar/DayCalendar/DayCalendar.mjs +14 -0
  16. package/build/Calendar/DayCalendar/DayCalendar.mjs.map +1 -1
  17. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +53 -19
  18. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
  19. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +53 -19
  20. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
  21. package/build/Calendar/MonthCalendar/MonthCalendar.js +6 -0
  22. package/build/Calendar/MonthCalendar/MonthCalendar.js.map +1 -1
  23. package/build/Calendar/MonthCalendar/MonthCalendar.mjs +6 -0
  24. package/build/Calendar/MonthCalendar/MonthCalendar.mjs.map +1 -1
  25. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +8 -3
  26. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
  27. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +8 -3
  28. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
  29. package/build/Calendar/{tableLink → TableLink}/TableLink.js +26 -11
  30. package/build/Calendar/TableLink/TableLink.js.map +1 -0
  31. package/build/Calendar/{tableLink → TableLink}/TableLink.mjs +26 -11
  32. package/build/Calendar/TableLink/TableLink.mjs.map +1 -0
  33. package/build/Calendar/YearCalendar/Table/YearCalendarTable.js +8 -3
  34. package/build/Calendar/YearCalendar/Table/YearCalendarTable.js.map +1 -1
  35. package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs +8 -3
  36. package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs.map +1 -1
  37. package/build/Calendar/YearCalendar/YearCalendar.js +7 -0
  38. package/build/Calendar/YearCalendar/YearCalendar.js.map +1 -1
  39. package/build/Calendar/YearCalendar/YearCalendar.mjs +7 -0
  40. package/build/Calendar/YearCalendar/YearCalendar.mjs.map +1 -1
  41. package/build/DateLookup/DateLookup.js +20 -9
  42. package/build/DateLookup/DateLookup.js.map +1 -1
  43. package/build/DateLookup/DateLookup.mjs +20 -9
  44. package/build/DateLookup/DateLookup.mjs.map +1 -1
  45. package/build/DefinitionList/DefinitionList.js +1 -2
  46. package/build/DefinitionList/DefinitionList.js.map +1 -1
  47. package/build/DefinitionList/DefinitionList.mjs +1 -2
  48. package/build/DefinitionList/DefinitionList.mjs.map +1 -1
  49. package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js +33 -0
  50. package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js.map +1 -0
  51. package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs +31 -0
  52. package/build/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs.map +1 -0
  53. package/build/common/DateUtils/isDateDisabled/isDateDisabled.js +40 -0
  54. package/build/common/DateUtils/isDateDisabled/isDateDisabled.js.map +1 -0
  55. package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs +38 -0
  56. package/build/common/DateUtils/isDateDisabled/isDateDisabled.mjs.map +1 -0
  57. package/build/i18n/en.json +4 -0
  58. package/build/i18n/en.json.js +4 -0
  59. package/build/i18n/en.json.js.map +1 -1
  60. package/build/i18n/en.json.mjs +4 -0
  61. package/build/i18n/en.json.mjs.map +1 -1
  62. package/build/index.js +2 -2
  63. package/build/index.mjs +1 -1
  64. package/build/main.css +123 -73
  65. package/build/styles/Calendar/Calendar.css +112 -37
  66. package/build/styles/Calendar/TableLink/TableLink.css +115 -0
  67. package/build/styles/DefinitionList/DefinitionList.css +0 -30
  68. package/build/styles/main.css +123 -73
  69. package/build/types/Calendar/Calendar.d.ts +16 -3
  70. package/build/types/Calendar/Calendar.d.ts.map +1 -1
  71. package/build/types/Calendar/Calendar.messages.d.ts +20 -0
  72. package/build/types/Calendar/Calendar.messages.d.ts.map +1 -1
  73. package/build/types/Calendar/Calendar.types.d.ts +32 -0
  74. package/build/types/Calendar/Calendar.types.d.ts.map +1 -0
  75. package/build/types/Calendar/DateHeader/DateHeader.d.ts +2 -0
  76. package/build/types/Calendar/DateHeader/DateHeader.d.ts.map +1 -1
  77. package/build/types/Calendar/DayCalendar/DayCalendar.d.ts +5 -1
  78. package/build/types/Calendar/DayCalendar/DayCalendar.d.ts.map +1 -1
  79. package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts +4 -0
  80. package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts.map +1 -1
  81. package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts +1 -0
  82. package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts.map +1 -1
  83. package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts +2 -1
  84. package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts.map +1 -1
  85. package/build/types/Calendar/{tableLink → TableLink}/TableLink.d.ts +3 -1
  86. package/build/types/Calendar/TableLink/TableLink.d.ts.map +1 -0
  87. package/build/types/Calendar/TableLink/index.d.ts.map +1 -0
  88. package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts +2 -1
  89. package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts.map +1 -1
  90. package/build/types/Calendar/YearCalendar/YearCalendar.d.ts +1 -0
  91. package/build/types/Calendar/YearCalendar/YearCalendar.d.ts.map +1 -1
  92. package/build/types/Calendar/index.d.ts +1 -0
  93. package/build/types/Calendar/index.d.ts.map +1 -1
  94. package/build/types/DateLookup/DateLookup.d.ts +24 -5
  95. package/build/types/DateLookup/DateLookup.d.ts.map +1 -1
  96. package/build/types/DateLookup/index.d.ts +1 -0
  97. package/build/types/DateLookup/index.d.ts.map +1 -1
  98. package/build/types/DefinitionList/DefinitionList.d.ts.map +1 -1
  99. package/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts +3 -0
  100. package/build/types/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts.map +1 -0
  101. package/build/types/common/DateUtils/index.d.ts +2 -0
  102. package/build/types/common/DateUtils/index.d.ts.map +1 -1
  103. package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts +3 -0
  104. package/build/types/common/DateUtils/isDateDisabled/isDateDisabled.d.ts.map +1 -0
  105. package/build/types/index.d.ts +3 -2
  106. package/build/types/index.d.ts.map +1 -1
  107. package/build/types/test-utils/index.d.ts +8 -0
  108. package/build/types/test-utils/index.d.ts.map +1 -1
  109. package/package.json +1 -1
  110. package/src/Calendar/Calendar.css +112 -37
  111. package/src/Calendar/Calendar.disabledDates.test.tsx +518 -0
  112. package/src/Calendar/Calendar.less +5 -35
  113. package/src/Calendar/Calendar.messages.ts +21 -0
  114. package/src/Calendar/Calendar.test.tsx +288 -27
  115. package/src/Calendar/Calendar.tsx +136 -19
  116. package/src/Calendar/Calendar.types.ts +35 -0
  117. package/src/Calendar/DateHeader/DateHeader.tsx +6 -0
  118. package/src/Calendar/DayCalendar/DayCalendar.tsx +33 -1
  119. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +62 -28
  120. package/src/Calendar/MonthCalendar/MonthCalendar.tsx +8 -0
  121. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +15 -3
  122. package/src/Calendar/TableLink/TableLink.css +115 -0
  123. package/src/Calendar/TableLink/TableLink.less +68 -0
  124. package/src/Calendar/{tableLink → TableLink}/TableLink.tsx +29 -14
  125. package/src/Calendar/YearCalendar/Table/YearCalendarTable.tsx +15 -3
  126. package/src/Calendar/YearCalendar/YearCalendar.tsx +9 -0
  127. package/src/Calendar/_stories/Calendar.accessibility.docs.mdx +118 -0
  128. package/src/Calendar/_stories/Calendar.story.tsx +138 -4
  129. package/src/Calendar/_stories/Calendar.test.story.tsx +74 -0
  130. package/src/Calendar/index.ts +7 -0
  131. package/src/DateLookup/DateLookup.disabledDates.test.tsx +293 -0
  132. package/src/DateLookup/DateLookup.test.tsx +34 -37
  133. package/src/DateLookup/DateLookup.tsx +37 -13
  134. package/src/DateLookup/_stories/DateLookup.accessibility.docs.mdx +108 -0
  135. package/src/DateLookup/_stories/DateLookup.story.tsx +124 -2
  136. package/src/DateLookup/index.ts +6 -0
  137. package/src/DefinitionList/DefinitionList.css +0 -30
  138. package/src/DefinitionList/DefinitionList.less +0 -24
  139. package/src/DefinitionList/DefinitionList.tsx +0 -1
  140. package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.test.ts +98 -0
  141. package/src/common/DateUtils/hasDisabledDatesInMonth/hasDisabledDatesInMonth.ts +45 -0
  142. package/src/common/DateUtils/index.ts +2 -0
  143. package/src/common/DateUtils/isDateDisabled/isDateDisabled.test.ts +169 -0
  144. package/src/common/DateUtils/isDateDisabled/isDateDisabled.ts +59 -0
  145. package/src/i18n/en.json +4 -0
  146. package/src/index.ts +3 -2
  147. package/src/main.css +123 -73
  148. package/build/Calendar/tableLink/TableLink.js.map +0 -1
  149. package/build/Calendar/tableLink/TableLink.mjs.map +0 -1
  150. package/build/types/Calendar/tableLink/TableLink.d.ts.map +0 -1
  151. package/build/types/Calendar/tableLink/index.d.ts.map +0 -1
  152. package/src/DefinitionList/_stories/DefinitionList.test.story.tsx +0 -168
  153. /package/build/types/Calendar/{tableLink → TableLink}/index.d.ts +0 -0
  154. /package/src/Calendar/{tableLink → TableLink}/index.ts +0 -0
@@ -1,37 +1,9 @@
1
- .tw-date-lookup-calendar {
2
- min-width: 300px;
3
- text-align: center;
4
- table-layout: fixed;
5
- border: none;
6
- background-color: inherit;
7
- }
8
- .tw-date-lookup-calendar thead {
9
- background-color: transparent;
10
- background-color: initial;
11
- }
12
- .tw-date-lookup-calendar > tbody > tr > td.weekend button {
13
- color: #5d7079;
14
- color: var(--color-content-secondary);
15
- }
16
- .tw-date-lookup-calendar > tbody > tr > td {
17
- border: none;
18
- padding: 4px;
19
- padding: var(--size-4);
20
- }
21
- @media (max-width: 320px) {
22
- .tw-date-lookup-calendar > tbody > tr > td {
23
- padding: 0;
24
- }
25
- }
26
- .tw-date-lookup-calendar > tbody > tr > td:has(.tw-date-lookup-day-option) {
27
- padding: 1px;
28
- }
29
- .tw-date-lookup-calendar > tbody > tr > td button {
1
+ .wds-Calendar__option--day,
2
+ .wds-Calendar__option--month,
3
+ .wds-Calendar__option--year {
30
4
  width: 100%;
31
5
  padding: 4px 0;
32
6
  padding: var(--size-4) 0;
33
- color: #0097c7;
34
- color: var(--color-content-accent);
35
7
  border: transparent;
36
8
  border-radius: 10px;
37
9
  border-radius: var(--radius-small);
@@ -42,11 +14,86 @@
42
14
  color: var(--color-content-primary);
43
15
  }
44
16
  @media (max-width: 320px) {
45
- .tw-date-lookup-calendar > tbody > tr > td button {
17
+ .wds-Calendar__option--day,
18
+ .wds-Calendar__option--month,
19
+ .wds-Calendar__option--year {
46
20
  padding: 0;
47
21
  }
48
22
  }
49
- .tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
23
+ .wds-Calendar__option--day:focus,
24
+ .wds-Calendar__option--month:focus,
25
+ .wds-Calendar__option--year:focus {
26
+ background-color: var(--color-background-screen-hover);
27
+ }
28
+ .wds-Calendar__option--day.disabled,
29
+ .wds-Calendar__option--month.disabled,
30
+ .wds-Calendar__option--year.disabled,
31
+ .wds-Calendar__option--day[aria-disabled="true"],
32
+ .wds-Calendar__option--month[aria-disabled="true"],
33
+ .wds-Calendar__option--year[aria-disabled="true"] {
34
+ --ring-outline-color: var(--color-sentiment-content-primary);
35
+ color: #768e9c;
36
+ color: var(--color-content-tertiary);
37
+ cursor: not-allowed;
38
+ }
39
+ .wds-Calendar__option--day.disabled:hover,
40
+ .wds-Calendar__option--month.disabled:hover,
41
+ .wds-Calendar__option--year.disabled:hover,
42
+ .wds-Calendar__option--day[aria-disabled="true"]:hover,
43
+ .wds-Calendar__option--month[aria-disabled="true"]:hover,
44
+ .wds-Calendar__option--year[aria-disabled="true"]:hover,
45
+ .wds-Calendar__option--day.disabled:focus,
46
+ .wds-Calendar__option--month.disabled:focus,
47
+ .wds-Calendar__option--year.disabled:focus,
48
+ .wds-Calendar__option--day[aria-disabled="true"]:focus,
49
+ .wds-Calendar__option--month[aria-disabled="true"]:focus,
50
+ .wds-Calendar__option--year[aria-disabled="true"]:focus {
51
+ filter: initial;
52
+ opacity: 1;
53
+ opacity: initial;
54
+ background-color: var(--color-sentiment-background-surface);
55
+ color: var(--color-sentiment-content-primary);
56
+ }
57
+ .wds-Calendar__option--day.disabled.active,
58
+ .wds-Calendar__option--month.disabled.active,
59
+ .wds-Calendar__option--year.disabled.active,
60
+ .wds-Calendar__option--day[aria-disabled="true"].active,
61
+ .wds-Calendar__option--month[aria-disabled="true"].active,
62
+ .wds-Calendar__option--year[aria-disabled="true"].active,
63
+ .wds-Calendar__option--day.disabled.active:hover,
64
+ .wds-Calendar__option--month.disabled.active:hover,
65
+ .wds-Calendar__option--year.disabled.active:hover,
66
+ .wds-Calendar__option--day[aria-disabled="true"].active:hover,
67
+ .wds-Calendar__option--month[aria-disabled="true"].active:hover,
68
+ .wds-Calendar__option--year[aria-disabled="true"].active:hover,
69
+ .wds-Calendar__option--day.disabled.active:active,
70
+ .wds-Calendar__option--month.disabled.active:active,
71
+ .wds-Calendar__option--year.disabled.active:active,
72
+ .wds-Calendar__option--day[aria-disabled="true"].active:active,
73
+ .wds-Calendar__option--month[aria-disabled="true"].active:active,
74
+ .wds-Calendar__option--year[aria-disabled="true"].active:active,
75
+ .wds-Calendar__option--day.disabled.active:focus,
76
+ .wds-Calendar__option--month.disabled.active:focus,
77
+ .wds-Calendar__option--year.disabled.active:focus,
78
+ .wds-Calendar__option--day[aria-disabled="true"].active:focus,
79
+ .wds-Calendar__option--month[aria-disabled="true"].active:focus,
80
+ .wds-Calendar__option--year[aria-disabled="true"].active:focus {
81
+ filter: initial;
82
+ opacity: 1;
83
+ opacity: initial;
84
+ background-color: var(--color-sentiment-interactive-primary);
85
+ color: var(--color-sentiment-interactive-secondary);
86
+ }
87
+ .wds-Calendar__option--day.disabled.today,
88
+ .wds-Calendar__option--month.disabled.today,
89
+ .wds-Calendar__option--year.disabled.today,
90
+ .wds-Calendar__option--day[aria-disabled="true"].today,
91
+ .wds-Calendar__option--month[aria-disabled="true"].today,
92
+ .wds-Calendar__option--year[aria-disabled="true"].today {
93
+ text-decoration-color: #768e9c;
94
+ text-decoration-color: var(--color-content-tertiary);
95
+ }
96
+ .wds-Calendar__option--day {
50
97
  height: 40px;
51
98
  height: var(--size-40);
52
99
  border-radius: 9999px;
@@ -60,17 +107,45 @@
60
107
  align-items: center;
61
108
  justify-content: center;
62
109
  }
63
- .tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
110
+ .wds-Calendar__option--day.today {
64
111
  -webkit-text-decoration: underline;
65
112
  text-decoration: underline;
66
113
  text-decoration-thickness: 2px;
67
114
  text-underline-offset: 4px;
68
115
  }
69
- .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
70
- .tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
116
+ .tw-date-lookup-calendar {
117
+ min-width: 300px;
118
+ text-align: center;
119
+ table-layout: fixed;
120
+ border: none;
121
+ background-color: inherit;
122
+ }
123
+ .tw-date-lookup-calendar thead {
124
+ background-color: transparent;
125
+ background-color: initial;
126
+ }
127
+ .tw-date-lookup-calendar > tbody > tr > td.weekend button {
128
+ color: #5d7079;
129
+ color: var(--color-content-secondary);
130
+ }
131
+ .tw-date-lookup-calendar > tbody > tr > td {
132
+ border: none;
133
+ padding: 4px;
134
+ padding: var(--size-4);
135
+ }
136
+ @media (max-width: 320px) {
137
+ .tw-date-lookup-calendar > tbody > tr > td {
138
+ padding: 0;
139
+ }
140
+ }
141
+ .tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
142
+ padding: 1px;
143
+ }
144
+ .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
145
+ .tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
71
146
  background-color: var(--color-background-screen-hover);
72
147
  }
73
- .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
148
+ .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active:not([aria-disabled="true"]) {
74
149
  background-color: var(--color-interactive-primary);
75
150
  color: var(--color-interactive-contrast);
76
151
  }
@@ -0,0 +1,115 @@
1
+ .wds-Calendar__option--day,
2
+ .wds-Calendar__option--month,
3
+ .wds-Calendar__option--year {
4
+ width: 100%;
5
+ padding: 4px 0;
6
+ padding: var(--size-4) 0;
7
+ border: transparent;
8
+ border-radius: 10px;
9
+ border-radius: var(--radius-small);
10
+ background-color: transparent;
11
+ font-weight: 600;
12
+ font-weight: var(--font-weight-semi-bold);
13
+ color: #37517e;
14
+ color: var(--color-content-primary);
15
+ }
16
+ @media (max-width: 320px) {
17
+ .wds-Calendar__option--day,
18
+ .wds-Calendar__option--month,
19
+ .wds-Calendar__option--year {
20
+ padding: 0;
21
+ }
22
+ }
23
+ .wds-Calendar__option--day:focus,
24
+ .wds-Calendar__option--month:focus,
25
+ .wds-Calendar__option--year:focus {
26
+ background-color: var(--color-background-screen-hover);
27
+ }
28
+ .wds-Calendar__option--day.disabled,
29
+ .wds-Calendar__option--month.disabled,
30
+ .wds-Calendar__option--year.disabled,
31
+ .wds-Calendar__option--day[aria-disabled="true"],
32
+ .wds-Calendar__option--month[aria-disabled="true"],
33
+ .wds-Calendar__option--year[aria-disabled="true"] {
34
+ --ring-outline-color: var(--color-sentiment-content-primary);
35
+ color: #768e9c;
36
+ color: var(--color-content-tertiary);
37
+ cursor: not-allowed;
38
+ }
39
+ .wds-Calendar__option--day.disabled:hover,
40
+ .wds-Calendar__option--month.disabled:hover,
41
+ .wds-Calendar__option--year.disabled:hover,
42
+ .wds-Calendar__option--day[aria-disabled="true"]:hover,
43
+ .wds-Calendar__option--month[aria-disabled="true"]:hover,
44
+ .wds-Calendar__option--year[aria-disabled="true"]:hover,
45
+ .wds-Calendar__option--day.disabled:focus,
46
+ .wds-Calendar__option--month.disabled:focus,
47
+ .wds-Calendar__option--year.disabled:focus,
48
+ .wds-Calendar__option--day[aria-disabled="true"]:focus,
49
+ .wds-Calendar__option--month[aria-disabled="true"]:focus,
50
+ .wds-Calendar__option--year[aria-disabled="true"]:focus {
51
+ filter: initial;
52
+ opacity: 1;
53
+ opacity: initial;
54
+ background-color: var(--color-sentiment-background-surface);
55
+ color: var(--color-sentiment-content-primary);
56
+ }
57
+ .wds-Calendar__option--day.disabled.active,
58
+ .wds-Calendar__option--month.disabled.active,
59
+ .wds-Calendar__option--year.disabled.active,
60
+ .wds-Calendar__option--day[aria-disabled="true"].active,
61
+ .wds-Calendar__option--month[aria-disabled="true"].active,
62
+ .wds-Calendar__option--year[aria-disabled="true"].active,
63
+ .wds-Calendar__option--day.disabled.active:hover,
64
+ .wds-Calendar__option--month.disabled.active:hover,
65
+ .wds-Calendar__option--year.disabled.active:hover,
66
+ .wds-Calendar__option--day[aria-disabled="true"].active:hover,
67
+ .wds-Calendar__option--month[aria-disabled="true"].active:hover,
68
+ .wds-Calendar__option--year[aria-disabled="true"].active:hover,
69
+ .wds-Calendar__option--day.disabled.active:active,
70
+ .wds-Calendar__option--month.disabled.active:active,
71
+ .wds-Calendar__option--year.disabled.active:active,
72
+ .wds-Calendar__option--day[aria-disabled="true"].active:active,
73
+ .wds-Calendar__option--month[aria-disabled="true"].active:active,
74
+ .wds-Calendar__option--year[aria-disabled="true"].active:active,
75
+ .wds-Calendar__option--day.disabled.active:focus,
76
+ .wds-Calendar__option--month.disabled.active:focus,
77
+ .wds-Calendar__option--year.disabled.active:focus,
78
+ .wds-Calendar__option--day[aria-disabled="true"].active:focus,
79
+ .wds-Calendar__option--month[aria-disabled="true"].active:focus,
80
+ .wds-Calendar__option--year[aria-disabled="true"].active:focus {
81
+ filter: initial;
82
+ opacity: 1;
83
+ opacity: initial;
84
+ background-color: var(--color-sentiment-interactive-primary);
85
+ color: var(--color-sentiment-interactive-secondary);
86
+ }
87
+ .wds-Calendar__option--day.disabled.today,
88
+ .wds-Calendar__option--month.disabled.today,
89
+ .wds-Calendar__option--year.disabled.today,
90
+ .wds-Calendar__option--day[aria-disabled="true"].today,
91
+ .wds-Calendar__option--month[aria-disabled="true"].today,
92
+ .wds-Calendar__option--year[aria-disabled="true"].today {
93
+ text-decoration-color: #768e9c;
94
+ text-decoration-color: var(--color-content-tertiary);
95
+ }
96
+ .wds-Calendar__option--day {
97
+ height: 40px;
98
+ height: var(--size-40);
99
+ border-radius: 9999px;
100
+ border-radius: var(--radius-full);
101
+ line-height: 40px;
102
+ line-height: var(--size-40);
103
+ width: 40px;
104
+ width: var(--size-40);
105
+ padding: 0;
106
+ display: inline-flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ }
110
+ .wds-Calendar__option--day.today {
111
+ -webkit-text-decoration: underline;
112
+ text-decoration: underline;
113
+ text-decoration-thickness: 2px;
114
+ text-underline-offset: 4px;
115
+ }
@@ -46,36 +46,6 @@
46
46
  margin-bottom: 8px;
47
47
  margin-bottom: var(--size-8);
48
48
  }
49
- .tw-definition-list.tw-definition-list--horizontal-right-aligned {
50
- display: grid;
51
- grid-template-columns: minmax(0, max-content) minmax(0, max-content);
52
- grid-column-gap: 52px;
53
- grid-column-gap: var(--size-52);
54
- -moz-column-gap: 52px;
55
- column-gap: 52px;
56
- -moz-column-gap: var(--size-52);
57
- column-gap: var(--size-52);
58
- justify-content: space-between;
59
- }
60
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item {
61
- display: grid;
62
- grid-template-columns: subgrid;
63
- grid-column: 1 / -1;
64
- }
65
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
66
- max-width: none;
67
- min-width: 0;
68
- word-wrap: anywhere;
69
- margin-right: 0;
70
- }
71
- [dir="rtl"] .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
72
- margin-left: 0;
73
- margin-right: 0;
74
- margin-right: initial;
75
- }
76
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dd {
77
- min-width: 0;
78
- }
79
49
  }
80
50
  .np-theme-personal .tw-definition-list dt {
81
51
  color: #5d7079;
@@ -27269,46 +27269,12 @@ a[data-toggle="tooltip"] {
27269
27269
  pointer-events: auto;
27270
27270
  }
27271
27271
 
27272
- .tw-date-lookup-calendar {
27273
- min-width: 300px;
27274
- text-align: center;
27275
- table-layout: fixed;
27276
- border: none;
27277
- background-color: inherit;
27278
- }
27279
-
27280
- .tw-date-lookup-calendar thead {
27281
- background-color: transparent;
27282
- background-color: initial;
27283
- }
27284
-
27285
- .tw-date-lookup-calendar > tbody > tr > td.weekend button {
27286
- color: #5d7079;
27287
- color: var(--color-content-secondary);
27288
- }
27289
-
27290
- .tw-date-lookup-calendar > tbody > tr > td {
27291
- border: none;
27292
- padding: 4px;
27293
- padding: var(--size-4);
27294
- }
27295
-
27296
- @media (max-width: 320px) {
27297
- .tw-date-lookup-calendar > tbody > tr > td {
27298
- padding: 0;
27299
- }
27300
- }
27301
-
27302
- .tw-date-lookup-calendar > tbody > tr > td:has(.tw-date-lookup-day-option) {
27303
- padding: 1px;
27304
- }
27305
-
27306
- .tw-date-lookup-calendar > tbody > tr > td button {
27272
+ .wds-Calendar__option--day,
27273
+ .wds-Calendar__option--month,
27274
+ .wds-Calendar__option--year {
27307
27275
  width: 100%;
27308
27276
  padding: 4px 0;
27309
27277
  padding: var(--size-4) 0;
27310
- color: #0097c7;
27311
- color: var(--color-content-accent);
27312
27278
  border: transparent;
27313
27279
  border-radius: 10px;
27314
27280
  border-radius: var(--radius-small);
@@ -27320,12 +27286,92 @@ a[data-toggle="tooltip"] {
27320
27286
  }
27321
27287
 
27322
27288
  @media (max-width: 320px) {
27323
- .tw-date-lookup-calendar > tbody > tr > td button {
27289
+ .wds-Calendar__option--day,
27290
+ .wds-Calendar__option--month,
27291
+ .wds-Calendar__option--year {
27324
27292
  padding: 0;
27325
27293
  }
27326
27294
  }
27327
27295
 
27328
- .tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
27296
+ .wds-Calendar__option--day:focus,
27297
+ .wds-Calendar__option--month:focus,
27298
+ .wds-Calendar__option--year:focus {
27299
+ background-color: var(--color-background-screen-hover);
27300
+ }
27301
+
27302
+ .wds-Calendar__option--day.disabled,
27303
+ .wds-Calendar__option--month.disabled,
27304
+ .wds-Calendar__option--year.disabled,
27305
+ .wds-Calendar__option--day[aria-disabled="true"],
27306
+ .wds-Calendar__option--month[aria-disabled="true"],
27307
+ .wds-Calendar__option--year[aria-disabled="true"] {
27308
+ --ring-outline-color: var(--color-sentiment-content-primary);
27309
+ color: #768e9c;
27310
+ color: var(--color-content-tertiary);
27311
+ cursor: not-allowed;
27312
+ }
27313
+
27314
+ .wds-Calendar__option--day.disabled:hover,
27315
+ .wds-Calendar__option--month.disabled:hover,
27316
+ .wds-Calendar__option--year.disabled:hover,
27317
+ .wds-Calendar__option--day[aria-disabled="true"]:hover,
27318
+ .wds-Calendar__option--month[aria-disabled="true"]:hover,
27319
+ .wds-Calendar__option--year[aria-disabled="true"]:hover,
27320
+ .wds-Calendar__option--day.disabled:focus,
27321
+ .wds-Calendar__option--month.disabled:focus,
27322
+ .wds-Calendar__option--year.disabled:focus,
27323
+ .wds-Calendar__option--day[aria-disabled="true"]:focus,
27324
+ .wds-Calendar__option--month[aria-disabled="true"]:focus,
27325
+ .wds-Calendar__option--year[aria-disabled="true"]:focus {
27326
+ filter: initial;
27327
+ opacity: 1;
27328
+ opacity: initial;
27329
+ background-color: var(--color-sentiment-background-surface);
27330
+ color: var(--color-sentiment-content-primary);
27331
+ }
27332
+
27333
+ .wds-Calendar__option--day.disabled.active,
27334
+ .wds-Calendar__option--month.disabled.active,
27335
+ .wds-Calendar__option--year.disabled.active,
27336
+ .wds-Calendar__option--day[aria-disabled="true"].active,
27337
+ .wds-Calendar__option--month[aria-disabled="true"].active,
27338
+ .wds-Calendar__option--year[aria-disabled="true"].active,
27339
+ .wds-Calendar__option--day.disabled.active:hover,
27340
+ .wds-Calendar__option--month.disabled.active:hover,
27341
+ .wds-Calendar__option--year.disabled.active:hover,
27342
+ .wds-Calendar__option--day[aria-disabled="true"].active:hover,
27343
+ .wds-Calendar__option--month[aria-disabled="true"].active:hover,
27344
+ .wds-Calendar__option--year[aria-disabled="true"].active:hover,
27345
+ .wds-Calendar__option--day.disabled.active:active,
27346
+ .wds-Calendar__option--month.disabled.active:active,
27347
+ .wds-Calendar__option--year.disabled.active:active,
27348
+ .wds-Calendar__option--day[aria-disabled="true"].active:active,
27349
+ .wds-Calendar__option--month[aria-disabled="true"].active:active,
27350
+ .wds-Calendar__option--year[aria-disabled="true"].active:active,
27351
+ .wds-Calendar__option--day.disabled.active:focus,
27352
+ .wds-Calendar__option--month.disabled.active:focus,
27353
+ .wds-Calendar__option--year.disabled.active:focus,
27354
+ .wds-Calendar__option--day[aria-disabled="true"].active:focus,
27355
+ .wds-Calendar__option--month[aria-disabled="true"].active:focus,
27356
+ .wds-Calendar__option--year[aria-disabled="true"].active:focus {
27357
+ filter: initial;
27358
+ opacity: 1;
27359
+ opacity: initial;
27360
+ background-color: var(--color-sentiment-interactive-primary);
27361
+ color: var(--color-sentiment-interactive-secondary);
27362
+ }
27363
+
27364
+ .wds-Calendar__option--day.disabled.today,
27365
+ .wds-Calendar__option--month.disabled.today,
27366
+ .wds-Calendar__option--year.disabled.today,
27367
+ .wds-Calendar__option--day[aria-disabled="true"].today,
27368
+ .wds-Calendar__option--month[aria-disabled="true"].today,
27369
+ .wds-Calendar__option--year[aria-disabled="true"].today {
27370
+ text-decoration-color: #768e9c;
27371
+ text-decoration-color: var(--color-content-tertiary);
27372
+ }
27373
+
27374
+ .wds-Calendar__option--day {
27329
27375
  height: 40px;
27330
27376
  height: var(--size-40);
27331
27377
  border-radius: 9999px;
@@ -27340,19 +27386,53 @@ a[data-toggle="tooltip"] {
27340
27386
  justify-content: center;
27341
27387
  }
27342
27388
 
27343
- .tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
27389
+ .wds-Calendar__option--day.today {
27344
27390
  -webkit-text-decoration: underline;
27345
27391
  text-decoration: underline;
27346
27392
  text-decoration-thickness: 2px;
27347
27393
  text-underline-offset: 4px;
27348
27394
  }
27349
27395
 
27350
- .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
27351
- .tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
27396
+ .tw-date-lookup-calendar {
27397
+ min-width: 300px;
27398
+ text-align: center;
27399
+ table-layout: fixed;
27400
+ border: none;
27401
+ background-color: inherit;
27402
+ }
27403
+
27404
+ .tw-date-lookup-calendar thead {
27405
+ background-color: transparent;
27406
+ background-color: initial;
27407
+ }
27408
+
27409
+ .tw-date-lookup-calendar > tbody > tr > td.weekend button {
27410
+ color: #5d7079;
27411
+ color: var(--color-content-secondary);
27412
+ }
27413
+
27414
+ .tw-date-lookup-calendar > tbody > tr > td {
27415
+ border: none;
27416
+ padding: 4px;
27417
+ padding: var(--size-4);
27418
+ }
27419
+
27420
+ @media (max-width: 320px) {
27421
+ .tw-date-lookup-calendar > tbody > tr > td {
27422
+ padding: 0;
27423
+ }
27424
+ }
27425
+
27426
+ .tw-date-lookup-calendar > tbody > tr > td:has(.wds-Calendar__option--day) {
27427
+ padding: 1px;
27428
+ }
27429
+
27430
+ .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus:not(.disabled):not([aria-disabled="true"]),
27431
+ .tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled):not([aria-disabled="true"]) {
27352
27432
  background-color: var(--color-background-screen-hover);
27353
27433
  }
27354
27434
 
27355
- .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
27435
+ .tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active:not([aria-disabled="true"]) {
27356
27436
  background-color: var(--color-interactive-primary);
27357
27437
  color: var(--color-interactive-contrast);
27358
27438
  }
@@ -28611,36 +28691,6 @@ button.np-option {
28611
28691
  margin-bottom: 8px;
28612
28692
  margin-bottom: var(--size-8);
28613
28693
  }
28614
- .tw-definition-list.tw-definition-list--horizontal-right-aligned {
28615
- display: grid;
28616
- grid-template-columns: minmax(0, max-content) minmax(0, max-content);
28617
- grid-column-gap: 52px;
28618
- grid-column-gap: var(--size-52);
28619
- -moz-column-gap: 52px;
28620
- column-gap: 52px;
28621
- -moz-column-gap: var(--size-52);
28622
- column-gap: var(--size-52);
28623
- justify-content: space-between;
28624
- }
28625
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item {
28626
- display: grid;
28627
- grid-template-columns: subgrid;
28628
- grid-column: 1 / -1;
28629
- }
28630
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
28631
- max-width: none;
28632
- min-width: 0;
28633
- word-wrap: anywhere;
28634
- margin-right: 0;
28635
- }
28636
- [dir="rtl"] .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
28637
- margin-left: 0;
28638
- margin-right: 0;
28639
- margin-right: initial;
28640
- }
28641
- .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dd {
28642
- min-width: 0;
28643
- }
28644
28694
  }
28645
28695
 
28646
28696
  .np-theme-personal .tw-definition-list dt {
@@ -1,13 +1,26 @@
1
1
  import { MonthFormat } from '../common';
2
+ import type { DateChangeMeta, DisabledRules } from './Calendar.types';
2
3
  export interface CalendarProps {
4
+ /** The currently selected date, or `null` for no selection. */
3
5
  value: Date | null;
6
+ /** Earliest selectable date (inclusive). Dates before this are interactive but not selectable, and show a boundary prompt. */
4
7
  min?: Date | null;
8
+ /** Latest selectable date (inclusive). Dates after this are interactive but not selectable, and show a boundary prompt. */
5
9
  max?: Date | null;
10
+ /** Month name format in the header. Defaults to `'long'` (e.g. "January"). */
6
11
  monthFormat?: `${MonthFormat}`;
12
+ /** Placeholder text shown in the month/year cells when no date is selected. */
7
13
  placeholder?: string;
8
- onChange: (date: Date | null) => void;
9
- onSelect?: (date: Date) => void;
14
+ /** Rules for disabling specific weekdays, individual dates, or date ranges. The required `reason` is shown in an inline prompt and linked to disabled cells via `aria-describedby` for screen reader accessibility. */
15
+ disabledRules?: DisabledRules;
16
+ /** Called whenever the focused date changes — including disabled and out-of-range dates. `meta.isEnabled` is `false` when the date is not selectable. */
17
+ onDateFocus?: (date: Date | null, meta: DateChangeMeta) => void;
18
+ /** Called when a date is confirmed (click or Enter). Only fires for enabled dates. */
19
+ onChange?: (date: Date | null) => void;
10
20
  }
11
- declare const Calendar: ({ value, min: minProp, max: maxProp, monthFormat, placeholder, onChange, onSelect, }: CalendarProps) => import("react").JSX.Element;
21
+ /**
22
+ * Inline calendar for selecting a single date. Powers [DateLookup](?path=/docs/forms-datelookup--docs).
23
+ */
24
+ declare const Calendar: ({ value, min: minProp, max: maxProp, monthFormat, placeholder, disabledRules, onDateFocus, onChange, }: CalendarProps) => import("react").JSX.Element;
12
25
  export default Calendar;
13
26
  //# sourceMappingURL=Calendar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAOxC,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,WAAW,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACjC;AAED,QAAA,MAAM,QAAQ,GAAI,sFAQf,aAAa,gCAuIf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Calendar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AASxC,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtE,MAAM,WAAW,aAAa;IAC5B,+DAA+D;IAC/D,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,8HAA8H;IAC9H,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,2HAA2H;IAC3H,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC;IAC/B,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uNAAuN;IACvN,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,yJAAyJ;IACzJ,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAChE,sFAAsF;IACtF,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CACxC;AAED;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,wGASf,aAAa,gCAoOf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -34,11 +34,31 @@ declare const _default: {
34
34
  defaultMessage: string;
35
35
  description: string;
36
36
  };
37
+ notAvailable: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
37
42
  goTo20YearView: {
38
43
  id: string;
39
44
  defaultMessage: string;
40
45
  description: string;
41
46
  };
47
+ outOfRangeBetween: {
48
+ id: string;
49
+ defaultMessage: string;
50
+ description: string;
51
+ };
52
+ outOfRangeAfter: {
53
+ id: string;
54
+ defaultMessage: string;
55
+ description: string;
56
+ };
57
+ outOfRangeBefore: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ description: string;
61
+ };
42
62
  };
43
63
  export default _default;
44
64
  //# sourceMappingURL=Calendar.messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.messages.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Calendar.messages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAyCG"}
1
+ {"version":3,"file":"Calendar.messages.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Calendar.messages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA8DG"}
@@ -0,0 +1,32 @@
1
+ export interface DisabledDateRange {
2
+ start: Date;
3
+ end: Date;
4
+ }
5
+ export type WeekDayType = 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun';
6
+ export interface DisabledRules {
7
+ /** Days of the week to disable (e.g. `['sat', 'sun']` for weekends). */
8
+ weekdays?: WeekDayType[];
9
+ /** Specific calendar dates to disable. */
10
+ dates?: Date[];
11
+ /** Inclusive date ranges to disable. */
12
+ ranges?: DisabledDateRange[];
13
+ /**
14
+ * Human-readable explanation shown in an InlinePrompt below the calendar grid when a
15
+ * disabled date is focused or clicked. Required for accessibility: it is linked to
16
+ * disabled cells via `aria-describedby` so screen reader users understand why a date
17
+ * is unavailable. Also used as the prompt text when `min`/`max` out-of-range dates
18
+ * are focused, overriding the built-in default message.
19
+ */
20
+ reason: string;
21
+ }
22
+ export interface DateChangeMeta {
23
+ /** Whether the focused date is selectable (not disabled or out of range). */
24
+ isEnabled: boolean;
25
+ }
26
+ export interface OnDateSelectParams {
27
+ /** The date that was focused or clicked. */
28
+ date: Date;
29
+ /** Whether the date is selectable (not disabled or out of range). */
30
+ isEnabled: boolean;
31
+ }
32
+ //# sourceMappingURL=Calendar.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calendar.types.d.ts","sourceRoot":"","sources":["../../../src/Calendar/Calendar.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;CACX;AAED,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhF,MAAM,WAAW,aAAa;IAC5B,wEAAwE;IACxE,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,wCAAwC;IACxC,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC7B;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,6EAA6E;IAC7E,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,4CAA4C;IAC5C,IAAI,EAAE,IAAI,CAAC;IACX,qEAAqE;IACrE,SAAS,EAAE,OAAO,CAAC;CACpB"}