@pathscale/ui 2.6.3 → 2.6.5

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 (38) hide show
  1. package/dist/components/accordion/Accordion.generated.js +2 -2
  2. package/dist/components/avatar/Avatar.generated.js +1 -1
  3. package/dist/components/breadcrumb/Breadcrumb.generated.js +1 -1
  4. package/dist/components/button-group/context.d.ts +1 -1
  5. package/dist/components/button-group/context.js +1 -1
  6. package/dist/components/checkbox-group/context.d.ts +1 -1
  7. package/dist/components/checkbox-group/context.js +1 -1
  8. package/dist/components/collapsible/Collapsible.generated.js +1 -1
  9. package/dist/components/color-picker/ColorPicker.generated.js +1 -1
  10. package/dist/components/color-swatch-picker/ColorSwatchPicker.generated.d.ts +1 -1
  11. package/dist/components/color-swatch-picker/ColorSwatchPicker.generated.js +1 -1
  12. package/dist/components/combo-box/ComboBox.generated.js +1 -1
  13. package/dist/components/date-field/DateField.generated.js +1 -1
  14. package/dist/components/dialog/Dialog.generated.js +1 -1
  15. package/dist/components/drawer/Drawer.context.d.ts +1 -1
  16. package/dist/components/drawer/Drawer.context.js +1 -1
  17. package/dist/components/dropdown/Dropdown.generated.js +1 -1
  18. package/dist/components/immersive-landing/ImmersiveLandingContext.d.ts +1 -1
  19. package/dist/components/immersive-landing/ImmersiveLandingContext.js +1 -1
  20. package/dist/components/input/Input.generated.js +1 -1
  21. package/dist/components/input-otp/InputOTP.generated.js +1 -1
  22. package/dist/components/language-switcher/createI18n.d.ts +1 -1
  23. package/dist/components/language-switcher/createI18n.js +1 -1
  24. package/dist/components/list-box/context.d.ts +1 -1
  25. package/dist/components/list-box/context.js +1 -1
  26. package/dist/components/menu/context.d.ts +1 -1
  27. package/dist/components/menu/context.js +1 -1
  28. package/dist/components/meter/Meter.generated.js +1 -1
  29. package/dist/components/popover/Popover.generated.js +1 -1
  30. package/dist/components/radio-group/context.d.ts +1 -1
  31. package/dist/components/radio-group/context.js +1 -1
  32. package/dist/components/select/Select.generated.js +1 -1
  33. package/dist/components/tabs/Tabs.generated.js +1 -1
  34. package/dist/components/time-field/TimeField.generated.js +1 -1
  35. package/dist/components/toast/Toast.generated.js +1 -1
  36. package/dist/components/tooltip/Tooltip.generated.js +1 -1
  37. package/dist/layouts.manifest.json +1 -1
  38. package/package.json +1 -1
@@ -17,8 +17,8 @@ const invokeEventHandler = (handler, event)=>{
17
17
  if ("function" == typeof handler) return void handler(event);
18
18
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
19
19
  };
