@eightshift/ui-components 1.3.2 → 1.4.1

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 (110) hide show
  1. package/dist/{Button-DTARR6Ff.js → Button-uYE9D_E3.js} +6 -5
  2. package/dist/{ColorSwatch-5bZ_yIMB.js → ColorSwatch-Bev-9Vbr.js} +4 -4
  3. package/dist/{Dialog-DJgS0mAg.js → Dialog-CGE2ficT.js} +17 -15
  4. package/dist/{FieldError-CviphIN5.js → FieldError-CBPJ4Xx8.js} +2 -2
  5. package/dist/{FocusScope-BjM5iOQC.js → FocusScope-CVd6C65L.js} +24 -8
  6. package/dist/{GridList-DjRnMEae.js → GridList-PBJsm70G.js} +156 -116
  7. package/dist/{Group-BQu67pVS.js → Group-WZgNv9RE.js} +3 -3
  8. package/dist/Hidden-YSmyVF_5.js +45 -0
  9. package/dist/{Input-DWRQF0ro.js → Input-CaS4qmLb.js} +10 -9
  10. package/dist/{Label-BXvY41yE.js → Label-yZgqvhXc.js} +3 -2
  11. package/dist/ListBox-MZyPpwvj.js +567 -0
  12. package/dist/{Select-49a62830.esm-BnlXlUnT.js → Select-49a62830.esm-CqLHaIei.js} +1 -1
  13. package/dist/{SelectionManager-JxXmb3-k.js → SelectionManager-CvRaua4m.js} +1580 -1484
  14. package/dist/{Separator-CX64zwq8.js → Separator-C7Few7L6.js} +80 -62
  15. package/dist/{Slider-Clme2C36.js → Slider-D8a63VhT.js} +14 -12
  16. package/dist/{Text-qjognpzK.js → Text-D8qh3_U7.js} +1 -1
  17. package/dist/{VisuallyHidden-BZPezMV5.js → VisuallyHidden-DD480kAb.js} +2 -2
  18. package/dist/_commonjsHelpers-CUmg6egw.js +6 -0
  19. package/dist/{ariaHideOutside-BZ5z6iCD.js → ariaHideOutside-BzxkODNq.js} +1 -9
  20. package/dist/assets/style.css +1 -1
  21. package/dist/assets/wp-ui-enhancements.css +1 -1
  22. package/dist/components/animated-visibility/animated-visibility.js +311 -198
  23. package/dist/components/base-control/base-control.js +1 -1
  24. package/dist/components/button/button.js +274 -9
  25. package/dist/components/checkbox/checkbox.js +171 -1
  26. package/dist/components/color-pickers/color-picker.js +1 -1
  27. package/dist/components/color-pickers/color-swatch.js +3 -3
  28. package/dist/components/color-pickers/gradient-editor.js +3 -3
  29. package/dist/components/color-pickers/solid-color-picker.js +46 -32
  30. package/dist/components/component-toggle/component-toggle.js +2 -2
  31. package/dist/components/container-panel/container-panel.js +2 -2
  32. package/dist/components/draggable-list/draggable-list-item.js +3 -3
  33. package/dist/components/draggable-list/draggable-list.js +3671 -6
  34. package/dist/components/expandable/expandable.js +7 -4
  35. package/dist/components/index.js +4 -4
  36. package/dist/components/input-field/input-field.js +7 -7
  37. package/dist/components/link-input/link-input.js +1519 -489
  38. package/dist/components/list-box/list-box.js +2 -2
  39. package/dist/components/matrix-align/matrix-align.js +3 -3
  40. package/dist/components/menu/menu.js +164 -466
  41. package/dist/components/modal/modal.js +7 -7
  42. package/dist/components/number-picker/number-picker.js +22 -17
  43. package/dist/components/option-select/option-select.js +2 -2
  44. package/dist/components/placeholders/file-placeholder.js +1 -1
  45. package/dist/components/popover/popover.js +3 -3
  46. package/dist/components/radio/radio.js +13 -13
  47. package/dist/components/repeater/repeater-context.js +5 -0
  48. package/dist/components/repeater/repeater-item.js +46 -91
  49. package/dist/components/repeater/repeater.js +5130 -175
  50. package/dist/components/responsive/responsive-legacy.js +3 -3
  51. package/dist/components/responsive/responsive.js +3 -3
  52. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  53. package/dist/components/select/async-multi-select.js +3 -3
  54. package/dist/components/select/async-single-select.js +2 -2
  55. package/dist/components/select/custom-select-default-components.js +1 -1
  56. package/dist/components/select/multi-select-components.js +1 -1
  57. package/dist/components/select/multi-select.js +5 -5
  58. package/dist/components/select/react-select-component-wrappers.js +1 -1
  59. package/dist/components/select/single-select.js +2 -2
  60. package/dist/components/select/styles.js +1 -1
  61. package/dist/components/slider/column-config-slider.js +3 -3
  62. package/dist/components/slider/slider.js +3 -3
  63. package/dist/components/slider/utils.js +1 -1
  64. package/dist/components/tabs/tabs.js +46 -71
  65. package/dist/components/toggle/switch.js +6 -6
  66. package/dist/components/toggle/toggle.js +1 -1
  67. package/dist/components/toggle-button/toggle-button.js +7 -7
  68. package/dist/components/tooltip/tooltip.js +3 -3
  69. package/dist/{context-BG_1RnbC.js → context-Bon2Gyx5.js} +1 -1
  70. package/dist/{default-i18n-BqwLkgZv.js → default-i18n-BqWys-1G.js} +1 -1
  71. package/dist/{focusSafely-DGZ4R5fj.js → focusSafely-PMGZgZ9-.js} +33 -26
  72. package/dist/getScrollParent-B3XgpXBL.js +10 -0
  73. package/dist/icons/icons.js +205 -0
  74. package/dist/icons/jsx-svg.js +2 -2
  75. package/dist/{index-CAPcSs9K.js → index-BTCzc3zb.js} +1 -1
  76. package/dist/{index-a301f526.esm-ByOfDxiG.js → index-a301f526.esm-B9tWL9yi.js} +80 -603
  77. package/dist/index.js +4 -4
  78. package/dist/{intlStrings-CkuKCPkT.js → intlStrings-KQxgp5tS.js} +14 -9
  79. package/dist/{multi-select-components-7vKCF8dG.js → multi-select-components-DTvEidE3.js} +1 -1
  80. package/dist/react-jsx-parser.min-CAGfntg1.js +13425 -0
  81. package/dist/{react-select-async.esm-5zW9Dv9E.js → react-select-async.esm-8Rba_3KV.js} +3 -3
  82. package/dist/{react-select.esm-Bi6uzjbT.js → react-select.esm-DkSeQzOP.js} +3 -3
  83. package/dist/{textSelection-BLyBtNe2.js → textSelection-DS7-670U.js} +1 -1
  84. package/dist/{tooltip-DSk8I1SO.js → tooltip-C9mg1CP5.js} +54 -18
  85. package/dist/{useButton-EJ9c8fmq.js → useButton-BPY4yXUo.js} +3 -3
  86. package/dist/{useEvent-Cxq_BzP_.js → useEvent-DDLT851Z.js} +1 -1
  87. package/dist/{useFocusRing-Dg5Y_10S.js → useFocusRing-DsxEaA2J.js} +1 -1
  88. package/dist/{useFocusable-CQZyQp4q.js → useFocusable-BFKHuYS9.js} +2 -2
  89. package/dist/{useFormReset-DJMtIgSL.js → useFormReset-BCPbwfnH.js} +1 -1
  90. package/dist/{useFormValidationState-DDC_nImg.js → useFormValidationState-DC5jbhBW.js} +2 -2
  91. package/dist/{useHasTabbableChild-M3O3VIil.js → useHasTabbableChild-Byd7ylXD.js} +2 -2
  92. package/dist/{useLabel-6NqYraET.js → useLabel-DuJhImKc.js} +2 -2
  93. package/dist/{useLabels-D2RG7TdI.js → useLabels-JaBafrnV.js} +1 -1
  94. package/dist/{useListData-BpYQj7kK.js → useListData-B5Pk32vd.js} +6 -3
  95. package/dist/{useListState-IllYYnXV.js → useListState-Csx05BmT.js} +6 -3
  96. package/dist/{useLocalizedStringFormatter-Cwm_siat.js → useLocalizedStringFormatter-CVIIVTgz.js} +1 -1
  97. package/dist/useMenuTrigger-CMgzyMKW.js +246 -0
  98. package/dist/{useNumberFieldState-CVJOJnF1.js → useNumberFieldState-BVFqhboT.js} +12 -11
  99. package/dist/{useNumberFormatter-DVZRQXk3.js → useNumberFormatter-BEeBSV-N.js} +1 -1
  100. package/dist/{usePress-CiXj8dLE.js → usePress-CY8MpqYD.js} +58 -16
  101. package/dist/useSingleSelectListState-CzZUgAt0.js +37 -0
  102. package/dist/{useToggle-CV-IX6nL.js → useToggle-CJp2Fh_L.js} +4 -4
  103. package/dist/{useToggleState-DHIdITtQ.js → useToggleState-B4--Ski0.js} +1 -1
  104. package/dist/{utils-DC-UMp1n.js → utils-B4IdLYb8.js} +48 -85
  105. package/package.json +24 -21
  106. package/dist/Checkbox-CiJIVbAP.js +0 -174
  107. package/dist/ListBox-DTKMdjQC.js +0 -4216
  108. package/dist/_commonjsHelpers-DWwsNxpa.js +0 -8
  109. package/dist/button-IxfzzzbP.js +0 -277
  110. package/dist/react-jsx-parser.min-DhrYeqLL.js +0 -4563
