@bynder/compact-view 5.2.1 → 5.2.2

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 (555) hide show
  1. package/AccessToken.js +5 -0
  2. package/AccessToken2.js +176 -0
  3. package/AccessToken3.js +4 -0
  4. package/ActiveFilter.js +6 -5
  5. package/ActiveFilters.js +24 -24
  6. package/AddMedia.js +1 -1
  7. package/AdditionalInfo.js +18 -0
  8. package/Advanced.js +3 -3
  9. package/App.js +46 -43
  10. package/Arrow.js +14 -0
  11. package/AssetCard.js +32 -29
  12. package/AssetCardMetaproperties.js +14 -13
  13. package/AssetFilter.js +36 -35
  14. package/AssetFilterContext.js +3 -3
  15. package/AssetItem.js +14 -13
  16. package/AssetList.js +7 -7
  17. package/AssetTypeItem.js +13 -12
  18. package/Autocomplete_new.js +41 -37
  19. package/Axios2.js +136 -0
  20. package/AxiosError.js +54 -0
  21. package/AxiosHeaders.js +181 -0
  22. package/AxiosURLSearchParams.js +33 -0
  23. package/Badge.js +44 -0
  24. package/Baloon.js +42 -0
  25. package/BaseStyles.js +10 -0
  26. package/Blob.js +4 -0
  27. package/Box.js +22 -0
  28. package/Button.js +39 -0
  29. package/Button.styles.js +40 -0
  30. package/ButtonAction.js +3 -3
  31. package/ButtonLegacy.js +48 -0
  32. package/ButtonLegacy.styles.js +28 -0
  33. package/CancelToken.js +77 -0
  34. package/CanceledError.js +11 -0
  35. package/Card.js +84 -0
  36. package/CardSkeleton.js +15 -14
  37. package/Checkbox.js +85 -0
  38. package/Checkbox.styles.js +2 -2
  39. package/Checkmark.js +7 -0
  40. package/Chip.js +70 -40
  41. package/Chip2.js +42 -0
  42. package/CollectionCard.js +9 -8
  43. package/CollectionItem.js +15 -14
  44. package/CollectionList.js +2 -2
  45. package/CollectionView.js +2 -2
  46. package/CollectionsView.js +6 -6
  47. package/ColorHexInput.js +31 -0
  48. package/ColorPicker.js +66 -0
  49. package/ColorPickerSolid.js +20 -0
  50. package/ColorPickerWithOpacity.js +37 -0
  51. package/Combobox.js +61 -0
  52. package/ConcealedAction.js +16 -0
  53. package/ConnectButton.js +1 -1
  54. package/Container.js +14 -13
  55. package/Container2.js +31 -0
  56. package/Content.js +16 -0
  57. package/ContextAction.js +18 -17
  58. package/ContextActionButton.js +29 -0
  59. package/ControlGroup.js +32 -0
  60. package/DOMFunctions.js +27 -0
  61. package/Dat.js +62 -50
  62. package/DatDropdownItem.js +20 -19
  63. package/DesignSystemContext.js +4 -4
  64. package/DesignSystemProvider.js +29 -0
  65. package/DirectionSelect.js +16 -15
  66. package/Divider.js +21 -0
  67. package/DomainInput.js +15 -14
  68. package/DragRange.js +25 -0
  69. package/DragSelect.js +11 -11
  70. package/Dropdown.js +12 -11
  71. package/Dropdown2.js +169 -0
  72. package/DropdownContent.js +2 -2
  73. package/DropdownListItem.js +3 -3
  74. package/Enum.js +12 -0
  75. package/ErrorMessage.js +20 -19
  76. package/FieldSelect.js +4 -4
  77. package/FilePlaceholder.js +19 -0
  78. package/FileSelector.js +11 -10
  79. package/Flex.js +21 -0
  80. package/FontPicker.js +104 -0
  81. package/Footer.js +16 -0
  82. package/Form.js +23 -0
  83. package/FormData.js +4 -0
  84. package/Frame.js +64 -0
  85. package/Group.js +17 -0
  86. package/Group2.js +26 -0
  87. package/Header2.js +43 -0
  88. package/Header22.js +15 -0
  89. package/HelperText.js +26 -0
  90. package/HorizontalScroll.js +4 -4
  91. package/HttpHandler.js +74 -0
  92. package/HttpResponse.js +85 -0
  93. package/HttpStatusCode.js +71 -0
  94. package/IconPlaceholder.js +18 -0
  95. package/Image.js +19 -0
  96. package/Images.js +30 -0
  97. package/Indicator.js +74 -0
  98. package/InfiniteScroll.js +8 -8
  99. package/InlineBanner.js +51 -0
  100. package/Input.js +109 -0
  101. package/Input.styles.js +71 -0
  102. package/InputContainer.js +9 -0
  103. package/InputField.js +74 -0
  104. package/InputRow.js +18 -0
  105. package/Inspector.js +34 -0
  106. package/InteractiveIcon.js +28 -0
  107. package/InterceptorManager.js +58 -0
  108. package/Item.js +107 -0
  109. package/Item2.js +14 -0
  110. package/Item4.js +190 -0
  111. package/Label.js +33 -0
  112. package/LeftArrow.js +3 -3
  113. package/List.js +25 -0
  114. package/ListItem.js +11 -0
  115. package/ListItem2.js +58 -0
  116. package/ListItem4.js +37 -0
  117. package/MetapropertyFilterContent.js +2 -2
  118. package/MetapropertyOption.js +2 -3
  119. package/Middleware.js +49 -0
  120. package/Middleware2.js +49 -0
  121. package/Modal.js +2 -2
  122. package/Modal2.js +31 -0
  123. package/ModalBase.js +117 -0
  124. package/ModalBase.styles.js +75 -0
  125. package/ModalConfirmation.js +8 -0
  126. package/NoResults.js +16 -15
  127. package/OffsetContext.js +9 -0
  128. package/Oops.js +1 -1
  129. package/OpacityInput.js +17 -0
  130. package/Option_new.js +19 -18
  131. package/Overlay.js +35 -0
  132. package/Parser.js +131 -0
  133. package/Prefixer.js +187 -0
  134. package/Radio.js +78 -0
  135. package/RadioGroup.js +25 -0
  136. package/RangeInput.js +41 -0
  137. package/RefreshingSpinner.js +3 -3
  138. package/ReportModal.js +16 -14
  139. package/RequestHandler.js +119 -0
  140. package/RightArrow.js +4 -4
  141. package/Row.js +16 -0
  142. package/SearchInput.js +15 -15
  143. package/SearchInput2.js +46 -0
  144. package/SectionTitle.js +17 -0
  145. package/Select.js +49 -0
  146. package/SelectButtonText.js +16 -0
  147. package/SelectedItemContainer.js +11 -10
  148. package/SelectedItems.js +2 -2
  149. package/SelectionFooter.js +8 -7
  150. package/Serializer.js +27 -0
  151. package/ShadowRootInternal.js +17 -17
  152. package/Sidebar.js +17 -0
  153. package/Skeleton.js +6 -6
  154. package/Slider.constants.js +6 -0
  155. package/Slider.js +128 -0
  156. package/SmartFilterContent.js +2 -2
  157. package/SmartFilterSelect_new.js +2 -2
  158. package/Smartfilters_new.js +53 -50
  159. package/Spinner.js +2 -2
  160. package/Spinner2.js +15 -0
  161. package/StatefulAssetList.js +15 -15
  162. package/Stats.js +16 -0
  163. package/StatsItem.js +23 -0
  164. package/Status.js +32 -0
  165. package/Switch.js +82 -0
  166. package/SwitchNLS.js +26 -23
  167. package/Tabs2.js +10 -0
  168. package/TagItem.js +8 -8
  169. package/Tags.js +9 -9
  170. package/Text2.js +11 -0
  171. package/Text22.js +18 -0
  172. package/Text4.js +18 -0
  173. package/Textarea.js +92 -0
  174. package/Theming.js +4 -4
  175. package/Thumb.js +28 -0
  176. package/Thumbnail.js +91 -0
  177. package/Tokenizer.js +147 -0
  178. package/Toolbar.js +13 -12
  179. package/Tooltip.js +2 -2
  180. package/Tooltip2.js +111 -0
  181. package/TruncatedText.js +34 -0
  182. package/URLSearchParams.js +5 -0
  183. package/Utility.js +56 -0
  184. package/ViewSwitch.js +8 -7
  185. package/_check_private_redeclaration.js +7 -0
  186. package/_class_apply_descriptor_get.js +6 -0
  187. package/_class_apply_descriptor_set.js +11 -0
  188. package/_class_extract_field_descriptor.js +7 -0
  189. package/_class_private_field_get.js +9 -0
  190. package/_class_private_field_init.js +7 -0
  191. package/_class_private_field_set.js +9 -0
  192. package/_commonjsHelpers.js +6 -0
  193. package/adapters.js +53 -0
  194. package/api.js +25 -0
  195. package/api2.js +40 -0
  196. package/api3.js +406 -0
  197. package/applyScopeDataToEvent.js +83 -0
  198. package/applyScopeDataToEvent2.js +55 -0
  199. package/asset.type.js +9 -9
  200. package/autocomplete.js +2 -2
  201. package/axios.js +46 -0
  202. package/base.js +57 -0
  203. package/baseclient.js +498 -0
  204. package/bind.js +8 -0
  205. package/browser.js +44 -0
  206. package/buildFullPath.js +9 -0
  207. package/buildURL.js +23 -0
  208. package/bundle.esm.js +81 -0
  209. package/calculateContainerMaxHeight.js +12 -0
  210. package/calculateNodeHeight.js +35 -0
  211. package/carrier.js +13 -0
  212. package/chain.js +8 -0
  213. package/checkGlobals.js +13 -0
  214. package/checks.js +178 -0
  215. package/chunk-6HYIRFX2.js +1 -0
  216. package/cleanUrl.js +11 -0
  217. package/client.js +76 -0
  218. package/clientreport.js +15 -0
  219. package/clsx.js +17 -0
  220. package/colorTransforms.js +12 -0
  221. package/combineMetaproperties.js +1 -1
  222. package/combineURLs.js +6 -0
  223. package/composeSignals.js +30 -0
  224. package/constants.js +2 -12
  225. package/constants2.js +82 -0
  226. package/constants3.js +14 -0
  227. package/constants4.js +8 -0
  228. package/constants5.js +4 -0
  229. package/constants6.js +4 -0
  230. package/context.js +12 -0
  231. package/context10.js +12 -0
  232. package/context2.js +9 -0
  233. package/context3.js +12 -0
  234. package/context6.js +5 -0
  235. package/cookieStore.js +116 -0
  236. package/cookies.js +32 -0
  237. package/core.js +42 -0
  238. package/currentScopes.js +9 -0
  239. package/data.js +4 -0
  240. package/de_DE.json.js +18 -0
  241. package/debug-build.js +4 -0
  242. package/debug-build2.js +4 -0
  243. package/debug-build3.js +4 -0
  244. package/debug-build4.js +4 -0
  245. package/debug-build5.js +4 -0
  246. package/debug-build6.js +4 -0
  247. package/decorators.js +37 -0
  248. package/defaultScopes.js +12 -0
  249. package/devUtils.js +20 -0
  250. package/dispatchRequest.js +31 -0
  251. package/doc.js +26 -0
  252. package/domHelpers.js +15 -0
  253. package/dsn.js +54 -0
  254. package/dynamicSamplingContext.js +34 -0
  255. package/dynamicSamplingContext2.js +34 -0
  256. package/emotion-unitless.esm.js +52 -0
  257. package/en_US.json.js +23 -0
  258. package/englishText-12403056.js +6 -0
  259. package/env.js +6 -0
  260. package/envelope.js +113 -0
  261. package/envelope2.js +23 -0
  262. package/envelope3.js +24 -0
  263. package/error.js +9 -0
  264. package/errors.js +33 -0
  265. package/errors2.js +55 -0
  266. package/es_ES.json.js +18 -0
  267. package/es_MX.json.js +18 -0
  268. package/eventProcessors.js +27 -0
  269. package/eventProcessors2.js +23 -0
  270. package/eventbuilder.js +128 -0
  271. package/exports.js +11 -0
  272. package/exports2.js +16 -0
  273. package/exports3.js +8 -0
  274. package/fetch.js +44 -0
  275. package/fetch2.js +141 -0
  276. package/filterAssets.js +1 -1
  277. package/fixFontSpaceInUrl.js +8 -0
  278. package/focusWithoutScrolling.js +45 -0
  279. package/forceHiddenStyles.js +19 -0
  280. package/formDataToJSON.js +31 -0
  281. package/fr_FR.json.js +18 -0
  282. package/getAbsoluteUrl.js +13 -0
  283. package/getAsset.js +1 -1
  284. package/getAssetCounts.js +1 -1
  285. package/getAssets.js +2 -2
  286. package/getCallFrame.js +12 -0
  287. package/getCollections.js +1 -1
  288. package/getFilterOptions.js +1 -1
  289. package/getFilters.js +1 -1
  290. package/getFilters_new.js +1 -1
  291. package/getRequestCookies.js +40 -0
  292. package/getRootSpan.js +6 -0
  293. package/getRootSpan2.js +6 -0
  294. package/getSimilarityAssets.js +1 -1
  295. package/getSizingData.js +45 -0
  296. package/getStatusCodeColor.js +6 -0
  297. package/getThumbPosition.js +6 -0
  298. package/getTimestamp.js +7 -0
  299. package/getUseLayerOptions.js +49 -0
  300. package/handlers.js +92 -6
  301. package/handlers2.js +6 -0
  302. package/helpers.js +3 -4
  303. package/helpers2.js +6 -0
  304. package/hexFromPercentage.js +7 -0
  305. package/http.js +17 -0
  306. package/hub.js +446 -0
  307. package/hub2.js +442 -0
  308. package/immer.js +472 -0
  309. package/import.js +7 -0
  310. package/index-esm.js +10781 -0
  311. package/index-esm2.js +138 -0
  312. package/index-esm3.js +131 -0
  313. package/index.browser.js +11 -0
  314. package/index.module.js +57 -0
  315. package/index.module2.js +72 -0
  316. package/index.module3.js +57 -0
  317. package/index10.js +20 -0
  318. package/index102.js +273 -0
  319. package/index11.js +18 -0
  320. package/index112.js +29 -0
  321. package/index12.js +38 -0
  322. package/index13.js +2432 -0
  323. package/index14.js +558 -0
  324. package/index15.js +58 -0
  325. package/index16.js +4 -0
  326. package/index17.js +89 -0
  327. package/index18.js +9 -0
  328. package/index19.js +62 -0
  329. package/index20.js +15 -0
  330. package/index21.js +11 -0
  331. package/index22.js +42 -0
  332. package/index23.js +9 -0
  333. package/index24.js +10 -0
  334. package/index25.js +7 -0
  335. package/index26.js +12 -0
  336. package/index27.js +11 -0
  337. package/index28.js +639 -0
  338. package/index29.js +76 -0
  339. package/index3.js +5 -53
  340. package/index30.js +7 -0
  341. package/index31.js +22 -0
  342. package/index32.js +2 -0
  343. package/index33.js +7 -0
  344. package/index34.js +20 -0
  345. package/index35.js +8 -0
  346. package/index36.js +4 -0
  347. package/index37.js +13 -0
  348. package/index38.js +13 -0
  349. package/index39.js +15 -0
  350. package/index4.js +1684 -17
  351. package/index40.js +13 -0
  352. package/index41.js +21 -0
  353. package/index42.js +66 -0
  354. package/index43.js +8 -0
  355. package/index44.js +57 -0
  356. package/index45.js +69 -0
  357. package/index46.js +33 -0
  358. package/index47.js +13 -0
  359. package/index48.js +123 -0
  360. package/index49.js +88 -0
  361. package/index5.js +27 -0
  362. package/index50.js +10 -0
  363. package/index51.js +13 -0
  364. package/index52.js +16 -0
  365. package/index53.js +16 -0
  366. package/index54.js +9 -0
  367. package/index55.js +9 -0
  368. package/index56.js +17 -0
  369. package/index57.js +31 -0
  370. package/index58.js +18 -0
  371. package/index6.js +315 -0
  372. package/index7.js +4 -0
  373. package/index72.js +228 -0
  374. package/index8.js +5051 -0
  375. package/index82.js +8 -0
  376. package/index9.js +55 -0
  377. package/index92.js +12 -0
  378. package/integration.js +38 -0
  379. package/is.js +77 -0
  380. package/is2.js +14 -0
  381. package/is3.js +14 -0
  382. package/isAbsoluteURL.js +6 -0
  383. package/isAbsoluteUrl2.js +6 -0
  384. package/isAxiosError.js +7 -0
  385. package/isCancel.js +6 -0
  386. package/isIterable.js +6 -0
  387. package/isStringEqual.js +6 -0
  388. package/isURLSameOrigin.js +8 -0
  389. package/isValidHexValue.js +6 -0
  390. package/isVirtualEvent.js +11 -0
  391. package/iso.js +38 -0
  392. package/it_IT.json.js +18 -0
  393. package/itemContext.js +5 -0
  394. package/ja_JP.json.js +18 -0
  395. package/ko_KR.json.js +18 -0
  396. package/localStorageHelper.js +32 -0
  397. package/localStorageHelper2.js +4 -0
  398. package/localization.js +46 -0
  399. package/logger2.js +56 -0
  400. package/logger3.js +56 -0
  401. package/logger4.js +56 -0
  402. package/makeHexWithOpacity.js +12 -0
  403. package/makeInternalTokens.js +22 -0
  404. package/matchRequestUrl.js +23 -0
  405. package/memo.js +25 -0
  406. package/merge.js +13 -0
  407. package/mergeConfig.js +70 -0
  408. package/mergeProps.js +22 -0
  409. package/mergeRefs.js +9 -0
  410. package/middleware.js +177 -0
  411. package/middleware2.js +177 -0
  412. package/misc.js +58 -0
  413. package/misc2.js +28 -0
  414. package/misc3.js +24 -0
  415. package/nl_NL.json.js +18 -0
  416. package/normalize.js +97 -0
  417. package/normalizePath.js +11 -0
  418. package/normalizeResponse.js +1 -1
  419. package/normalizeRows.js +10 -0
  420. package/notify.js +52 -0
  421. package/null.js +4 -0
  422. package/object.js +110 -0
  423. package/object2.js +39 -0
  424. package/object3.js +17 -0
  425. package/opacityPercentageFromHex.js +9 -0
  426. package/openLink.js +27 -0
  427. package/package.json +1 -1
  428. package/packageVersion.js +4 -0
  429. package/parse.js +9 -0
  430. package/parse2.js +44 -0
  431. package/parseHeaders.js +30 -0
  432. package/parseProtocol.js +7 -0
  433. package/pl_PL.json.js +18 -0
  434. package/platform.js +42 -0
  435. package/prepareEvent.js +141 -0
  436. package/prepareEvent2.js +5 -0
  437. package/prepareEvent3.js +5 -0
  438. package/progressEventReducer.js +35 -0
  439. package/promisebuffer.js +44 -0
  440. package/propagationContext.js +11 -0
  441. package/pt_BR.json.js +18 -0
  442. package/ratelimit.js +37 -0
  443. package/react.js +19 -0
  444. package/react2.js +19 -0
  445. package/regexes.js +51 -0
  446. package/registries.js +41 -0
  447. package/resolveConfig.js +33 -0
  448. package/ru_RU.json.js +18 -0
  449. package/runAfterTransition.js +35 -0
  450. package/schemas.js +368 -0
  451. package/schemas2.js +691 -0
  452. package/scope.js +412 -0
  453. package/scope2.js +407 -0
  454. package/scope3.js +348 -0
  455. package/sdk-DhxX43BH.js +4813 -0
  456. package/sdkMetadata.js +15 -0
  457. package/serializeRequest.js +12 -0
  458. package/serializeResponse.js +14 -0
  459. package/session.js +57 -0
  460. package/session2.js +57 -0
  461. package/session3.js +16 -0
  462. package/settle.js +14 -0
  463. package/shadowdom.js +13 -0
  464. package/shadowdom2.js +13 -0
  465. package/spanOnScope.js +12 -0
  466. package/spanUtils.js +31 -0
  467. package/spanUtils2.js +31 -0
  468. package/speedometer.js +19 -0
  469. package/spread.js +8 -0
  470. package/stack-parsers.js +48 -0
  471. package/stackStrategy.js +98 -0
  472. package/stacktrace.js +49 -0
  473. package/state.js +106 -0
  474. package/store/useDatStore.d.ts +11 -8
  475. package/string.js +6 -0
  476. package/styled-components.browser.esm.js +530 -0
  477. package/styles.js +55 -0
  478. package/styles2.js +17 -0
  479. package/supports.js +6 -0
  480. package/syncpromise.js +121 -0
  481. package/syncpromise2.js +109 -0
  482. package/textSelection.js +33 -0
  483. package/textStyles.js +20 -0
  484. package/theme.js +238 -0
  485. package/themeContainers.js +20 -0
  486. package/themes3.js +26 -0
  487. package/throttle.js +15 -0
  488. package/time.js +24 -0
  489. package/time2.js +24 -0
  490. package/time3.js +24 -0
  491. package/toFormData.js +85 -0
  492. package/toPublicUrl.js +9 -0
  493. package/toURLEncodedForm.js +13 -0
  494. package/token.js +236 -0
  495. package/tokenExpirationHelper.js +48 -0
  496. package/tokenExpirationHelper2.js +4 -0
  497. package/tokensAndThemes.js +92 -0
  498. package/tr_TR.json.js +18 -0
  499. package/trackStream.js +63 -0
  500. package/transformData.js +13 -0
  501. package/transitional.js +8 -0
  502. package/trimMetapropertyValue.js +1 -1
  503. package/tslib.es6.js +18 -0
  504. package/typeof.js +11 -0
  505. package/urlHelper.js +15 -0
  506. package/urlHelper2.js +4 -0
  507. package/useAutoHeight.js +25 -0
  508. package/useDatStore.js +31 -27
  509. package/useEffectEvent.js +18 -0
  510. package/useFocus.js +30 -0
  511. package/useFocusRing.js +34 -0
  512. package/useFocusVisible.js +92 -0
  513. package/useFocusWithin.js +57 -0
  514. package/useFonts.js +118 -0
  515. package/useGlobalListeners.js +34 -0
  516. package/useGroupContext.js +10 -0
  517. package/useHover.js +79 -0
  518. package/useId.js +8 -0
  519. package/useId2.js +17 -0
  520. package/useKeyDown.js +14 -0
  521. package/useLayoutEffect.js +6 -0
  522. package/useOrderingStore.js +6 -6
  523. package/usePress.js +359 -0
  524. package/useRouterStore.js +6 -6
  525. package/useScrollHighlightedIntoView.js +24 -0
  526. package/useSearchStore.js +5 -5
  527. package/useSimilaritySearchStore.js +6 -6
  528. package/useSyncRef.js +12 -0
  529. package/useTranslate.js +13 -0
  530. package/useZIndex.js +9 -0
  531. package/userfeedback.js +28 -0
  532. package/util.js +265 -0
  533. package/utils/fixFontSpaceInUrl.d.ts +1 -0
  534. package/utils.js +26 -44
  535. package/utils2.js +43 -45
  536. package/utils3.js +50 -0
  537. package/utils4.js +12 -0
  538. package/utils5.js +71 -0
  539. package/utils6.js +222 -0
  540. package/utils7.js +9 -0
  541. package/utils8.js +70 -0
  542. package/validator.js +54 -0
  543. package/vanilla.js +14 -0
  544. package/vanilla2.js +14 -0
  545. package/version.js +4 -0
  546. package/version2.js +4 -0
  547. package/version3.js +4 -0
  548. package/versionContext.js +9 -0
  549. package/versions.js +8 -0
  550. package/worldwide.js +19 -0
  551. package/worldwide2.js +15 -0
  552. package/worldwide3.js +10 -0
  553. package/xhr.js +71 -0
  554. package/zh_CN.json.js +18 -0
  555. package/zh_TW.json.js +18 -0
