@arc-ui/components 12.0.0-beta.22 → 12.0.0-beta.23

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 (203) hide show
  1. package/lib/Alert/Alert.cjs +22 -21
  2. package/lib/Alert/Alert.mjs +22 -21
  3. package/lib/Alert/styles.css +1 -1
  4. package/lib/Align/styles.css +1 -1
  5. package/lib/AppButton/styles.css +1 -1
  6. package/lib/Avatar/styles.css +1 -1
  7. package/lib/AvatarGroup/styles.css +1 -1
  8. package/lib/Badge/styles.css +1 -1
  9. package/lib/Banner/Banner.cjs +1 -1
  10. package/lib/Banner/Banner.mjs +1 -1
  11. package/lib/Box/styles.css +1 -1
  12. package/lib/BrandLogo/styles.css +1 -1
  13. package/lib/Breadcrumbs/Breadcrumbs.cjs +12 -3
  14. package/lib/Breadcrumbs/Breadcrumbs.mjs +12 -3
  15. package/lib/Breadcrumbs/styles.css +1 -1
  16. package/lib/Button/styles.css +1 -1
  17. package/lib/ButtonGroup/styles.css +1 -1
  18. package/lib/ButtonV2/styles.css +1 -1
  19. package/lib/Calendar/Calendar.cjs +2 -2
  20. package/lib/Calendar/Calendar.mjs +2 -2
  21. package/lib/Calendar/styles.css +1 -1
  22. package/lib/CardFooter/styles.css +1 -1
  23. package/lib/CardHeading/styles.css +1 -1
  24. package/lib/Carousel/Carousel.cjs +11 -5
  25. package/lib/Carousel/Carousel.mjs +8 -2
  26. package/lib/Carousel/styles.css +1 -1
  27. package/lib/Checkbox/Checkbox.cjs +85 -11
  28. package/lib/Checkbox/Checkbox.mjs +87 -9
  29. package/lib/Checkbox/styles.css +1 -1
  30. package/lib/Columns/styles.css +1 -1
  31. package/lib/ComboBox/ComboBox.cjs +276 -11
  32. package/lib/ComboBox/ComboBox.mjs +279 -10
  33. package/lib/ComboBox/styles.css +1 -1
  34. package/lib/ContentSwitcher/ContentSwitcher.cjs +5 -6
  35. package/lib/ContentSwitcher/ContentSwitcher.mjs +5 -6
  36. package/lib/ContentSwitcher/styles.css +1 -1
  37. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  38. package/lib/DatePicker/DatePicker.cjs +351 -38
  39. package/lib/DatePicker/DatePicker.mjs +329 -17
  40. package/lib/DatePicker/styles.css +1 -1
  41. package/lib/Disclosure/styles.css +1 -1
  42. package/lib/DisclosureMini/styles.css +1 -1
  43. package/lib/Download/styles.css +1 -1
  44. package/lib/Drawer/styles.css +1 -1
  45. package/lib/Elevation/styles.css +1 -1
  46. package/lib/Filter/styles.css +1 -1
  47. package/lib/FormControl/styles.css +1 -1
  48. package/lib/GhostedHeroBanner/styles.css +1 -1
  49. package/lib/GradientPageBackground/GradientPageBackground.cjs +55 -43
  50. package/lib/GradientPageBackground/GradientPageBackground.mjs +55 -43
  51. package/lib/GradientPageBackground/styles.css +1 -1
  52. package/lib/Grid/styles.css +1 -1
  53. package/lib/Group/styles.css +1 -1
  54. package/lib/Heading/styles.css +1 -1
  55. package/lib/HeroBanner/HeroBanner.cjs +1 -1
  56. package/lib/HeroBanner/HeroBanner.mjs +1 -1
  57. package/lib/HeroBanner/styles.css +1 -1
  58. package/lib/HeroButton/HeroButton.cjs +77 -9
  59. package/lib/HeroButton/HeroButton.mjs +80 -8
  60. package/lib/HeroButton/styles.css +1 -1
  61. package/lib/Hidden/styles.css +1 -1
  62. package/lib/HorizontalCard/styles.css +1 -1
  63. package/lib/Icon/styles.css +1 -1
  64. package/lib/Image/styles.css +1 -1
  65. package/lib/ImpactCard/ImpactCard.cjs +3 -3
  66. package/lib/ImpactCard/ImpactCard.mjs +3 -3
  67. package/lib/ImpactCard/styles.css +1 -1
  68. package/lib/InformationCard/InformationCard.cjs +6 -6
  69. package/lib/InformationCard/InformationCard.mjs +6 -6
  70. package/lib/InformationCard/styles.css +1 -1
  71. package/lib/Link/Link.cjs +1 -1
  72. package/lib/Link/Link.mjs +1 -1
  73. package/lib/Link/styles.css +1 -1
  74. package/lib/Markup/styles.css +1 -1
  75. package/lib/MediaCard/MediaCard.cjs +53 -14
  76. package/lib/MediaCard/MediaCard.mjs +55 -12
  77. package/lib/MediaCard/styles.css +1 -1
  78. package/lib/Menu/Menu.cjs +1327 -25
  79. package/lib/Menu/Menu.mjs +1292 -9
  80. package/lib/Menu/styles.css +1 -1
  81. package/lib/Modal/styles.css +1 -1
  82. package/lib/NavigationHeader/NavigationHeader.cjs +743 -16
  83. package/lib/NavigationHeader/NavigationHeader.mjs +734 -7
  84. package/lib/NavigationHeader/styles.css +1 -1
  85. package/lib/Pagination/styles.css +1 -1
  86. package/lib/PaginationSimple/styles.css +1 -1
  87. package/lib/Popover/styles.css +1 -1
  88. package/lib/Poster/styles.css +1 -1
  89. package/lib/ProgressBar/styles.css +1 -1
  90. package/lib/ProgressStepper/styles.css +1 -1
  91. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +138 -7
  92. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +140 -5
  93. package/lib/ProgressStepperOverflow/styles.css +1 -1
  94. package/lib/RadioCardGroup/RadioCardGroup.cjs +48 -7
  95. package/lib/RadioCardGroup/RadioCardGroup.mjs +48 -8
  96. package/lib/RadioCardGroup/styles.css +1 -1
  97. package/lib/RadioGroup/RadioGroup.cjs +50 -8
  98. package/lib/RadioGroup/RadioGroup.mjs +49 -8
  99. package/lib/RadioGroup/styles.css +1 -1
  100. package/lib/Rule/styles.css +1 -1
  101. package/lib/ScrollToTop/styles.css +1 -1
  102. package/lib/Section/Section.cjs +1 -1
  103. package/lib/Section/Section.mjs +1 -1
  104. package/lib/Section/styles.css +1 -1
  105. package/lib/Select/styles.css +1 -1
  106. package/lib/SiteFooter/SiteFooter.cjs +1 -1
  107. package/lib/SiteFooter/SiteFooter.mjs +1 -1
  108. package/lib/SiteFooter/styles.css +1 -1
  109. package/lib/SiteFooterV2/SiteFooterV2.cjs +6 -5
  110. package/lib/SiteFooterV2/SiteFooterV2.mjs +6 -5
  111. package/lib/SiteFooterV2/styles.css +1 -1
  112. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +440 -15
  113. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +435 -11
  114. package/lib/SiteHeaderV2/styles.css +1 -1
  115. package/lib/Skeleton/styles.css +1 -1
  116. package/lib/SkipLink/styles.css +1 -1
  117. package/lib/Spinner/styles.css +1 -1
  118. package/lib/Surface/styles.css +1 -1
  119. package/lib/Switch/styles.css +1 -1
  120. package/lib/TabbedBanner/TabbedBanner.cjs +4 -5
  121. package/lib/TabbedBanner/TabbedBanner.mjs +4 -5
  122. package/lib/TabbedBanner/styles.css +1 -1
  123. package/lib/Tabs/Tabs.mjs +1 -1
  124. package/lib/Tabs/styles.css +1 -1
  125. package/lib/Tag/Tag.cjs +9 -9
  126. package/lib/Tag/Tag.mjs +9 -9
  127. package/lib/Tag/styles.css +1 -1
  128. package/lib/TemplateBanner/TemplateBanner.cjs +1 -1
  129. package/lib/TemplateBanner/TemplateBanner.mjs +1 -1
  130. package/lib/TemplateBanner/styles.css +1 -1
  131. package/lib/Text/styles.css +1 -1
  132. package/lib/TextArea/TextArea.cjs +2 -53
  133. package/lib/TextArea/TextArea.mjs +2 -53
  134. package/lib/TextArea/styles.css +1 -1
  135. package/lib/TextInput/styles.css +1 -1
  136. package/lib/Theme/Theme.cjs +1 -1
  137. package/lib/Theme/Theme.mjs +1 -1
  138. package/lib/Theme/styles.css +1 -1
  139. package/lib/ThemeIcon/styles.css +1 -1
  140. package/lib/ThumbnailSignpost/styles.css +1 -1
  141. package/lib/Toast/styles.css +1 -1
  142. package/lib/Tooltip/styles.css +1 -1
  143. package/lib/Truncate/styles.css +1 -1
  144. package/lib/TypographyCard/TypographyCard.cjs +3 -3
  145. package/lib/TypographyCard/TypographyCard.mjs +3 -3
  146. package/lib/TypographyCard/styles.css +1 -1
  147. package/lib/UniversalHeader/styles.css +1 -1
  148. package/lib/VerticalSpace/styles.css +1 -1
  149. package/lib/VideoPlayer/styles.css +1 -1
  150. package/lib/Visible/styles.css +1 -1
  151. package/lib/VisuallyHidden/styles.css +1 -1
  152. package/lib/_shared/cjs/{Calendar-B-va25n2.cjs → Calendar-Bfdgf5q1.cjs} +1 -1
  153. package/lib/_shared/cjs/{ContentSwitcherList-bCEzIPN2.cjs → ContentSwitcherList-pcYtuT6L.cjs} +8 -0
  154. package/lib/_shared/cjs/{Link-7xUgVf1I.cjs → Link-C3OSQIIk.cjs} +3 -1
  155. package/lib/_shared/cjs/{Section-wUVdzmGA.cjs → Section-Bz2fwj8Z.cjs} +2 -2
  156. package/lib/_shared/cjs/{TemplateBanner-CImrJ9ON.cjs → TemplateBanner-COymAI91.cjs} +2 -2
  157. package/lib/_shared/cjs/{arc-breakpoints-DWUgmeLA.cjs → arc-breakpoints-CS8JVk5T.cjs} +1 -1
  158. package/lib/_shared/cjs/{index.es-DlNskPlN.cjs → index.es-fkulh7qu.cjs} +1 -1
  159. package/lib/_shared/esm/{Calendar-Bd2_eT1Y.mjs → Calendar-Drh_NJ9I.mjs} +1 -1
  160. package/lib/_shared/esm/{ContentSwitcherList-bCQz0qkU.mjs → ContentSwitcherList-DwHfU3no.mjs} +10 -3
  161. package/lib/_shared/esm/{Link-Biyg9qBH.mjs → Link-DxjGH_7f.mjs} +3 -1
  162. package/lib/_shared/esm/{Section-DDygQ5Az.mjs → Section-7InCvzfh.mjs} +2 -2
  163. package/lib/_shared/esm/{TemplateBanner-DeHjliNP.mjs → TemplateBanner-Dkgzu3A5.mjs} +2 -2
  164. package/lib/_shared/esm/{arc-breakpoints-D5hR5m3t.mjs → arc-breakpoints-D7Ie4kBt.mjs} +1 -1
  165. package/lib/_shared/esm/{index-BDWwJ5x2.mjs → index-BWkI4Dwz.mjs} +1 -1
  166. package/lib/_shared/esm/{index.es-C3WqfFKH.mjs → index.es-CtRkzfKP.mjs} +2 -2
  167. package/lib/index.cjs +300 -283
  168. package/lib/index.cjs.map +1 -1
  169. package/lib/index.d.cts +28 -3
  170. package/lib/index.d.mts +28 -3
  171. package/lib/index.js.map +1 -1
  172. package/lib/index.mjs +301 -284
  173. package/lib/index.mjs.map +1 -1
  174. package/lib/styles.css +10 -10
  175. package/package.json +8 -8
  176. package/lib/_shared/cjs/BreadcrumbsLink-CDmk3Y3m.cjs +0 -18
  177. package/lib/_shared/cjs/Checkbox-DfZMjO1Y.cjs +0 -88
  178. package/lib/_shared/cjs/ComboBox-BGUhlqx1.cjs +0 -281
  179. package/lib/_shared/cjs/ContentSwitcherTab-B387Qs3I.cjs +0 -14
  180. package/lib/_shared/cjs/DatePicker-Dt4faA_N.cjs +0 -334
  181. package/lib/_shared/cjs/HeroButton-CrzkTUwP.cjs +0 -82
  182. package/lib/_shared/cjs/MediaCard-BEZFbiYO.cjs +0 -57
  183. package/lib/_shared/cjs/MenuItemMultiLevelContent-vLr6hSBm.cjs +0 -1328
  184. package/lib/_shared/cjs/ProgressStepperOverflow-BAGZNC26.cjs +0 -142
  185. package/lib/_shared/cjs/RadioCardGroupInput-CeUM3yPS.cjs +0 -53
  186. package/lib/_shared/cjs/RadioGroupInput-w2qkfsnG.cjs +0 -54
  187. package/lib/_shared/cjs/SiteHeaderV2NavItemWithSubNav-CagFKPEa.cjs +0 -445
  188. package/lib/_shared/cjs/kebabCase-D5yA6u-V.cjs +0 -743
  189. package/lib/_shared/cjs/keynames-Cx13-hWr.cjs +0 -8
  190. package/lib/_shared/esm/BreadcrumbsLink-BxTurGNa.mjs +0 -16
  191. package/lib/_shared/esm/Checkbox-CwOHzlQF.mjs +0 -86
  192. package/lib/_shared/esm/ComboBox-CRlJjeev.mjs +0 -279
  193. package/lib/_shared/esm/ContentSwitcherTab-CfC3PGeZ.mjs +0 -12
  194. package/lib/_shared/esm/DatePicker-DT4OEzxP.mjs +0 -324
  195. package/lib/_shared/esm/HeroButton-jdjjV_Gf.mjs +0 -80
  196. package/lib/_shared/esm/MediaCard-DqMaNWsE.mjs +0 -55
  197. package/lib/_shared/esm/MenuItemMultiLevelContent-JTOHqpzg.mjs +0 -1296
  198. package/lib/_shared/esm/ProgressStepperOverflow-fPkLltVO.mjs +0 -140
  199. package/lib/_shared/esm/RadioCardGroupInput-D7W28geB.mjs +0 -50
  200. package/lib/_shared/esm/RadioGroupInput-zAWSV29m.mjs +0 -50
  201. package/lib/_shared/esm/SiteHeaderV2NavItemWithSubNav-CxGwdV6u.mjs +0 -439
  202. package/lib/_shared/esm/kebabCase-CCEMRBfd.mjs +0 -737
  203. package/lib/_shared/esm/keynames-B5whqsjh.mjs +0 -8