@@ -29312,6 +29312,211 @@ const icons = {
29312
29312
  )
29313
29313
  ]
29314
29314
  }
29315
+ ),
29316
+ verticalAlignAlt: /* @__PURE__ */ jsxs(
29317
+ "svg",
29318
+ {
29319
+ xmlns: "http://www.w3.org/2000/svg",
29320
+ viewBox: "0 0 20 20",
29321
+ width: "20",
29322
+ height: "20",
29323
+ fill: "none",
29324
+ children: [
29325
+ /* @__PURE__ */ jsx(
29326
+ "rect",
29327
+ {
29328
+ width: "8",
29329
+ height: "15",
29330
+ rx: "1.5",
29331
+ transform: "matrix(0 1 1 0 2.5 6)",
29332
+ stroke: "currentColor",
29333
+ fill: "none"
29334
+ }
29335
+ ),
29336
+ /* @__PURE__ */ jsx(
29337
+ "path",
29338
+ {
29339
+ d: "M19 1H1m18 18H1",
29340
+ stroke: "currentColor",
29341
+ strokeLinecap: "round",
29342
+ strokeLinejoin: "round",
29343
+ fill: "none"
29344
+ }
29345
+ )
29346
+ ]
29347
+ }
29348
+ ),
29349
+ horizontalAlignAlt: /* @__PURE__ */ jsxs(
29350
+ "svg",
29351
+ {
29352
+ xmlns: "http://www.w3.org/2000/svg",
29353
+ viewBox: "0 0 20 20",
29354
+ width: "20",
29355
+ height: "20",
29356
+ fill: "none",
29357
+ children: [
29358
+ /* @__PURE__ */ jsx(
29359
+ "rect",
29360
+ {
29361
+ width: "8",
29362
+ height: "15",
29363
+ rx: "1.5",
29364
+ transform: "matrix(1 0 0 -1 6 17.5)",
29365
+ stroke: "currentColor",
29366
+ fill: "none"
29367
+ }
29368
+ ),
29369
+ /* @__PURE__ */ jsx(
29370
+ "path",
29371
+ {
29372
+ d: "M1 1v18M19 1v18",
29373
+ stroke: "currentColor",
29374
+ strokeLinecap: "round",
29375
+ strokeLinejoin: "round",
29376
+ fill: "none"
29377
+ }
29378
+ )
29379
+ ]
29380
+ }
29381
+ ),
29382
+ tagAlt: /* @__PURE__ */ jsxs(
29383
+ "svg",
29384
+ {
29385
+ xmlns: "http://www.w3.org/2000/svg",
29386
+ viewBox: "0 0 20 20",
29387
+ width: "20",
29388
+ height: "20",
29389
+ fill: "none",
29390
+ children: [
29391
+ /* @__PURE__ */ jsx(
29392
+ "path",
29393
+ {
29394
+ d: "M14.75 6.063C14.75 3.267 12.498 1 9.72 1 8.246 1 6.92 1.64 6 2.658a1.413 1.413 0 0 0 0 1.988c.545.55 1.43.55 1.975 0l.245-.25a2.219 2.219 0 0 1 1.502-.583 2.243 2.243 0 0 1 2.235 2.25c0 1.242-1 2.25-2.235 2.25H6.75a1.5 1.5 0 0 0-1.5 1.5V17.5a1.5 1.5 0 0 0 1.5 1.5h6.5a1.5 1.5 0 0 0 1.5-1.5V6.062Z",
29395
+ stroke: "currentColor",
29396
+ fill: "none"
29397
+ }
29398
+ ),
29399
+ /* @__PURE__ */ jsx(
29400
+ "path",
29401
+ {
29402
+ d: "M7.25 17h5.5",
29403
+ stroke: "currentColor",
29404
+ strokeOpacity: "0.5",
29405
+ strokeLinecap: "round",
29406
+ fill: "none"
29407
+ }
29408
+ )
29409
+ ]
29410
+ }
29411
+ ),
29412
+ door: /* @__PURE__ */ jsxs(
29413
+ "svg",
29414
+ {
29415
+ xmlns: "http://www.w3.org/2000/svg",
29416
+ viewBox: "0 0 20 20",
29417
+ width: "20",
29418
+ height: "20",
29419
+ fill: "none",
29420
+ children: [
29421
+ /* @__PURE__ */ jsx(
29422
+ "rect",
29423
+ {
29424
+ x: "5",
29425
+ y: "2",
29426
+ width: "10",
29427
+ height: "16",
29428
+ rx: "1.5",
29429
+ stroke: "currentColor",
29430
+ fill: "none"
29431
+ }
29432
+ ),
29433
+ /* @__PURE__ */ jsx(
29434
+ "circle",
29435
+ {
29436
+ cx: "7.5",
29437
+ cy: "10",
29438
+ r: "1",
29439
+ fill: "currentColor"
29440
+ }
29441
+ )
29442
+ ]
29443
+ }
29444
+ ),
29445
+ doorOut: /* @__PURE__ */ jsxs(
29446
+ "svg",
29447
+ {
29448
+ xmlns: "http://www.w3.org/2000/svg",
29449
+ viewBox: "0 0 20 20",
29450
+ width: "20",
29451
+ height: "20",
29452
+ fill: "none",
29453
+ children: [
29454
+ /* @__PURE__ */ jsx(
29455
+ "path",
29456
+ {
29457
+ d: "M14 10.5V3a1.5 1.5 0 0 0-1.5-1.5h-7A1.5 1.5 0 0 0 4 3v13a1.5 1.5 0 0 0 1.5 1.5H8",
29458
+ stroke: "currentColor",
29459
+ fill: "none"
29460
+ }
29461
+ ),
29462
+ /* @__PURE__ */ jsx(
29463
+ "path",
29464
+ {
29465
+ "clip-rule": "evenodd",
29466
+ fillRule: "evenodd",
29467
+ d: "M17 18a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 9 18v-5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 17 13v5Zm-1.646-2.146a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708.708L13.793 15H11a.5.5 0 0 0 0 1h2.793l-1.147 1.146a.5.5 0 0 0 .708.708l2-2Z",
29468
+ fill: "currentColor"
29469
+ }
29470
+ ),
29471
+ /* @__PURE__ */ jsx(
29472
+ "circle",
29473
+ {
29474
+ cx: "6.5",
29475
+ cy: "9.5",
29476
+ r: "1",
29477
+ fill: "currentColor"
29478
+ }
29479
+ )
29480
+ ]
29481
+ }
29482
+ ),
29483
+ doorIn: /* @__PURE__ */ jsxs(
29484
+ "svg",
29485
+ {
29486
+ xmlns: "http://www.w3.org/2000/svg",
29487
+ viewBox: "0 0 20 20",
29488
+ width: "20",
29489
+ height: "20",
29490
+ fill: "none",
29491
+ children: [
29492
+ /* @__PURE__ */ jsx(
29493
+ "path",
29494
+ {
29495
+ d: "M6 10.5V3a1.5 1.5 0 0 1 1.5-1.5h7A1.5 1.5 0 0 1 16 3v13a1.5 1.5 0 0 1-1.5 1.5H12",
29496
+ stroke: "currentColor",
29497
+ fill: "none"
29498
+ }
29499
+ ),
29500
+ /* @__PURE__ */ jsx(
29501
+ "path",
29502
+ {
29503
+ "clip-rule": "evenodd",
29504
+ fillRule: "evenodd",
29505
+ d: "M11 18a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 3 18v-5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 11 13v5Zm-1.646-2.146a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708.708L7.793 15H5a.5.5 0 0 0 0 1h2.793l-1.147 1.146a.5.5 0 0 0 .708.708l2-2Z",
29506
+ fill: "currentColor"
29507
+ }
29508
+ ),
29509
+ /* @__PURE__ */ jsx(
29510
+ "circle",
29511
+ {
29512
+ cx: "13.5",
29513
+ cy: "9.5",
29514
+ r: "1",
29515
+ fill: "currentColor"
29516
+ }
29517
+ )
29518
+ ]
29519
+ }
29315
29520
  )
29316
29521
  };
29317
29522
  const illustrations = {
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { s as svgToJsxString, J as JsxParser } from "../react-jsx-parser.min-DhrYeqLL.js";
2
+ import { s as svgToJsxString, a as source_default } from "../react-jsx-parser.min-CAGfntg1.js";
3
3
  /**
4
4
  * Renders SVG string as JSX SVGs.
5
5
  *
@@ -25,7 +25,7 @@ const JsxSvg = (props) => {
25
25
  jsxString = jsxString.replace("<svg ", `<svg className="${className}" `);
26
26
  }
27
27
  return /* @__PURE__ */ jsx(
28
- JsxParser,
28
+ source_default,
29
29
  {
30
30
  renderInWrapper: false,
31
31
  jsx: jsxString
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.js";
1
+ import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.js";
2
2
  import React__default from "react";
3
3
  var reactDom = { exports: {} };
4
4
  var reactDom_production_min = {};