@sinequa/galactik 2.7.0 → 2.8.0

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.
@@ -11634,8 +11634,8 @@ const selectWrapVariants = cva([
11634
11634
  "[&_.select-trigger]:font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] [&_.select-trigger]:font-medium",
11635
11635
  "[&_.select-trigger]:transition-[border-color,background-color] [&_.select-trigger]:duration-[120ms] [&_.select-trigger]:ease-[ease] motion-reduce:[&_.select-trigger]:transition-none",
11636
11636
  "[&_.select-trigger:hover:not(:disabled):not([aria-expanded='true'])]:border-(--stroke-primary-hovered) [&_.select-trigger:hover:not(:disabled):not([aria-expanded='true'])]:bg-(--bg-primary-lighter)",
11637
- "[&_.select-trigger[aria-expanded='true']]:border-(--stroke-primary-pressed) [&_.select-trigger[aria-expanded='true']]:bg-(--bg-neutral-white) [&_.select-trigger[aria-expanded='true']]:shadow-[inset_0_0_0_1px_var(--stroke-primary-pressed)]",
11638
- "[&_.select-trigger:focus-visible]:outline-2 [&_.select-trigger:focus-visible]:outline-offset-0 [&_.select-trigger:focus-visible]:outline-(--stroke-focus)",
11637
+ "[&_.select-trigger[aria-expanded='true']]:bg-(--bg-neutral-white) [&_.select-trigger[aria-expanded='true']]:outline-2 [&_.select-trigger[aria-expanded='true']]:-outline-offset-1 [&_.select-trigger[aria-expanded='true']]:outline-(--stroke-focus) [&_.select-trigger[aria-expanded='true']]:outline-solid",
11638
+ "[&_.select-trigger:focus-visible]:outline-2 [&_.select-trigger:focus-visible]:-outline-offset-1 [&_.select-trigger:focus-visible]:outline-(--stroke-focus)",
11639
11639
  "[&_.select-trigger:disabled]:pointer-events-none [&_.select-trigger:disabled]:cursor-not-allowed [&_.select-trigger:disabled]:border-(--stroke-neutral-disabled) [&_.select-trigger:disabled]:bg-(--bg-neutral-disabled) [&_.select-trigger:disabled]:text-(--font-neutral-muted)",
11640
11640
  "[&_.select-trigger-label]:min-w-0 [&_.select-trigger-label]:flex-1 [&_.select-trigger-label]:overflow-hidden [&_.select-trigger-label]:text-ellipsis [&_.select-trigger-label]:whitespace-nowrap",
11641
11641
  "[&_.select-placeholder]:text-(--font-primary-muted)",
@@ -11671,8 +11671,8 @@ const selectTriggerVariants = cva([
11671
11671
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-medium",
11672
11672
  "transition-[border-color,background-color] duration-[120ms] ease-[ease] motion-reduce:transition-none",
11673
11673
  "enabled:not-aria-expanded:hover:border-(--stroke-primary-hovered) enabled:not-aria-expanded:hover:bg-(--bg-primary-lighter)",
11674
- "aria-expanded:border-(--stroke-primary-pressed) aria-expanded:bg-(--bg-neutral-white) aria-expanded:shadow-[inset_0_0_0_1px_var(--stroke-primary-pressed)]",
11675
- "focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-(--stroke-focus)",
11674
+ "aria-expanded:bg-(--bg-neutral-white) aria-expanded:outline-2 aria-expanded:-outline-offset-1 aria-expanded:outline-(--stroke-focus) aria-expanded:outline-solid",
11675
+ "focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-(--stroke-focus)",
11676
11676
  "disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-(--stroke-neutral-disabled) disabled:bg-(--bg-neutral-disabled) disabled:text-(--font-neutral-muted)"
11677
11677
  ], {
11678
11678
  variants: {
@@ -12544,13 +12544,13 @@ const inputWrapVariants = cva([
12544
12544
  "hover:not-has-disabled:not-has-[[readonly]]:not-has-focus:border-(--stroke-primary-hovered)",
12545
12545
  "hover:not-has-disabled:not-has-[[readonly]]:not-has-focus:bg-(--bg-primary-lighter)",
12546
12546
  "has-focus:not-has-disabled:not-has-[[readonly]]:bg-(--bg-neutral-white)",
12547
- "has-focus:not-has-disabled:not-has-[[readonly]]:outline-2 has-focus:not-has-disabled:not-has-[[readonly]]:outline-offset-0 has-focus:not-has-disabled:not-has-[[readonly]]:outline-(--stroke-focus) has-focus:not-has-disabled:not-has-[[readonly]]:outline-solid",
12547
+ "has-focus:not-has-disabled:not-has-[[readonly]]:outline-2 has-focus:not-has-disabled:not-has-[[readonly]]:-outline-offset-1 has-focus:not-has-disabled:not-has-[[readonly]]:outline-(--stroke-focus) has-focus:not-has-disabled:not-has-[[readonly]]:outline-solid",
12548
12548
  "has-disabled:cursor-not-allowed has-disabled:border-(--stroke-neutral-disabled) has-disabled:bg-(--bg-neutral-disabled)",
12549
12549
  "has-disabled:[&_.input-control]:text-(--font-neutral-muted)",
12550
12550
  "has-disabled:[&_.input-control]:cursor-not-allowed",
12551
12551
  "has-disabled:[&_.input-icon-left]:text-(--font-neutral-muted) has-disabled:[&_.input-icon-right]:text-(--font-neutral-muted)",
12552
12552
  "has-[[readonly]]:cursor-default has-[[readonly]]:border-transparent has-[[readonly]]:bg-transparent",
12553
- "has-focus:has-[[readonly]]:outline-2 has-focus:has-[[readonly]]:outline-offset-0 has-focus:has-[[readonly]]:outline-(--stroke-focus) has-focus:has-[[readonly]]:outline-solid",
12553
+ "has-focus:has-[[readonly]]:outline-2 has-focus:has-[[readonly]]:-outline-offset-1 has-focus:has-[[readonly]]:outline-(--stroke-focus) has-focus:has-[[readonly]]:outline-solid",
12554
12554
  "has-[[readonly]]:[&_.input-control]:cursor-default has-[[readonly]]:[&_.input-control]:text-(--font-primary-muted)",
12555
12555
  "[&_.input-control]:min-w-0 [&_.input-control]:flex-1 [&_.input-control]:border-0 [&_.input-control]:bg-transparent",
12556
12556
  "[&_.input-control]:p-0 [&_.input-control]:font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] [&_.input-control]:leading-[1.4] [&_.input-control]:text-(--font-primary-base)",
@@ -20405,7 +20405,7 @@ const textareaWrapVariants = cva([
20405
20405
  "hover:not-has-disabled:not-has-[[readonly]]:not-has-focus:border-(--stroke-primary-hovered)",
20406
20406
  "hover:not-has-disabled:not-has-[[readonly]]:not-has-focus:bg-(--bg-primary-lighter)",
20407
20407
  "has-focus:not-has-disabled:not-has-[[readonly]]:bg-(--bg-neutral-white)",
20408
- "has-focus:not-has-disabled:not-has-[[readonly]]:outline-2 has-focus:not-has-disabled:not-has-[[readonly]]:outline-offset-0 has-focus:not-has-disabled:not-has-[[readonly]]:outline-(--bg-primary-hovered)",
20408
+ "has-focus:not-has-disabled:not-has-[[readonly]]:outline-2 has-focus:not-has-disabled:not-has-[[readonly]]:-outline-offset-1 has-focus:not-has-disabled:not-has-[[readonly]]:outline-(--stroke-focus) has-focus:not-has-disabled:not-has-[[readonly]]:outline-solid",
20409
20409
  "has-disabled:cursor-not-allowed has-disabled:border-(--stroke-neutral-disabled) has-disabled:bg-(--bg-neutral-disabled)",
20410
20410
  "has-disabled:[&_.textarea-control]:text-(--font-neutral-muted)",
20411
20411
  "has-disabled:[&_.textarea-control]:cursor-not-allowed",
@@ -21413,7 +21413,7 @@ const searchBarVariants = cva([
21413
21413
  "hover:not-has-focus:not-has-disabled:bg-(--bg-primary-lighter)",
21414
21414
  "hover:not-has-focus:not-has-disabled:border-(--stroke-primary-hovered)",
21415
21415
  "has-focus:not-has-disabled:border-(--stroke-primary-pressed)",
21416
- "has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-(--stroke-focus) has-[:focus-visible]:outline-solid",
21416
+ "has-[:focus-visible]:outline-2 has-[:focus-visible]:-outline-offset-1 has-[:focus-visible]:outline-(--stroke-focus) has-[:focus-visible]:outline-solid",
21417
21417
  "has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:border-(--stroke-neutral-disabled) has-disabled:bg-(--bg-neutral-base)",
21418
21418
  "[&_.sb-icon]:inline-flex [&_.sb-icon]:shrink-0 [&_.sb-icon]:items-center [&_.sb-icon]:justify-center [&_.sb-icon]:leading-none [&_.sb-icon]:text-(--font-primary-muted)",
21419
21419
  "has-disabled:[&_.sb-icon]:text-(--font-neutral-muted)",
@@ -22971,7 +22971,8 @@ const sheetVariants = cva([
22971
22971
  md: "",
22972
22972
  lg: "",
22973
22973
  xl: "",
22974
- full: ""
22974
+ full: "",
22975
+ screen: ""
22975
22976
  }
22976
22977
  },
22977
22978
  compoundVariants: [
@@ -22997,7 +22998,7 @@ const sheetVariants = cva([
22997
22998
  },
22998
22999
  {
22999
23000
  side: ["left", "right"],
23000
- size: "full",
23001
+ size: "screen",
23001
23002
  class: "w-dvw"
23002
23003
  },
23003
23004
  {
@@ -23022,8 +23023,18 @@ const sheetVariants = cva([
23022
23023
  },
23023
23024
  {
23024
23025
  side: ["top", "bottom"],
23025
- size: "full",
23026
+ size: "screen",
23026
23027
  class: "h-dvh"
23028
+ },
23029
+ {
23030
+ side: [
23031
+ "left",
23032
+ "right",
23033
+ "top",
23034
+ "bottom"
23035
+ ],
23036
+ size: "full",
23037
+ class: "inset-(--spacing-md)! h-auto! max-h-none! w-auto! max-w-none! rounded-(--radius-lg)! border!"
23027
23038
  }
23028
23039
  ],
23029
23040
  defaultVariants: {
@@ -23862,7 +23873,7 @@ var SidebarComponent = class SidebarComponent {
23862
23873
  ngImport: i0,
23863
23874
  template: `
23864
23875
  @if (isMobile()) {
23865
- <!-- size="full" (w-dvw): a navigation drawer isn't a fixed-width reading panel — Sheet's own
23876
+ <!-- size="screen" (w-dvw): a navigation drawer isn't a fixed-width reading panel — Sheet's own
23866
23877
  default ("md") is a fixed rem width that can exceed a narrow phone's viewport, pushing the
23867
23878
  far edge of the header (the in-panel collapse trigger, sidebarHeader) off-screen along with
23868
23879
  it. A drawer that covers the whole width never has an edge to push past.
@@ -23870,7 +23881,7 @@ var SidebarComponent = class SidebarComponent {
23870
23881
  Same surface as the desktop <aside> (sidebarVariants' own base classes) — a Sheet defaults
23871
23882
  to the page's own background (sheet.cva.ts), which read as a jarring surface swap for
23872
23883
  content that is otherwise identical, panel and mobile drawer alike. -->
23873
- <Sheet #mobileSheet [side]="side()" size="full" [ariaLabel]="ariaLabel()" class="bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))">
23884
+ <Sheet #mobileSheet [side]="side()" size="screen" [ariaLabel]="ariaLabel()" class="bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))">
23874
23885
  <ng-container *ngTemplateOutlet="body" />
23875
23886
  </Sheet>
23876
23887
  } @else {
@@ -23946,7 +23957,7 @@ i0.ɵɵngDeclareClassMetadata({
23946
23957
  host: { class: SIDEBAR_HOST_CLASS },
23947
23958
  template: `
23948
23959
  @if (isMobile()) {
23949
- <!-- size="full" (w-dvw): a navigation drawer isn't a fixed-width reading panel — Sheet's own
23960
+ <!-- size="screen" (w-dvw): a navigation drawer isn't a fixed-width reading panel — Sheet's own
23950
23961
  default ("md") is a fixed rem width that can exceed a narrow phone's viewport, pushing the
23951
23962
  far edge of the header (the in-panel collapse trigger, sidebarHeader) off-screen along with
23952
23963
  it. A drawer that covers the whole width never has an edge to push past.
@@ -23954,7 +23965,7 @@ i0.ɵɵngDeclareClassMetadata({
23954
23965
  Same surface as the desktop <aside> (sidebarVariants' own base classes) — a Sheet defaults
23955
23966
  to the page's own background (sheet.cva.ts), which read as a jarring surface swap for
23956
23967
  content that is otherwise identical, panel and mobile drawer alike. -->
23957
- <Sheet #mobileSheet [side]="side()" size="full" [ariaLabel]="ariaLabel()" class="bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))">
23968
+ <Sheet #mobileSheet [side]="side()" size="screen" [ariaLabel]="ariaLabel()" class="bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))">
23958
23969
  <ng-container *ngTemplateOutlet="body" />
23959
23970
  </Sheet>
23960
23971
  } @else {