@@ -1,743 +0,0 @@
1
- 'use strict';
2
-
3
- var filterAttrs = require('./filter-attrs-eK6E_34o.cjs');
4
- var React = require('react');
5
- var index = require('./index-CTlXMLug.cjs');
6
- var suffixModifier = require('./suffix-modifier-DLUGR-yG.cjs');
7
- var Surface = require('./Surface-BFx1yNsq.cjs');
8
- var ThemeIcon = require('./ThemeIcon-BoxbjTaQ.cjs');
9
- var isSymbol = require('./isSymbol-BGrHFUbV.cjs');
10
-
11
- var NavigationHeaderButton = React.forwardRef(function (_a, ref) {
12
- var isActive = _a.isActive, children = _a.children, onClick = _a.onClick, _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, props = filterAttrs.__rest(_a, ["isActive", "children", "onClick", "isPadded"]);
13
- var surface = React.useContext(Surface.Context).surface;
14
- return (React.createElement("button", filterAttrs.__assign({}, props, { ref: ref, onClick: onClick, className: index.classNames("arc-NavigationHeaderButton", suffixModifier.suffixModifier("arc-NavigationHeaderButton--on", surface), {
15
- "arc-NavigationHeaderButton--active": isActive,
16
- "arc-NavigationHeaderButton--padded": isPadded,
17
- }) }), children));
18
- });
19
-
20
- var NavigationHeaderCloseButton = React.forwardRef(function (_a, ref) {
21
- var onClick = _a.onClick, props = filterAttrs.__rest(_a, ["onClick"]);
22
- return (React.createElement("button", filterAttrs.__assign({}, props, { ref: ref, "aria-label": "close", onClick: onClick, className: "arc-NavigationHeaderCloseButton" }),
23
- React.createElement(ThemeIcon.ThemeIcon, { size: 32, icon: "navigationHeaderClose" })));
24
- });
25
-
26
- var NavigationHeaderContext = React.createContext(null);
27
-
28
- /*! https://mths.be/cssesc v3.0.0 by @mathias */
29
-
30
- var cssesc_1;
31
- var hasRequiredCssesc;
32
-
33
- function requireCssesc () {
34
- if (hasRequiredCssesc) return cssesc_1;
35
- hasRequiredCssesc = 1;
36
-
37
- var object = {};
38
- var hasOwnProperty = object.hasOwnProperty;
39
- var merge = function merge(options, defaults) {
40
- if (!options) {
41
- return defaults;
42
- }
43
- var result = {};
44
- for (var key in defaults) {
45
- // `if (defaults.hasOwnProperty(key) { … }` is not needed here, since
46
- // only recognized option names are used.
47
- result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];
48
- }
49
- return result;
50
- };
51
-
52
- var regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/;
53
- var regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/;
54
- var regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;
55
-
56
- // https://mathiasbynens.be/notes/css-escapes#css
57
- var cssesc = function cssesc(string, options) {
58
- options = merge(options, cssesc.options);
59
- if (options.quotes != 'single' && options.quotes != 'double') {
60
- options.quotes = 'single';
61
- }
62
- var quote = options.quotes == 'double' ? '"' : '\'';
63
- var isIdentifier = options.isIdentifier;
64
-
65
- var firstChar = string.charAt(0);
66
- var output = '';
67
- var counter = 0;
68
- var length = string.length;
69
- while (counter < length) {
70
- var character = string.charAt(counter++);
71
- var codePoint = character.charCodeAt();
72
- var value = void 0;
73
- // If it’s not a printable ASCII character…
74
- if (codePoint < 0x20 || codePoint > 0x7E) {
75
- if (codePoint >= 0xD800 && codePoint <= 0xDBFF && counter < length) {
76
- // It’s a high surrogate, and there is a next character.
77
- var extra = string.charCodeAt(counter++);
78
- if ((extra & 0xFC00) == 0xDC00) {
79
- // next character is low surrogate
80
- codePoint = ((codePoint & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000;
81
- } else {
82
- // It’s an unmatched surrogate; only append this code unit, in case
83
- // the next code unit is the high surrogate of a surrogate pair.
84
- counter--;
85
- }
86
- }
87
- value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
88
- } else {
89
- if (options.escapeEverything) {
90
- if (regexAnySingleEscape.test(character)) {
91
- value = '\\' + character;
92
- } else {
93
- value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
94
- }
95
- } else if (/[\t\n\f\r\x0B]/.test(character)) {
96
- value = '\\' + codePoint.toString(16).toUpperCase() + ' ';
97
- } else if (character == '\\' || !isIdentifier && (character == '"' && quote == character || character == '\'' && quote == character) || isIdentifier && regexSingleEscape.test(character)) {
98
- value = '\\' + character;
99
- } else {
100
- value = character;
101
- }
102
- }
103
- output += value;
104
- }
105
-
106
- if (isIdentifier) {
107
- if (/^-[-\d]/.test(output)) {
108
- output = '\\-' + output.slice(1);
109
- } else if (/\d/.test(firstChar)) {
110
- output = '\\3' + firstChar + ' ' + output.slice(1);
111
- }
112
- }
113
-
114
- // Remove spaces after `\HEX` escapes that are not followed by a hex digit,
115
- // since they’re redundant. Note that this is only possible if the escape
116
- // sequence isn’t preceded by an odd number of backslashes.
117
- output = output.replace(regexExcessiveSpaces, function ($0, $1, $2) {
118
- if ($1 && $1.length % 2) {
119
- // It’s not safe to remove the space, so don’t.
120
- return $0;
121
- }
122
- // Strip the space.
123
- return ($1 || '') + $2;
124
- });
125
-
126
- if (!isIdentifier && options.wrap) {
127
- return quote + output + quote;
128
- }
129
- return output;
130
- };
131
-
132
- // Expose default options (so they can be overridden globally).
133
- cssesc.options = {
134
- 'escapeEverything': false,
135
- 'isIdentifier': false,
136
- 'quotes': 'single',
137
- 'wrap': false
138
- };
139
-
140
- cssesc.version = '3.0.0';
141
-
142
- cssesc_1 = cssesc;
143
- return cssesc_1;
144
- }
145
-
146
- var cssescExports = requireCssesc();
147
- var cssEscape = /*@__PURE__*/index.getDefaultExportFromCjs(cssescExports);
148
-
149
- /**
150
- * A specialized version of `_.reduce` for arrays without support for
151
- * iteratee shorthands.
152
- *
153
- * @private
154
- * @param {Array} [array] The array to iterate over.
155
- * @param {Function} iteratee The function invoked per iteration.
156
- * @param {*} [accumulator] The initial value.
157
- * @param {boolean} [initAccum] Specify using the first element of `array` as
158
- * the initial value.
159
- * @returns {*} Returns the accumulated value.
160
- */
161
-
162
- var _arrayReduce;
163
- var hasRequired_arrayReduce;
164
-
165
- function require_arrayReduce () {
166
- if (hasRequired_arrayReduce) return _arrayReduce;
167
- hasRequired_arrayReduce = 1;
168
- function arrayReduce(array, iteratee, accumulator, initAccum) {
169
- var index = -1,
170
- length = array == null ? 0 : array.length;
171
-
172
- if (initAccum && length) {
173
- accumulator = array[++index];
174
- }
175
- while (++index < length) {
176
- accumulator = iteratee(accumulator, array[index], index, array);
177
- }
178
- return accumulator;
179
- }
180
-
181
- _arrayReduce = arrayReduce;
182
- return _arrayReduce;
183
- }
184
-
185
- /**
186
- * The base implementation of `_.propertyOf` without support for deep paths.
187
- *
188
- * @private
189
- * @param {Object} object The object to query.
190
- * @returns {Function} Returns the new accessor function.
191
- */
192
-
193
- var _basePropertyOf;
194
- var hasRequired_basePropertyOf;
195
-
196
- function require_basePropertyOf () {
197
- if (hasRequired_basePropertyOf) return _basePropertyOf;
198
- hasRequired_basePropertyOf = 1;
199
- function basePropertyOf(object) {
200
- return function(key) {
201
- return object == null ? undefined : object[key];
202
- };
203
- }
204
-
205
- _basePropertyOf = basePropertyOf;
206
- return _basePropertyOf;
207
- }
208
-
209
- var _deburrLetter;
210
- var hasRequired_deburrLetter;
211
-
212
- function require_deburrLetter () {
213
- if (hasRequired_deburrLetter) return _deburrLetter;
214
- hasRequired_deburrLetter = 1;
215
- var basePropertyOf = require_basePropertyOf();
216
-
217
- /** Used to map Latin Unicode letters to basic Latin letters. */
218
- var deburredLetters = {
219
- // Latin-1 Supplement block.
220
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
221
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
222
- '\xc7': 'C', '\xe7': 'c',
223
- '\xd0': 'D', '\xf0': 'd',
224
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
225
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
226
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
227
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
228
- '\xd1': 'N', '\xf1': 'n',
229
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
230
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
231
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
232
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
233
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
234
- '\xc6': 'Ae', '\xe6': 'ae',
235
- '\xde': 'Th', '\xfe': 'th',
236
- '\xdf': 'ss',
237
- // Latin Extended-A block.
238
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
239
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
240
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
241
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
242
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
243
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
244
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
245
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
246
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
247
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
248
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
249
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
250
- '\u0134': 'J', '\u0135': 'j',
251
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
252
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
253
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
254
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
255
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
256
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
257
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
258
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
259
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
260
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
261
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
262
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
263
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
264
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
265
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
266
- '\u0174': 'W', '\u0175': 'w',
267
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
268
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
269
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
270
- '\u0132': 'IJ', '\u0133': 'ij',
271
- '\u0152': 'Oe', '\u0153': 'oe',
272
- '\u0149': "'n", '\u017f': 's'
273
- };
274
-
275
- /**
276
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
277
- * letters to basic Latin letters.
278
- *
279
- * @private
280
- * @param {string} letter The matched letter to deburr.
281
- * @returns {string} Returns the deburred letter.
282
- */
283
- var deburrLetter = basePropertyOf(deburredLetters);
284
-
285
- _deburrLetter = deburrLetter;
286
- return _deburrLetter;
287
- }
288
-
289
- /**
290
- * A specialized version of `_.map` for arrays without support for iteratee
291
- * shorthands.
292
- *
293
- * @private
294
- * @param {Array} [array] The array to iterate over.
295
- * @param {Function} iteratee The function invoked per iteration.
296
- * @returns {Array} Returns the new mapped array.
297
- */
298
-
299
- var _arrayMap;
300
- var hasRequired_arrayMap;
301
-
302
- function require_arrayMap () {
303
- if (hasRequired_arrayMap) return _arrayMap;
304
- hasRequired_arrayMap = 1;
305
- function arrayMap(array, iteratee) {
306
- var index = -1,
307
- length = array == null ? 0 : array.length,
308
- result = Array(length);
309
-
310
- while (++index < length) {
311
- result[index] = iteratee(array[index], index, array);
312
- }
313
- return result;
314
- }
315
-
316
- _arrayMap = arrayMap;
317
- return _arrayMap;
318
- }
319
-
320
- /**
321
- * Checks if `value` is classified as an `Array` object.
322
- *
323
- * @static
324
- * @memberOf _
325
- * @since 0.1.0
326
- * @category Lang
327
- * @param {*} value The value to check.
328
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
329
- * @example
330
- *
331
- * _.isArray([1, 2, 3]);
332
- * // => true
333
- *
334
- * _.isArray(document.body.children);
335
- * // => false
336
- *
337
- * _.isArray('abc');
338
- * // => false
339
- *
340
- * _.isArray(_.noop);
341
- * // => false
342
- */
343
-
344
- var isArray_1;
345
- var hasRequiredIsArray;
346
-
347
- function requireIsArray () {
348
- if (hasRequiredIsArray) return isArray_1;
349
- hasRequiredIsArray = 1;
350
- var isArray = Array.isArray;
351
-
352
- isArray_1 = isArray;
353
- return isArray_1;
354
- }
355
-
356
- var _baseToString;
357
- var hasRequired_baseToString;
358
-
359
- function require_baseToString () {
360
- if (hasRequired_baseToString) return _baseToString;
361
- hasRequired_baseToString = 1;
362
- var Symbol = isSymbol.require_Symbol(),
363
- arrayMap = require_arrayMap(),
364
- isArray = requireIsArray(),
365
- isSymbol$1 = isSymbol.requireIsSymbol();
366
-
367
- /** Used as references for various `Number` constants. */
368
- var INFINITY = 1 / 0;
369
-
370
- /** Used to convert symbols to primitives and strings. */
371
- var symbolProto = Symbol ? Symbol.prototype : undefined,
372
- symbolToString = symbolProto ? symbolProto.toString : undefined;
373
-
374
- /**
375
- * The base implementation of `_.toString` which doesn't convert nullish
376
- * values to empty strings.
377
- *
378
- * @private
379
- * @param {*} value The value to process.
380
- * @returns {string} Returns the string.
381
- */
382
- function baseToString(value) {
383
- // Exit early for strings to avoid a performance hit in some environments.
384
- if (typeof value == 'string') {
385
- return value;
386
- }
387
- if (isArray(value)) {
388
- // Recursively convert values (susceptible to call stack limits).
389
- return arrayMap(value, baseToString) + '';
390
- }
391
- if (isSymbol$1(value)) {
392
- return symbolToString ? symbolToString.call(value) : '';
393
- }
394
- var result = (value + '');
395
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
396
- }
397
-
398
- _baseToString = baseToString;
399
- return _baseToString;
400
- }
401
-
402
- var toString_1;
403
- var hasRequiredToString;
404
-
405
- function requireToString () {
406
- if (hasRequiredToString) return toString_1;
407
- hasRequiredToString = 1;
408
- var baseToString = require_baseToString();
409
-
410
- /**
411
- * Converts `value` to a string. An empty string is returned for `null`
412
- * and `undefined` values. The sign of `-0` is preserved.
413
- *
414
- * @static
415
- * @memberOf _
416
- * @since 4.0.0
417
- * @category Lang
418
- * @param {*} value The value to convert.
419
- * @returns {string} Returns the converted string.
420
- * @example
421
- *
422
- * _.toString(null);
423
- * // => ''
424
- *
425
- * _.toString(-0);
426
- * // => '-0'
427
- *
428
- * _.toString([1, 2, 3]);
429
- * // => '1,2,3'
430
- */
431
- function toString(value) {
432
- return value == null ? '' : baseToString(value);
433
- }
434
-
435
- toString_1 = toString;
436
- return toString_1;
437
- }
438
-
439
- var deburr_1;
440
- var hasRequiredDeburr;
441
-
442
- function requireDeburr () {
443
- if (hasRequiredDeburr) return deburr_1;
444
- hasRequiredDeburr = 1;
445
- var deburrLetter = require_deburrLetter(),
446
- toString = requireToString();
447
-
448
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
449
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
450
-
451
- /** Used to compose unicode character classes. */
452
- var rsComboMarksRange = '\\u0300-\\u036f',
453
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
454
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
455
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
456
-
457
- /** Used to compose unicode capture groups. */
458
- var rsCombo = '[' + rsComboRange + ']';
459
-
460
- /**
461
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
462
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
463
- */
464
- var reComboMark = RegExp(rsCombo, 'g');
465
-
466
- /**
467
- * Deburrs `string` by converting
468
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
469
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
470
- * letters to basic Latin letters and removing
471
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
472
- *
473
- * @static
474
- * @memberOf _
475
- * @since 3.0.0
476
- * @category String
477
- * @param {string} [string=''] The string to deburr.
478
- * @returns {string} Returns the deburred string.
479
- * @example
480
- *
481
- * _.deburr('déjà vu');
482
- * // => 'deja vu'
483
- */
484
- function deburr(string) {
485
- string = toString(string);
486
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
487
- }
488
-
489
- deburr_1 = deburr;
490
- return deburr_1;
491
- }
492
-
493
- /** Used to match words composed of alphanumeric characters. */
494
-
495
- var _asciiWords;
496
- var hasRequired_asciiWords;
497
-
498
- function require_asciiWords () {
499
- if (hasRequired_asciiWords) return _asciiWords;
500
- hasRequired_asciiWords = 1;
501
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
502
-
503
- /**
504
- * Splits an ASCII `string` into an array of its words.
505
- *
506
- * @private
507
- * @param {string} The string to inspect.
508
- * @returns {Array} Returns the words of `string`.
509
- */
510
- function asciiWords(string) {
511
- return string.match(reAsciiWord) || [];
512
- }
513
-
514
- _asciiWords = asciiWords;
515
- return _asciiWords;
516
- }
517
-
518
- /** Used to detect strings that need a more robust regexp to match words. */
519
-
520
- var _hasUnicodeWord;
521
- var hasRequired_hasUnicodeWord;
522
-
523
- function require_hasUnicodeWord () {
524
- if (hasRequired_hasUnicodeWord) return _hasUnicodeWord;
525
- hasRequired_hasUnicodeWord = 1;
526
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
527
-
528
- /**
529
- * Checks if `string` contains a word composed of Unicode symbols.
530
- *
531
- * @private
532
- * @param {string} string The string to inspect.
533
- * @returns {boolean} Returns `true` if a word is found, else `false`.
534
- */
535
- function hasUnicodeWord(string) {
536
- return reHasUnicodeWord.test(string);
537
- }
538
-
539
- _hasUnicodeWord = hasUnicodeWord;
540
- return _hasUnicodeWord;
541
- }
542
-
543
- /** Used to compose unicode character classes. */
544
-
545
- var _unicodeWords;
546
- var hasRequired_unicodeWords;
547
-
548
- function require_unicodeWords () {
549
- if (hasRequired_unicodeWords) return _unicodeWords;
550
- hasRequired_unicodeWords = 1;
551
- var rsAstralRange = '\\ud800-\\udfff',
552
- rsComboMarksRange = '\\u0300-\\u036f',
553
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
554
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
555
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
556
- rsDingbatRange = '\\u2700-\\u27bf',
557
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
558
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
559
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
560
- rsPunctuationRange = '\\u2000-\\u206f',
561
- rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
562
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
563
- rsVarRange = '\\ufe0e\\ufe0f',
564
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
565
-
566
- /** Used to compose unicode capture groups. */
567
- var rsApos = "['\u2019]",
568
- rsBreak = '[' + rsBreakRange + ']',
569
- rsCombo = '[' + rsComboRange + ']',
570
- rsDigits = '\\d+',
571
- rsDingbat = '[' + rsDingbatRange + ']',
572
- rsLower = '[' + rsLowerRange + ']',
573
- rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
574
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
575
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
576
- rsNonAstral = '[^' + rsAstralRange + ']',
577
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
578
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
579
- rsUpper = '[' + rsUpperRange + ']',
580
- rsZWJ = '\\u200d';
581
-
582
- /** Used to compose unicode regexes. */
583
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
584
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
585
- rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
586
- rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
587
- reOptMod = rsModifier + '?',
588
- rsOptVar = '[' + rsVarRange + ']?',
589
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
590
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
591
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
592
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
593
- rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
594
-
595
- /** Used to match complex or compound words. */
596
- var reUnicodeWord = RegExp([
597
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
598
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
599
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
600
- rsUpper + '+' + rsOptContrUpper,
601
- rsOrdUpper,
602
- rsOrdLower,
603
- rsDigits,
604
- rsEmoji
605
- ].join('|'), 'g');
606
-
607
- /**
608
- * Splits a Unicode `string` into an array of its words.
609
- *
610
- * @private
611
- * @param {string} The string to inspect.
612
- * @returns {Array} Returns the words of `string`.
613
- */
614
- function unicodeWords(string) {
615
- return string.match(reUnicodeWord) || [];
616
- }
617
-
618
- _unicodeWords = unicodeWords;
619
- return _unicodeWords;
620
- }
621
-
622
- var words_1;
623
- var hasRequiredWords;
624
-
625
- function requireWords () {
626
- if (hasRequiredWords) return words_1;
627
- hasRequiredWords = 1;
628
- var asciiWords = require_asciiWords(),
629
- hasUnicodeWord = require_hasUnicodeWord(),
630
- toString = requireToString(),
631
- unicodeWords = require_unicodeWords();
632
-
633
- /**
634
- * Splits `string` into an array of its words.
635
- *
636
- * @static
637
- * @memberOf _
638
- * @since 3.0.0
639
- * @category String
640
- * @param {string} [string=''] The string to inspect.
641
- * @param {RegExp|string} [pattern] The pattern to match words.
642
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
643
- * @returns {Array} Returns the words of `string`.
644
- * @example
645
- *
646
- * _.words('fred, barney, & pebbles');
647
- * // => ['fred', 'barney', 'pebbles']
648
- *
649
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
650
- * // => ['fred', 'barney', '&', 'pebbles']
651
- */
652
- function words(string, pattern, guard) {
653
- string = toString(string);
654
- pattern = guard ? undefined : pattern;
655
-
656
- if (pattern === undefined) {
657
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
658
- }
659
- return string.match(pattern) || [];
660
- }
661
-
662
- words_1 = words;
663
- return words_1;
664
- }
665
-
666
- var _createCompounder;
667
- var hasRequired_createCompounder;
668
-
669
- function require_createCompounder () {
670
- if (hasRequired_createCompounder) return _createCompounder;
671
- hasRequired_createCompounder = 1;
672
- var arrayReduce = require_arrayReduce(),
673
- deburr = requireDeburr(),
674
- words = requireWords();
675
-
676
- /** Used to compose unicode capture groups. */
677
- var rsApos = "['\u2019]";
678
-
679
- /** Used to match apostrophes. */
680
- var reApos = RegExp(rsApos, 'g');
681
-
682
- /**
683
- * Creates a function like `_.camelCase`.
684
- *
685
- * @private
686
- * @param {Function} callback The function to combine each word.
687
- * @returns {Function} Returns the new compounder function.
688
- */
689
- function createCompounder(callback) {
690
- return function(string) {
691
- return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
692
- };
693
- }
694
-
695
- _createCompounder = createCompounder;
696
- return _createCompounder;
697
- }
698
-
699
- var kebabCase_1;
700
- var hasRequiredKebabCase;
701
-
702
- function requireKebabCase () {
703
- if (hasRequiredKebabCase) return kebabCase_1;
704
- hasRequiredKebabCase = 1;
705
- var createCompounder = require_createCompounder();
706
-
707
- /**
708
- * Converts `string` to
709
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
710
- *
711
- * @static
712
- * @memberOf _
713
- * @since 3.0.0
714
- * @category String
715
- * @param {string} [string=''] The string to convert.
716
- * @returns {string} Returns the kebab cased string.
717
- * @example
718
- *
719
- * _.kebabCase('Foo Bar');
720
- * // => 'foo-bar'
721
- *
722
- * _.kebabCase('fooBar');
723
- * // => 'foo-bar'
724
- *
725
- * _.kebabCase('__FOO_BAR__');
726
- * // => 'foo-bar'
727
- */
728
- var kebabCase = createCompounder(function(result, word, index) {
729
- return result + (index ? '-' : '') + word.toLowerCase();
730
- });
731
-
732
- kebabCase_1 = kebabCase;
733
- return kebabCase_1;
734
- }
735
-
736
- var kebabCaseExports = requireKebabCase();
737
- var kebabCase = /*@__PURE__*/index.getDefaultExportFromCjs(kebabCaseExports);
738
-
739
- exports.NavigationHeaderButton = NavigationHeaderButton;
740
- exports.NavigationHeaderCloseButton = NavigationHeaderCloseButton;
741
- exports.NavigationHeaderContext = NavigationHeaderContext;
742
- exports.cssEscape = cssEscape;
743
- exports.kebabCase = kebabCase;