20
- const AccordionContext = createContext();
21
- const AccordionItemContext = createContext();
20
+ const AccordionContext = createContext(null);
21
+ const AccordionItemContext = createContext(null);
22
22
  const __solidLayoutAccordionRoot = (_stable, p)=>{
23
23
  const others = omit(p, "children", "class", "dataTheme", "style", "selectionMode", "value", "defaultValue", "onValueChange", "hideSeparator", "variant", "state", "disabled", "ref");
24
24
  const selectionMode = ()=>p.selectionMode ?? "single";
@@ -5,7 +5,7 @@ import { Show, createContext, createSignal, omit, onSettled, useContext } from "
5
5
  import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Avatar.recipe.js";
7
7
  var _tmpl$ = /*#__PURE__*/ template("<span>"), _tmpl$2 = /*#__PURE__*/ template("<img>");
8
- const AvatarContext = createContext();
8
+ const AvatarContext = createContext(null);
9
9
  const useAvatarContext = ()=>{
10
10
  const ctx = useContext(AvatarContext);
11
11
  if (!ctx) throw new Error("Avatar compound components must be used within <Avatar>");
@@ -5,7 +5,7 @@ import { Show, createContext, omit, useContext } from "solid-js";
5
5
  import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Breadcrumb.recipe.js";
7
7
  var _tmpl$ = /*#__PURE__*/ template('<svg aria-hidden=true data-slot=breadcrumb-separator fill=none height=12 viewBox="0 0 24 24"width=12><path d="M9 18l6-6-6-6"stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2>'), _tmpl$2 = /*#__PURE__*/ template("<nav>"), _tmpl$3 = /*#__PURE__*/ template("<a>"), _tmpl$4 = /*#__PURE__*/ template("<span>"), _tmpl$5 = /*#__PURE__*/ template("<li><!><!>");
8
- const BreadcrumbContext = createContext();
8
+ const BreadcrumbContext = createContext(null);
9
9
  const useBreadcrumbContext = ()=>{
10
10
  const ctx = useContext(BreadcrumbContext);
11
11
  if (!ctx) throw new Error("Breadcrumb.Item must be used within <Breadcrumb>");
@@ -5,4 +5,4 @@ export type ButtonGroupContextValue = {
5
5
  isDisabled: () => boolean | undefined;
6
6
  fullWidth: () => boolean | undefined;
7
7
  };
8
- export declare const ButtonGroupContext: import("solid-js").Context<ButtonGroupContextValue>;
8
+ export declare const ButtonGroupContext: import("solid-js").Context<ButtonGroupContextValue | null>;
@@ -1,3 +1,3 @@
1
1
  import { createContext } from "solid-js";
2
- const ButtonGroupContext = createContext();
2
+ const ButtonGroupContext = createContext(null);
3
3
  export { ButtonGroupContext };
@@ -8,4 +8,4 @@ export type CheckboxGroupContextValue = {
8
8
  isInvalid: Accessor<boolean>;
9
9
  toggleValue: (optionValue: string, checked: boolean, event: Event) => void;
10
10
  };
11
- export declare const CheckboxGroupContext: import("solid-js").Context<CheckboxGroupContextValue>;
11
+ export declare const CheckboxGroupContext: import("solid-js").Context<CheckboxGroupContextValue | null>;
@@ -1,3 +1,3 @@
1
1
  import { createContext } from "solid-js";
2
- const CheckboxGroupContext = createContext();
2
+ const CheckboxGroupContext = createContext(null);
3
3
  export { CheckboxGroupContext };
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Collapsible.recipe.js";
7
7
  import { shouldMountCollapsibleContent } from "./Collapsible.mounting.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<h3>"), _tmpl$3 = /*#__PURE__*/ template("<button>"), _tmpl$4 = /*#__PURE__*/ template("<div><div>"), _tmpl$5 = /*#__PURE__*/ template("<span>"), _tmpl$6 = /*#__PURE__*/ template('<svg fill=none role=presentation viewBox="0 0 24 24"width=100% height=100%><path d="M6 9L12 15L18 9"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>');
9
- const CollapsibleContext = createContext();
9
+ const CollapsibleContext = createContext(null);
10
10
  const useCollapsibleContext = ()=>{
11
11
  const ctx = useContext(CollapsibleContext);
12
12
  if (!ctx) throw new Error("Collapsible compound components must be used within <Collapsible>");
@@ -10,7 +10,7 @@ import { formatColor, parseColor, rgbToHex } from "../color-wheel-flower/ColorUt
10
10
  import { CLASSES, componentRecipe } from "./ColorPicker.recipe.js";
11
11
  var _tmpl$ = /*#__PURE__*/ template("<div>");
12
12
  const DEFAULT_COLOR = "#3B82F6";
13
- const ColorPickerContext = createContext();
13
+ const ColorPickerContext = createContext(null);
14
14
  const clamp = (value, min, max)=>Math.min(max, Math.max(min, value));
15
15
  const normalizeHue = (value)=>(value % 360 + 360) % 360;
16
16
  const normalizeHsv = (value)=>({
@@ -8,7 +8,7 @@ export type ColorSwatchPickerContextValue = {
8
8
  isDisabled: Accessor<boolean>;
9
9
  select: (value: string) => void;
10
10
  };
11
- export declare const ColorSwatchPickerContext: import("solid-js").Context<ColorSwatchPickerContextValue>;
11
+ export declare const ColorSwatchPickerContext: import("solid-js").Context<ColorSwatchPickerContextValue | null>;
12
12
  export type ColorSwatchPickerProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "onChange"> & UIBaseProps & {
13
13
  children: JSX.Element;
14
14
  value?: string;
@@ -9,7 +9,7 @@ const invokeEventHandler = (handler, event)=>{
9
9
  if ("function" == typeof handler) return void handler(event);
10
10
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
11
11
  };
12
- const ColorSwatchPickerContext = createContext();
12
+ const ColorSwatchPickerContext = createContext(null);
13
13
  const __solidLayoutColorSwatchPicker = (_stable, p)=>{
14
14
  const others = omit(p, "class", "children", "value", "defaultValue", "onChange", "state", "dataTheme", "role", "onKeyDown");
15
15
  const [internalValue, setInternalValue] = createSignal(p.defaultValue);
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./ComboBox.recipe.js";
7
7
  import { resolveState } from "../vocabulary.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<input type=hidden>"), _tmpl$2 = /*#__PURE__*/ template("<div><!><!>"), _tmpl$3 = /*#__PURE__*/ template("<span>"), _tmpl$4 = /*#__PURE__*/ template("<div>"), _tmpl$5 = /*#__PURE__*/ template("<input>"), _tmpl$6 = /*#__PURE__*/ template("<button><!><!><!>"), _tmpl$7 = /*#__PURE__*/ template("<div>No matching options"), _tmpl$8 = /*#__PURE__*/ template("<div><span>"), _tmpl$9 = /*#__PURE__*/ template("<span><span>");
9
- const ComboBoxContext = createContext();
9
+ const ComboBoxContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./DateField.recipe.js";
7
7
  import { resolveState } from "../vocabulary.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<input>"), _tmpl$3 = /*#__PURE__*/ template("<span>");
9
- const DateFieldContext = createContext();
9
+ const DateFieldContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import "../_shared/material.css";
7
7
  import { CLASSES, componentRecipe } from "./Dialog.recipe.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<button>"), _tmpl$3 = /*#__PURE__*/ template("<div><div>"), _tmpl$4 = /*#__PURE__*/ template("<h2>"), _tmpl$5 = /*#__PURE__*/ template('<svg><path d="M18 6L6 18M6 6L18 18"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>');
9
- const DialogContext = createContext();
9
+ const DialogContext = createContext(null);
10
10
  const useModalContext = ()=>{
11
11
  const context = useContext(DialogContext);
12
12
  if (!context) throw new Error("Dialog compound components must be used within <Dialog>.");
@@ -23,5 +23,5 @@ export type DrawerContextValue = {
23
23
  setBackdropDismissableOverride: (value: boolean | undefined) => void;
24
24
  setBackdropCloseOnClickOverride: (value: boolean | undefined) => void;
25
25
  };
26
- export declare const DrawerContext: import("solid-js").Context<DrawerContextValue>;
26
+ export declare const DrawerContext: import("solid-js").Context<DrawerContextValue | null>;
27
27
  export declare const useDrawerContext: () => DrawerContextValue;
@@ -1,5 +1,5 @@
1
1
  import { createContext, useContext } from "solid-js";
2
- const DrawerContext = createContext();
2
+ const DrawerContext = createContext(null);
3
3
  const useDrawerContext = ()=>{
4
4
  const ctx = useContext(DrawerContext);
5
5
  if (!ctx) throw new Error("Drawer compound components must be used within <Drawer.Root>.");
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { createOverlayPosition } from "../_shared/overlayPosition.js";
7
7
  import { CLASSES, componentRecipe } from "./Dropdown.recipe.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<button>"), _tmpl$3 = /*#__PURE__*/ template("<div><div>");
9
- const DropdownContext = createContext();
9
+ const DropdownContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -1,3 +1,3 @@
1
1
  import type { ImmersiveLandingContextValue } from "./types";
2
- export declare const ImmersiveLandingContext: import("solid-js").Context<ImmersiveLandingContextValue>;
2
+ export declare const ImmersiveLandingContext: import("solid-js").Context<ImmersiveLandingContextValue | null>;
3
3
  export declare function useImmersiveLandingContext(): ImmersiveLandingContextValue;
@@ -1,5 +1,5 @@
1
1
  import { createContext, useContext } from "solid-js";
2
- const ImmersiveLandingContext = createContext();
2
+ const ImmersiveLandingContext = createContext(null);
3
3
  function useImmersiveLandingContext() {
4
4
  const context = useContext(ImmersiveLandingContext);
5
5
  if (!context) throw new Error("useImmersiveLandingContext must be used within an ImmersiveLanding component");
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Input.recipe.js";
7
7
  import { resolveState } from "../vocabulary.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<span>"), _tmpl$3 = /*#__PURE__*/ template("<div><input><!>"), _tmpl$4 = /*#__PURE__*/ template("<label>"), _tmpl$5 = /*#__PURE__*/ template("<p>");
9
- const InputContext = createContext();
9
+ const InputContext = createContext(null);
10
10
  const __solidLayoutInputRoot = (_stable, p)=>{
11
11
  const others = omit(p, "children", "class", "size", "fullWidth", "state", "issues", "dataTheme");
12
12
  const baseId = createUniqueId();
@@ -9,7 +9,7 @@ var _tmpl$ = /*#__PURE__*/ template("<div><input>"), _tmpl$2 = /*#__PURE__*/ tem
9
9
  const REGEXP_ONLY_DIGITS = "^\\d+$";
10
10
  const REGEXP_ONLY_CHARS = "^[a-zA-Z]+$";
11
11
  const REGEXP_ONLY_DIGITS_AND_CHARS = "^[a-zA-Z0-9]+$";
12
- const InputOTPContext = createContext();
12
+ const InputOTPContext = createContext(null);
13
13
  const clamp = (value, min, max)=>Math.min(max, Math.max(min, value));
14
14
  const invokeEventHandler = (handler, event)=>{
15
15
  if ("function" == typeof handler) return void handler(event);
@@ -92,7 +92,7 @@ export declare function createI18n(options: I18nOptions): I18nStore;
92
92
  export interface I18nContextValue {
93
93
  i18n: I18nStore;
94
94
  }
95
- export declare const I18nContext: import("solid-js").Context<I18nContextValue>;
95
+ export declare const I18nContext: import("solid-js").Context<I18nContextValue | null>;
96
96
  export declare function useI18n(): I18nStore;
97
97
  export interface I18nProviderProps {
98
98
  i18n: I18nStore;
@@ -66,7 +66,7 @@ function createI18n(options) {
66
66
  supportedCodes
67
67
  };
68
68
  }
69
- const I18nContext = createContext();
69
+ const I18nContext = createContext(null);
70
70
  function useI18n() {
71
71
  const context = useContext(I18nContext);
72
72
  if (!context) throw new Error("useI18n must be used within an I18nProvider");
@@ -24,4 +24,4 @@ export type ListBoxContextValue = {
24
24
  focusNext: (direction: 1 | -1) => void;
25
25
  focusBoundary: (target: ListBoxFocusTarget) => void;
26
26
  };
27
- export declare const ListBoxContext: import("solid-js").Context<ListBoxContextValue>;
27
+ export declare const ListBoxContext: import("solid-js").Context<ListBoxContextValue | null>;
@@ -1,3 +1,3 @@
1
1
  import { createContext } from "solid-js";
2
- const ListBoxContext = createContext();
2
+ const ListBoxContext = createContext(null);
3
3
  export { ListBoxContext };
@@ -23,4 +23,4 @@ export type MenuContextValue = {
23
23
  focusNext: (direction: 1 | -1) => void;
24
24
  focusBoundary: (target: MenuFocusTarget) => void;
25
25
  };
26
- export declare const MenuContext: import("solid-js").Context<MenuContextValue>;
26
+ export declare const MenuContext: import("solid-js").Context<MenuContextValue | null>;
@@ -1,3 +1,3 @@
1
1
  import { createContext } from "solid-js";
2
- const MenuContext = createContext();
2
+ const MenuContext = createContext(null);
3
3
  export { MenuContext };
@@ -5,7 +5,7 @@ import { createContext, createMemo, omit, useContext } from "solid-js";
5
5
  import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Meter.recipe.js";
7
7
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<span>");
8
- const MeterContext = createContext();
8
+ const MeterContext = createContext(null);
9
9
  const useMeterContext = ()=>{
10
10
  const context = useContext(MeterContext);
11
11
  if (!context) throw new Error("Meter compound components must be used within <Meter>");
@@ -7,7 +7,7 @@ import "../_shared/material.css";
7
7
  import { createOverlayPosition } from "../_shared/overlayPosition.js";
8
8
  import { CLASSES, componentRecipe } from "./Popover.recipe.js";
9
9
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template('<svg aria-hidden=true data-slot=popover-arrow-svg height=12 viewBox="0 0 12 12"width=12><path d="M0 0C5.48483 8 6.5 8 12 0Z"fill=currentColor>'), _tmpl$3 = /*#__PURE__*/ template("<span>"), _tmpl$4 = /*#__PURE__*/ template("<h3>");
10
- const PopoverContext = createContext();
10
+ const PopoverContext = createContext(null);
11
11
  const usePopoverContext = ()=>{
12
12
  const ctx = useContext(PopoverContext);
13
13
  if (!ctx) throw new Error("Popover compound components must be used within <Popover>");
@@ -6,4 +6,4 @@ export type RadioGroupContextValue = {
6
6
  isInvalid: Accessor<boolean>;
7
7
  selectValue: (value: string, event: Event) => void;
8
8
  };
9
- export declare const RadioGroupContext: import("solid-js").Context<RadioGroupContextValue>;
9
+ export declare const RadioGroupContext: import("solid-js").Context<RadioGroupContextValue | null>;
@@ -1,3 +1,3 @@
1
1
  import { createContext } from "solid-js";
2
- const RadioGroupContext = createContext();
2
+ const RadioGroupContext = createContext(null);
3
3
  export { RadioGroupContext };
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { createOverlayPosition } from "../_shared/overlayPosition.js";
7
7
  import { CLASSES, componentRecipe } from "./Select.recipe.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<button><!><!><!>"), _tmpl$3 = /*#__PURE__*/ template("<span>"), _tmpl$4 = /*#__PURE__*/ template("<span><!><!><!>"), _tmpl$5 = /*#__PURE__*/ template("<span><span>"), _tmpl$6 = /*#__PURE__*/ template("<button><span></span><!>");
9
- const SelectContext = createContext();
9
+ const SelectContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./Tabs.recipe.js";
7
7
  import { observeTabIndicator } from "./Tabs.measurement.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<div><span>"), _tmpl$3 = /*#__PURE__*/ template("<button>"), _tmpl$4 = /*#__PURE__*/ template("<span>");
9
- const TabsContext = createContext();
9
+ const TabsContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { CLASSES, componentRecipe } from "./TimeField.recipe.js";
7
7
  import { resolveState } from "../vocabulary.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<input>"), _tmpl$3 = /*#__PURE__*/ template("<span>");
9
- const TimeFieldContext = createContext();
9
+ const TimeFieldContext = createContext(null);
10
10
  const invokeEventHandler = (handler, event)=>{
11
11
  if ("function" == typeof handler) return void handler(event);
12
12
  if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
@@ -204,7 +204,7 @@ class ToastQueue {
204
204
  return this;
205
205
  }
206
206
  }
207
- const ToastItemContext = createContext();
207
+ const ToastItemContext = createContext(null);
208
208
  const useToastItemContext = ()=>{
209
209
  const context = useContext(ToastItemContext);
210
210
  if (!context) throw new Error("Toast compound components must be used within <Toast>.");
@@ -6,7 +6,7 @@ import { twMerge } from "../../lib/twMerge.js";
6
6
  import { createOverlayPosition } from "../_shared/overlayPosition.js";
7
7
  import { CLASSES, componentRecipe } from "./Tooltip.recipe.js";
8
8
  var _tmpl$ = /*#__PURE__*/ template("<span>"), _tmpl$2 = /*#__PURE__*/ template("<div>"), _tmpl$3 = /*#__PURE__*/ template('<svg aria-hidden=true data-slot=tooltip-arrow-svg height=12 viewBox="0 0 12 12"width=12><path d="M0 0C5.48483 8 6.5 8 12 0Z"fill=currentColor>');
9
- const TooltipContext = createContext();
9
+ const TooltipContext = createContext(null);
10
10
  const useTooltipContext = ()=>{
11
11
  const ctx = useContext(TooltipContext);
12
12
  if (!ctx) throw new Error("Tooltip compound components must be used within <Tooltip>");
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": "solid-layouts-library-v2",
3
3
  "package": "@pathscale/ui",
4
- "version": "2.6.3",
4
+ "version": "2.6.5",
5
5
  "components": {
6
6
  "Accordion": {
7
7
  "kind": "embedded"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",