@@ -0,0 +1,71 @@
1
+ const e = {
2
+ Continue: 100,
3
+ SwitchingProtocols: 101,
4
+ Processing: 102,
5
+ EarlyHints: 103,
6
+ Ok: 200,
7
+ Created: 201,
8
+ Accepted: 202,
9
+ NonAuthoritativeInformation: 203,
10
+ NoContent: 204,
11
+ ResetContent: 205,
12
+ PartialContent: 206,
13
+ MultiStatus: 207,
14
+ AlreadyReported: 208,
15
+ ImUsed: 226,
16
+ MultipleChoices: 300,
17
+ MovedPermanently: 301,
18
+ Found: 302,
19
+ SeeOther: 303,
20
+ NotModified: 304,
21
+ UseProxy: 305,
22
+ Unused: 306,
23
+ TemporaryRedirect: 307,
24
+ PermanentRedirect: 308,
25
+ BadRequest: 400,
26
+ Unauthorized: 401,
27
+ PaymentRequired: 402,
28
+ Forbidden: 403,
29
+ NotFound: 404,
30
+ MethodNotAllowed: 405,
31
+ NotAcceptable: 406,
32
+ ProxyAuthenticationRequired: 407,
33
+ RequestTimeout: 408,
34
+ Conflict: 409,
35
+ Gone: 410,
36
+ LengthRequired: 411,
37
+ PreconditionFailed: 412,
38
+ PayloadTooLarge: 413,
39
+ UriTooLong: 414,
40
+ UnsupportedMediaType: 415,
41
+ RangeNotSatisfiable: 416,
42
+ ExpectationFailed: 417,
43
+ ImATeapot: 418,
44
+ MisdirectedRequest: 421,
45
+ UnprocessableEntity: 422,
46
+ Locked: 423,
47
+ FailedDependency: 424,
48
+ TooEarly: 425,
49
+ UpgradeRequired: 426,
50
+ PreconditionRequired: 428,
51
+ TooManyRequests: 429,
52
+ RequestHeaderFieldsTooLarge: 431,
53
+ UnavailableForLegalReasons: 451,
54
+ InternalServerError: 500,
55
+ NotImplemented: 501,
56
+ BadGateway: 502,
57
+ ServiceUnavailable: 503,
58
+ GatewayTimeout: 504,
59
+ HttpVersionNotSupported: 505,
60
+ VariantAlsoNegotiates: 506,
61
+ InsufficientStorage: 507,
62
+ LoopDetected: 508,
63
+ NotExtended: 510,
64
+ NetworkAuthenticationRequired: 511
65
+ };
66
+ Object.entries(e).forEach(([t, o]) => {
67
+ e[o] = t;
68
+ });
69
+ export {
70
+ e as default
71
+ };
@@ -0,0 +1,18 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import c from "./styled-components.browser.esm.js";
3
+ import { token as r } from "./token.js";
4
+ function m({
5
+ children: o,
6
+ backgroundColor: e = r.gray25,
7
+ iconColor: n = r.gray400a,
8
+ ...t
9
+ }) {
10
+ return /* @__PURE__ */ i(l, { $backgroundColor: e, $iconColor: n, ...t, children: o });
11
+ }
12
+ const l = c.div.withConfig({
13
+ displayName: "Placeholder",
14
+ componentId: "sc-1qxxfir-0"
15
+ })(["display:flex;justify-content:center;align-items:center;min-height:100px;background:", ";color:", ";svg{width:48px;height:48px;}"], (o) => o.$backgroundColor, (o) => o.$iconColor);
16
+ export {
17
+ m as IconPlaceholder
18
+ };
package/Image.js ADDED
@@ -0,0 +1,19 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import i from "./styled-components.browser.esm.js";
3
+ import { token as o } from "./token.js";
4
+ function g({
5
+ src: r,
6
+ alt: a = ""
7
+ }) {
8
+ return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t(d, { src: r, alt: a, "data-testid": "ds-tooltip-image" }) });
9
+ }
10
+ const e = i.div.withConfig({
11
+ displayName: "ImageHolder",
12
+ componentId: "sc-ztsgek-0"
13
+ })(["margin:calc(", " * -1) calc(", " * -1) ", ";"], o.spacing4, o.spacing5, o.spacing3), d = i.img.withConfig({
14
+ displayName: "StyledImage",
15
+ componentId: "sc-ztsgek-1"
16
+ })(["vertical-align:top;width:100%;border-bottom:1px solid ", ";border-radius:var(--ds-tooltip-border-radius) var(--ds-tooltip-border-radius) 0 0;"], o.gray100a);
17
+ export {
18
+ g as Image
19
+ };
package/Images.js ADDED
@@ -0,0 +1,30 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import d from "./styled-components.browser.esm.js";
3
+ import { token as r } from "./token.js";
4
+ function a({
5
+ children: i,
6
+ ...t
7
+ }) {
8
+ return /* @__PURE__ */ n(c, { ...t, children: i });
9
+ }
10
+ const c = d.div.withConfig({
11
+ displayName: "ImagesStyled",
12
+ componentId: "sc-yiahyx-0"
13
+ })(["display:grid;grid-template-rows:1fr 1fr;grid-template-columns:3fr 2fr;gap:", ";min-height:10px;&:has(:first-child:last-child){display:flex;}"], r.spacing1);
14
+ function p({
15
+ src: i,
16
+ contentResize: t = "fill",
17
+ alt: e = "",
18
+ onError: l,
19
+ ...o
20
+ }) {
21
+ return /* @__PURE__ */ n(h, { src: i, alt: e, $contentResize: t, onError: l, ...o });
22
+ }
23
+ const h = d.img.withConfig({
24
+ displayName: "ImgStyled",
25
+ componentId: "sc-yiahyx-1"
26
+ })(["object-fit:", ";width:100%;height:100%;min-height:0;max-height:410px;&:nth-child(1){grid-row:1 / -1;grid-column:1;}&:nth-child(1):last-child{grid-column:span 2;}&:nth-child(2){grid-row:1;grid-column:2;}&:nth-child(2):last-child{grid-row:span 2;}&:nth-child(3){grid-row:2;grid-column:2;}"], (i) => i.$contentResize === "fill" ? "cover" : "scale-down");
27
+ export {
28
+ a as Images,
29
+ p as Img
30
+ };
package/Indicator.js ADDED
@@ -0,0 +1,74 @@
1
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
+ import f, { keyframes as s } from "./styled-components.browser.esm.js";
3
+ import { token as i } from "./token.js";
4
+ import { IconContainer as u, SvgIcon as o } from "./styles2.js";
5
+ const p = {
6
+ draft: L,
7
+ error: M,
8
+ loading: v,
9
+ negative: g,
10
+ positive: m
11
+ };
12
+ function B({
13
+ ...r
14
+ }) {
15
+ if ("type" in r) {
16
+ const {
17
+ type: l,
18
+ ...C
19
+ } = r, h = p[l];
20
+ return /* @__PURE__ */ t(h, { "data-thumbnail-indicator": !0, ...C });
21
+ }
22
+ const {
23
+ backgroundColor: e,
24
+ iconColor: a,
25
+ icon: c,
26
+ ...d
27
+ } = r;
28
+ return /* @__PURE__ */ t(u, { $backgroundColor: e || "gray400", $iconColor: a || "white", "data-thumbnail-indicator": !0, ...d, children: c });
29
+ }
30
+ function m({
31
+ ...r
32
+ }) {
33
+ return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.teal500, children: [
34
+ /* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
35
+ /* @__PURE__ */ t("path", { d: "m5.69215,11.43763c-0.58607,0.58607 -0.58607,1.53629 0,2.12236l3.18355,3.18363c0.21978,0.21971 0.49077,0.35703 0.77456,0.41195c0.12714,0.02461 0.25685,0.03272 0.38568,0.02431c0.35044,-0.02311 0.69432,-0.16853 0.96216,-0.43627l7.42831,-7.42836c0.58604,-0.58608 0.58604,-1.53629 0,-2.12238c-0.58604,-0.58607 -1.53631,-0.58607 -2.12235,0l-6.36715,6.36712l-2.12238,-2.12238c-0.58608,-0.58608 -1.53629,-0.58608 -2.12238,0z", fill: "white" })
36
+ ] });
37
+ }
38
+ function g({
39
+ ...r
40
+ }) {
41
+ return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.red400, children: [
42
+ /* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
43
+ /* @__PURE__ */ t("path", { d: "M 17.304688 6.695312 C 16.71875 6.109375 15.769531 6.109375 15.183594 6.695312 L 12 9.878906 L 8.816406 6.695312 C 8.230469 6.109375 7.28125 6.109375 6.695312 6.695312 C 6.109375 7.28125 6.109375 8.230469 6.695312 8.816406 L 9.878906 12 L 6.695312 15.183594 C 6.109375 15.769531 6.109375 16.71875 6.695312 17.304688 C 7.28125 17.890625 8.230469 17.890625 8.816406 17.304688 L 12 14.121094 L 15.183594 17.304688 C 15.769531 17.890625 16.71875 17.890625 17.304688 17.304688 C 17.890625 16.71875 17.890625 15.769531 17.304688 15.183594 L 14.121094 12 L 17.304688 8.816406 C 17.890625 8.230469 17.890625 7.28125 17.304688 6.695312 Z M 17.304688 6.695312", fill: "white" })
44
+ ] });
45
+ }
46
+ function M({
47
+ ...r
48
+ }) {
49
+ return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.red400, children: [
50
+ /* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
51
+ /* @__PURE__ */ t("path", { d: "M 13.5 4.5 L 10.5 4.5 L 10.5 13.5 L 13.5 13.5 Z M 13.5 4.5 ", fill: "white" }),
52
+ /* @__PURE__ */ t("path", { d: "M 13.5 16.5 L 10.5 16.5 L 10.5 19.5 L 13.5 19.5 Z M 13.5 16.5 ", fill: "white" })
53
+ ] });
54
+ }
55
+ function L({
56
+ ...r
57
+ }) {
58
+ return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.gray400, children: [
59
+ /* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
60
+ /* @__PURE__ */ t("path", { d: "M 7.5 10.5 C 6.671875 10.5 6 11.171875 6 12 C 6 12.828125 6.671875 13.5 7.5 13.5 C 8.328125 13.5 9 12.828125 9 12 C 9 11.171875 8.328125 10.5 7.5 10.5 Z M 10.5 12 C 10.5 11.171875 11.171875 10.5 12 10.5 C 12.828125 10.5 13.5 11.171875 13.5 12 C 13.5 12.828125 12.828125 13.5 12 13.5 C 11.171875 13.5 10.5 12.828125 10.5 12 Z M 15 12 C 15 11.171875 15.671875 10.5 16.5 10.5 C 17.328125 10.5 18 11.171875 18 12 C 18 12.828125 17.328125 13.5 16.5 13.5 C 15.671875 13.5 15 12.828125 15 12 Z M 15 12 ", fill: "white" })
61
+ ] });
62
+ }
63
+ function v({
64
+ ...r
65
+ }) {
66
+ return /* @__PURE__ */ t(o, { ...r, viewBox: "0 0 14 14", "aria-hidden": "true", fill: i.gray400, children: /* @__PURE__ */ t(k, { cx: "7", cy: "7", r: "5", fill: "transparent", strokeWidth: "2" }) });
67
+ }
68
+ const w = s(["0%{transform:rotate(0deg);stroke-dashoffset:6.6;}50%{transform:rotate(720deg);stroke-dashoffset:31.4;}100%{transform:rotate(1080deg);stroke-dashoffset:6.6;}"]), k = f.circle.withConfig({
69
+ displayName: "SvgSpinner",
70
+ componentId: "sc-chqga5-0"
71
+ })(["stroke:", ";transform-origin:center;animation:", " 2s linear infinite;stroke-dasharray:31.4;stroke-linecap:round;"], (r) => r.$color || i.gray400, w);
72
+ export {
73
+ B as Indicator
74
+ };
package/InfiniteScroll.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { jsxs as r, Fragment as o, jsx as t } from "react/jsx-runtime";
2
- import { useEffect as l } from "react";
3
- import { useInView as s } from "react-intersection-observer";
4
- import { styled as a } from "styled-components";
5
- import { Spinner as f } from "./Spinner.js";
2
+ import { useEffect as a } from "react";
3
+ import { useInView as f } from "react-intersection-observer";
4
+ import l from "./styled-components.browser.esm.js";
5
+ import { Spinner as s } from "./Spinner.js";
6
6
  function u(e) {
7
- const [n, i] = s();
8
- return l(() => {
7
+ const [n, i] = f();
8
+ return a(() => {
9
9
  i && !e.isLoading && e.hasNextPage && e.loadMore();
10
10
  }, [i]), /* @__PURE__ */ r(o, { children: [
11
11
  e.children,
12
- e.hasNextPage && /* @__PURE__ */ t(d, { ref: n, "data-testid": "loading-element", children: /* @__PURE__ */ t(f, { isHidden: !i, isRelative: !0 }) })
12
+ e.hasNextPage && /* @__PURE__ */ t(d, { ref: n, "data-testid": "loading-element", children: /* @__PURE__ */ t(s, { isHidden: !i, isRelative: !0 }) })
13
13
  ] });
14
14
  }
15
- const d = a.div`
15
+ const d = l.div`
16
16
  display: flex;
17
17
  justify-content: center;
18
18
  align-items: center;
@@ -0,0 +1,51 @@
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import n, { css as e } from "./styled-components.browser.esm.js";
3
+ import { IconError as u, IconWarning as m, IconInfo as v } from "./index4.js";
4
+ import { textStyles as l } from "./textStyles.js";
5
+ import { token as o } from "./token.js";
6
+ const f = {
7
+ info: /* @__PURE__ */ r(v, {}),
8
+ warning: /* @__PURE__ */ r(m, {}),
9
+ error: /* @__PURE__ */ r(u, {}),
10
+ neutral: null
11
+ };
12
+ function N({
13
+ children: i,
14
+ title: c,
15
+ icon: g,
16
+ link: a,
17
+ variant: t = "neutral",
18
+ ...p
19
+ }) {
20
+ const d = g || f[t];
21
+ return /* @__PURE__ */ s(h, { $variant: t, ...p, children: [
22
+ d && /* @__PURE__ */ r(b, { children: d }),
23
+ /* @__PURE__ */ s(k, { children: [
24
+ c && /* @__PURE__ */ r(x, { children: c }),
25
+ /* @__PURE__ */ r(y, { children: i }),
26
+ a && /* @__PURE__ */ r(I, { children: a })
27
+ ] })
28
+ ] });
29
+ }
30
+ const h = n.div.withConfig({
31
+ displayName: "InlineBannerStyled",
32
+ componentId: "sc-7vi6cq-0"
33
+ })(["", " display:flex;align-items:flex-start;padding:", " ", ";border-radius:", ";background:var(--background-color);"], (i) => i.$variant === "info" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.blue500a10, o.blue500, o.blue600, o.blue700) : i.$variant === "warning" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.yellow500a10, o.yellow500, o.orange900, o.orange1000) : i.$variant === "error" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.red500a10, o.red500, o.red600, o.red700) : e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.gray50, o.gray500, o.blue600, o.blue700), o.spacing4, o.spacing4, o.radiusMedium), b = n.div.withConfig({
34
+ displayName: "IconHolder",
35
+ componentId: "sc-7vi6cq-1"
36
+ })(["display:flex;width:24px;height:24px;margin-right:", ";color:var(--icon-color);"], o.spacing3), k = n.div.withConfig({
37
+ displayName: "TextWrapper",
38
+ componentId: "sc-7vi6cq-2"
39
+ })(["align-self:center;"]), x = n.div.withConfig({
40
+ displayName: "TitleHolder",
41
+ componentId: "sc-7vi6cq-3"
42
+ })(["", " margin-bottom:", ";color:", ";"], l.uiTextM, o.spacing2, o.gray1000), y = n.div.withConfig({
43
+ displayName: "DescriptionHolder",
44
+ componentId: "sc-7vi6cq-4"
45
+ })(["", " color:", ";"], l.uiTextS, o.gray800), I = n.div.withConfig({
46
+ displayName: "LinkHolder",
47
+ componentId: "sc-7vi6cq-5"
48
+ })(["", " margin-top:", ";a{color:var(--link-color);text-decoration:none;}a:hover{color:var(--link-color-hover);}a:focus-visible{border-radius:2px;box-shadow:0 0 0 2px ", ";outline:none;}"], l.uiTextS, o.spacing2, o.blue500);
49
+ export {
50
+ N as InlineBanner
51
+ };
package/Input.js ADDED
@@ -0,0 +1,109 @@
1
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as Y, useState as _, useRef as D } from "react";
3
+ import { IconShow as aa, IconHide as ea, IconClear as ta } from "./index4.js";
4
+ import { InputWrapper as na, LeftItems as ra, IconLeftContainer as ia, PrefixContainer as oa, InputStyled as sa, RightItems as la, SuffixContainer as da, ClearButton as ca, IconRightContainer as pa } from "./Input.styles.js";
5
+ import { InteractiveIcon as ua } from "./InteractiveIcon.js";
6
+ import { useTranslate as fa } from "./useTranslate.js";
7
+ import { Tooltip as ma } from "./Tooltip2.js";
8
+ const Pa = Y(({
9
+ hasClearButton: I = !1,
10
+ icon: l,
11
+ iconRight: d,
12
+ id: C,
13
+ name: y,
14
+ isDisabled: e = !1,
15
+ isReadOnly: g = !1,
16
+ isInvalid: c = !1,
17
+ isSmall: T = !1,
18
+ onBlur: x,
19
+ onChange: p,
20
+ onFocus: P,
21
+ onKeyDown: v,
22
+ onClean: R,
23
+ placeholder: S,
24
+ type: t = "text",
25
+ value: u,
26
+ variant: V = "outlined",
27
+ "aria-label": $,
28
+ "aria-labelledby": k,
29
+ "aria-describedby": B,
30
+ "aria-haspopup": L,
31
+ "aria-expanded": j,
32
+ "aria-controls": O,
33
+ "aria-autocomplete": q,
34
+ "aria-activedescendant": H,
35
+ inputRef: W,
36
+ maxLength: Z,
37
+ prefix: f,
38
+ suffix: m,
39
+ autoFocus: z = !1,
40
+ role: A,
41
+ autoComplete: E = "off",
42
+ ...h
43
+ }, F) => {
44
+ const [r, G] = _(!1), J = D(null), b = W || J, {
45
+ translate: i
46
+ } = fa();
47
+ function K(n) {
48
+ const X = n.currentTarget.value;
49
+ p?.(X);
50
+ }
51
+ const M = I && u.length > 0 && t !== "number" && t !== "password", w = h.clearButtonProps?.["aria-label"] ?? i("input.clear"), N = t === "password" ? r ? "text" : "password" : t;
52
+ function o() {
53
+ b?.current?.focus();
54
+ }
55
+ function Q() {
56
+ p?.(""), R?.(), o();
57
+ }
58
+ function U() {
59
+ G((n) => !n), o();
60
+ }
61
+ return /* @__PURE__ */ s(na, { ...h, $isDisabled: e, $isInvalid: c, $isSmall: T, onClick: o, ref: F, $variant: V, children: [
62
+ /* @__PURE__ */ s(ra, { "data-testid": "ds-input-left-items", children: [
63
+ l && /* @__PURE__ */ a(ia, { children: l }),
64
+ f && /* @__PURE__ */ a(oa, { children: f })
65
+ ] }),
66
+ /* @__PURE__ */ a(
67
+ sa,
68
+ {
69
+ autoComplete: E,
70
+ autoCorrect: "off",
71
+ disabled: e,
72
+ $isDisabled: e,
73
+ readOnly: g,
74
+ onBlur: x,
75
+ onChange: K,
76
+ onFocus: P,
77
+ onKeyDown: v,
78
+ placeholder: S,
79
+ ref: b,
80
+ spellCheck: !1,
81
+ type: N,
82
+ value: u,
83
+ "aria-label": $,
84
+ "aria-labelledby": k,
85
+ "aria-describedby": B,
86
+ "aria-haspopup": L,
87
+ "aria-expanded": j,
88
+ "aria-controls": O,
89
+ "aria-autocomplete": q,
90
+ "aria-activedescendant": H,
91
+ "aria-invalid": c,
92
+ role: A,
93
+ id: C,
94
+ name: y,
95
+ maxLength: Z,
96
+ autoFocus: z
97
+ }
98
+ ),
99
+ /* @__PURE__ */ s(la, { "data-testid": "ds-input-right-items", children: [
100
+ m && /* @__PURE__ */ a(da, { children: m }),
101
+ t === "password" && !e && /* @__PURE__ */ a(ua, { "data-testid": "ds-password-visibility-toggle", onClick: () => U(), label: i(r ? "input.hide-password" : "input.show-password"), icon: r ? /* @__PURE__ */ a(aa, {}) : /* @__PURE__ */ a(ea, {}), isTooltipShown: !0 }),
102
+ M && !e && /* @__PURE__ */ a(ma, { content: w, timing: "delay", children: (n) => /* @__PURE__ */ a(ca, { ...n, onClick: Q, type: "button", "aria-label": w, children: /* @__PURE__ */ a(ta, {}) }) }),
103
+ d && /* @__PURE__ */ a(pa, { children: d })
104
+ ] })
105
+ ] });
106
+ });
107
+ export {
108
+ Pa as Input
109
+ };
@@ -0,0 +1,71 @@
1
+ import e, { css as r } from "./styled-components.browser.esm.js";
2
+ import { token as o } from "./token.js";
3
+ import { textStyles as t } from "./textStyles.js";
4
+ import { makeInternalTokens as a } from "./makeInternalTokens.js";
5
+ const {
6
+ internalTokens: i,
7
+ declareTokens: d
8
+ } = a({
9
+ lightTheme: {
10
+ "input-fill": o.gray10,
11
+ "input-fill-disabled": o.gray25,
12
+ "input-border": o.gray100,
13
+ "input-border-hover": o.gray200,
14
+ "input-border-focus": o.gray300,
15
+ "input-border-disabled": o.gray100,
16
+ "input-shadow-hover": o.elevation1,
17
+ "input-focus-ring": o.gray100,
18
+ "input-clean-fill-hover": o.gray25a,
19
+ "input-clean-fill-focus": o.gray50a
20
+ },
21
+ darkTheme: {
22
+ "input-fill": "transparent",
23
+ "input-fill-disabled": o.gray50a,
24
+ "input-border": o.gray200a,
25
+ "input-border-hover": o.gray300a,
26
+ "input-border-focus": o.gray400a,
27
+ "input-border-disabled": o.gray100a,
28
+ "input-shadow-hover": "none",
29
+ "input-focus-ring": o.gray300a,
30
+ "input-clean-fill-hover": o.gray50a,
31
+ "input-clean-fill-focus": o.gray75a
32
+ }
33
+ }), u = e.div.withConfig({
34
+ displayName: "InputWrapper",
35
+ componentId: "sc-o548d8-0"
36
+ })(["", " ", " display:flex;align-items:center;box-sizing:border-box;width:100%;height:var(--ds-input-height);padding:0 var(--ds-input-side-padding);border:1px solid ", ";border-radius:", ";background:", ";&:hover{border-color:", ";box-shadow:", ";}&:focus-within{border-color:", ";box-shadow:0 0 0 3px ", ";}", ";", ";"], (n) => n.$isSmall ? r(["--ds-input-height:32px;--ds-input-side-padding:", ";--ds-input-icons-gap:", ";"], o.spacing4, o.spacing2) : r(["--ds-input-height:40px;--ds-input-side-padding:", ";--ds-input-icons-gap:", ";"], o.spacing5, o.spacing3), d, (n) => n.$isInvalid ? o.red500 : i["input-border"], o.radiusMedium, i["input-fill"], (n) => n.$isInvalid ? o.red600 : i["input-border-hover"], i["input-shadow-hover"], (n) => n.$isInvalid ? o.red500 : i["input-border-focus"], i["input-focus-ring"], (n) => n.$isDisabled && r(["border-color:", ";background:", ";color:", ";cursor:not-allowed;&:hover{border-color:", ";box-shadow:none;}"], i["input-border-disabled"], i["input-fill-disabled"], o.colorTextMuted, i["input-border-disabled"]), (n) => n.$variant === "clean" && r(["border-color:transparent;box-shadow:none;&:hover{border-color:transparent;background:", ";box-shadow:none;}&:focus-within{border-color:transparent;background:", ";box-shadow:none;}"], i["input-clean-fill-hover"], i["input-clean-fill-focus"])), g = e.input.withConfig({
37
+ displayName: "InputStyled",
38
+ componentId: "sc-o548d8-1"
39
+ })(["&&&{flex:1;width:auto;min-width:0;height:100%;margin:0 !important;padding:0 !important;border:0;background:transparent;color:", ";box-shadow:none;outline:none;font-family:", ";", " &::-webkit-inner-spin-button,&::-webkit-outer-spin-button{display:none;margin:0;appearance:none;}&[type='number']{appearance:textfield;}&::placeholder{color:", ";}&:disabled{color:", ";cursor:not-allowed;&::placeholder{color:", ";}}}"], o.colorText, o.brandFontStackBase, t.uiTextM, o.colorTextDisabled, o.colorTextMuted, o.colorTextDisabled), f = e.div.withConfig({
40
+ displayName: "LeftItems",
41
+ componentId: "sc-o548d8-2"
42
+ })(["display:flex;gap:var(--ds-input-icons-gap);align-items:center;margin-right:var(--ds-input-icons-gap);&:empty{display:none;}"]), h = e.div.withConfig({
43
+ displayName: "IconLeftContainer",
44
+ componentId: "sc-o548d8-3"
45
+ })(["flex:none;margin-left:calc(", " * -1);color:", ";"], o.spacing2, o.colorTextMuted), b = e.div.withConfig({
46
+ displayName: "PrefixContainer",
47
+ componentId: "sc-o548d8-4"
48
+ })(["color:", ";"], o.colorTextMuted), m = e.div.withConfig({
49
+ displayName: "RightItems",
50
+ componentId: "sc-o548d8-5"
51
+ })(["display:flex;flex:none;gap:var(--ds-input-icons-gap);align-items:center;margin-right:calc(", " * -1);margin-left:var(--ds-input-icons-gap);&:empty{display:none;}"], o.spacing2), y = e.div.withConfig({
52
+ displayName: "SuffixContainer",
53
+ componentId: "sc-o548d8-6"
54
+ })(["color:", ";&:last-child{margin-right:", ";}"], o.colorTextMuted, o.spacing2), x = e.div.withConfig({
55
+ displayName: "IconRightContainer",
56
+ componentId: "sc-o548d8-7"
57
+ })(["display:grid;flex:none;align-items:center;color:", ";"], o.colorTextMuted), v = e.button.withConfig({
58
+ displayName: "ClearButton",
59
+ componentId: "sc-o548d8-8"
60
+ })(["flex:none;padding:0;border:none;background:transparent;color:", ";cursor:pointer;&:hover,&:focus{color:", ";outline:none;}&:active{color:", ";}"], o.gray200a, o.gray300a, o.gray400a);
61
+ export {
62
+ v as ClearButton,
63
+ h as IconLeftContainer,
64
+ x as IconRightContainer,
65
+ g as InputStyled,
66
+ u as InputWrapper,
67
+ f as LeftItems,
68
+ b as PrefixContainer,
69
+ m as RightItems,
70
+ y as SuffixContainer
71
+ };
@@ -0,0 +1,9 @@
1
+ import a from "./styled-components.browser.esm.js";
2
+ import { token as n } from "./token.js";
3
+ const m = a.div.withConfig({
4
+ displayName: "InputContainer",
5
+ componentId: "sc-1gykuec-0"
6
+ })(["display:grid;grid-template-columns:", ";column-gap:", ";align-items:center;padding:0 ", " ", ";"], (i) => i.$hasAlphaChannel ? "minmax(10px, 1fr) 88px" : "minmax(0, 1fr)", n.spacing4, n.spacing5, n.spacing5);
7
+ export {
8
+ m as InputContainer
9
+ };
package/InputField.js ADDED
@@ -0,0 +1,74 @@
1
+ import { jsxs as C, jsx as o } from "react/jsx-runtime";
2
+ import { Form as t } from "./Form.js";
3
+ import { Input as D } from "./Input.js";
4
+ import { useId as d } from "./useId.js";
5
+ function N({
6
+ label: p,
7
+ labelSecondaryText: u,
8
+ helperText: r,
9
+ helperTextIcon: c,
10
+ // Common props
11
+ id: m,
12
+ name: l,
13
+ isInvalid: e,
14
+ // Input props
15
+ hasClearButton: s,
16
+ icon: f,
17
+ iconRight: x,
18
+ inputRef: I,
19
+ isDisabled: h,
20
+ isReadOnly: a,
21
+ isSmall: b,
22
+ maxLength: F,
23
+ onBlur: j,
24
+ onChange: y,
25
+ onClean: q,
26
+ onFocus: G,
27
+ onKeyDown: H,
28
+ placeholder: L,
29
+ type: T,
30
+ value: g,
31
+ variant: k,
32
+ prefix: v,
33
+ suffix: w,
34
+ autoFocus: z,
35
+ ...A
36
+ }) {
37
+ const B = d("input"), i = m || B, n = d("helper-text");
38
+ return /* @__PURE__ */ C(t.Group, { ...A, children: [
39
+ /* @__PURE__ */ o(t.Label, { secondaryText: u, htmlFor: i, children: p }),
40
+ /* @__PURE__ */ o(
41
+ D,
42
+ {
43
+ hasClearButton: s,
44
+ icon: f,
45
+ iconRight: x,
46
+ inputRef: I,
47
+ isDisabled: h,
48
+ isReadOnly: a,
49
+ isInvalid: e,
50
+ isSmall: b,
51
+ maxLength: F,
52
+ onBlur: j,
53
+ onChange: y,
54
+ onClean: q,
55
+ onFocus: G,
56
+ onKeyDown: H,
57
+ placeholder: L,
58
+ type: T,
59
+ value: g,
60
+ variant: k,
61
+ id: i,
62
+ name: l,
63
+ "aria-describedby": r ? n : void 0,
64
+ prefix: v,
65
+ suffix: w,
66
+ autoFocus: z
67
+ }
68
+ ),
69
+ r ? /* @__PURE__ */ o(t.HelperText, { icon: c, isInvalid: e, id: n, children: r }) : null
70
+ ] });
71
+ }
72
+ export {
73
+ N as InputField
74
+ };
package/InputRow.js ADDED
@@ -0,0 +1,18 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import r from "./styled-components.browser.esm.js";
3
+ import { token as i } from "./token.js";
4
+ import { useGroupParent as m } from "./useGroupContext.js";
5
+ import { InputWrapper as t } from "./Input.styles.js";
6
+ function w({
7
+ children: o,
8
+ ...p
9
+ }) {
10
+ return m("InputRow"), /* @__PURE__ */ n(e, { ...p, children: o });
11
+ }
12
+ const e = r.div.withConfig({
13
+ displayName: "InputRowStyled",
14
+ componentId: "sc-dtc4ax-0"
15
+ })(["display:flex;gap:", ";> *:not(", "){min-width:auto;}> ", "{min-width:0;}"], i.spacing4, t, t);
16
+ export {
17
+ w as InputRow
18
+ };
package/Inspector.js ADDED
@@ -0,0 +1,34 @@
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import i from "./styled-components.browser.esm.js";
3
+ import { Content as m } from "./Content.js";
4
+ import { Divider as s } from "./Divider.js";
5
+ import { Footer as c } from "./Footer.js";
6
+ import { Header as p } from "./Header22.js";
7
+ import { Tabs as a } from "./Tabs2.js";
8
+ import { token as t } from "./token.js";
9
+ const r = "336px";
10
+ function o({
11
+ children: e,
12
+ ...n
13
+ }) {
14
+ return /* @__PURE__ */ d(f, { ...n, children: e });
15
+ }
16
+ const f = i.div.withConfig({
17
+ displayName: "InspectorStyled",
18
+ componentId: "sc-e4iw1f-0"
19
+ })(["display:flex;flex-direction:column;box-sizing:border-box;width:", ";height:100%;border-left:1px solid ", ";background-color:", ";"], r, t.gray100a, t.white), l = i(s).withConfig({
20
+ displayName: "StyledDivider",
21
+ componentId: "sc-e4iw1f-1"
22
+ })(["margin-right:calc(", " * -1);margin-left:calc(", " * -1);"], t.spacing6, t.spacing6);
23
+ o.Header = p;
24
+ o.Tabs = a;
25
+ o.Content = m;
26
+ o.Divider = l;
27
+ o.Footer = c;
28
+ o.styles = {
29
+ width: r,
30
+ transition: "0.2s ease-in-out"
31
+ };
32
+ export {
33
+ o as Inspector
34
+ };
@@ -0,0 +1,28 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as u } from "react";
3
+ import { useFocusRing as b } from "./useFocusRing.js";
4
+ import g, { css as h } from "./styled-components.browser.esm.js";
5
+ import { Tooltip as y } from "./Tooltip2.js";
6
+ import { token as o } from "./token.js";
7
+ import { mergeRefs as v } from "./mergeRefs.js";
8
+ const W = u(({
9
+ icon: r,
10
+ onClick: s,
11
+ isTooltipShown: m = !1,
12
+ label: e,
13
+ isDisabled: a = !1,
14
+ tabIndex: n,
15
+ ...c
16
+ }, d) => {
17
+ const {
18
+ isFocusVisible: t,
19
+ focusProps: p
20
+ } = b();
21
+ return m ? /* @__PURE__ */ i(y, { content: e, isOpen: t ? !0 : void 0, children: (l) => /* @__PURE__ */ i(f, { ...c, ...l, ...p, ref: v(d, l.ref), onClick: s, disabled: a, type: "button", "aria-label": e, $isFocusVisible: t, tabIndex: n, children: r }) }) : /* @__PURE__ */ i(f, { ref: d, ...c, ...p, onClick: s, disabled: a, type: "button", "aria-label": e, $isFocusVisible: t, tabIndex: n, children: r });
22
+ }), f = g.button.withConfig({
23
+ displayName: "InteractiveIconWrapper",
24
+ componentId: "sc-54wd89-0"
25
+ })(["vertical-align:middle;width:24px;height:24px;padding:0;border:none;background:transparent;color:", ";cursor:pointer;&:hover,&:active{color:", ";}&:disabled{color:", ";cursor:not-allowed;}", ""], o.gray600, o.gray800, o.gray200, (r) => r.$isFocusVisible && h(["border-radius:2px;color:", ";box-shadow:0 0 0 2px ", ";outline:none;"], o.gray800, o.gray200));
26
+ export {
27
+ W as InteractiveIcon
28
+ };