eat-js-sdk 2.0.57 → 2.0.58
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.
|
@@ -15756,7 +15756,7 @@ var root_2$1 = /* @__PURE__ */ from_html(`<button aria-label="Reset words" class
|
|
|
15756
15756
|
text-blue-1000 px-3 py-2 absolute right-0 -top-2.5 hover:bg-blue-100"><span class="h-6 w-6 flex items-center justify-center"><!></span> <span class="text-base leading-4 font-bold ml-1 group-hover:underline">Reset <span class="hidden md:inline-block">words</span></span></button>`);
|
|
15757
15757
|
var root_1$4 = /* @__PURE__ */ from_html(
|
|
15758
15758
|
`<button type="button" aria-label="Skip to Word Bin" class="flex items-center text-charcoal border-l-6 border-charcoal bg-yellow-1000 py-1.5 pr-3 pl-4 focus-visible:border-charcoal
|
|
15759
|
-
left-[-9999px] z-0 focus-within:left-0 focus-within:right-0 focus-within:top-0 absolute focus-within:z-30 focus-visible:outline-none"><span class="test-base font-semibold underline mr-1">Skip to Word Bin</span> <span class="text-inherit h-6 w-6 flex items-center justify-center"><!></span></button> <div class="w-full relative"><div class="sr-only" role="status" aria-live="polite" aria-atomic="true" tabindex="-1"> </div> <div class="mt-7.5 mb-6 relative md:text-center md:mb-8 md:mt-14"><p class="text-base leading-5 !text-gray-900 font-semibold md:item-heading">Categories</p> <!></div>
|
|
15759
|
+
left-[-9999px] z-0 focus-within:left-0 focus-within:right-0 focus-within:top-0 absolute focus-within:z-30 focus-visible:outline-none"><span class="test-base font-semibold underline mr-1">Skip to Word Bin</span> <span class="text-inherit h-6 w-6 flex items-center justify-center"><!></span></button> <div class="w-full relative"><div class="sr-only" role="status" aria-live="polite" aria-atomic="true" tabindex="-1"> </div> <div class="mt-7.5 mb-6 relative md:text-center md:mb-8 md:mt-14"><p class="text-base leading-5 !text-gray-900 font-semibold md:item-heading">Categories</p> <!></div> <!> <!> <!></div>`,
|
|
15760
15760
|
1
|
|
15761
15761
|
);
|
|
15762
15762
|
function CategoriseComponent($$anchor, $$props) {
|
|
@@ -15775,7 +15775,6 @@ function CategoriseComponent($$anchor, $$props) {
|
|
|
15775
15775
|
let dragHoverContainerId = /* @__PURE__ */ state(null);
|
|
15776
15776
|
let dragSourceContainerId = /* @__PURE__ */ state(null);
|
|
15777
15777
|
let announcement = /* @__PURE__ */ state("");
|
|
15778
|
-
let srOnlyFocusTrapRef = /* @__PURE__ */ state(void 0);
|
|
15779
15778
|
let srDivRef = /* @__PURE__ */ state(void 0);
|
|
15780
15779
|
let skipToWordBinRef = /* @__PURE__ */ state(void 0);
|
|
15781
15780
|
let wordBinRef = /* @__PURE__ */ state(void 0);
|
|
@@ -15990,9 +15989,6 @@ function CategoriseComponent($$anchor, $$props) {
|
|
|
15990
15989
|
}
|
|
15991
15990
|
await playDropAnimation(containerId);
|
|
15992
15991
|
await tick();
|
|
15993
|
-
if (get$1(srOnlyFocusTrapRef)) {
|
|
15994
|
-
get$1(srOnlyFocusTrapRef).focus();
|
|
15995
|
-
}
|
|
15996
15992
|
};
|
|
15997
15993
|
const handleNavigateItem = (direction) => {
|
|
15998
15994
|
const result = useNavigateItem(
|
|
@@ -16267,9 +16263,7 @@ function CategoriseComponent($$anchor, $$props) {
|
|
|
16267
16263
|
});
|
|
16268
16264
|
}
|
|
16269
16265
|
reset(div_2);
|
|
16270
|
-
var
|
|
16271
|
-
bind_this(span_2, ($$value) => set(srOnlyFocusTrapRef, $$value), () => get$1(srOnlyFocusTrapRef));
|
|
16272
|
-
var node_3 = sibling(span_2, 2);
|
|
16266
|
+
var node_3 = sibling(div_2, 2);
|
|
16273
16267
|
{
|
|
16274
16268
|
let $02 = /* @__PURE__ */ user_derived(() => !!config().stimulus);
|
|
16275
16269
|
CategoriseCategoryList(node_3, {
|