asheeui 1.1.0 → 2.0.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.
Files changed (154) hide show
  1. package/LICENSE +201 -21
  2. package/NOTICE +10 -0
  3. package/README.md +3 -1
  4. package/dist/components/accordion/Accordion.d.ts +1 -1
  5. package/dist/components/centered/Centered.d.ts +49 -0
  6. package/dist/components/centered/Centered.d.ts.map +1 -0
  7. package/dist/components/centered/Centered.js +32 -0
  8. package/dist/components/centered/centered-config.d.ts +63 -0
  9. package/dist/components/centered/centered-config.d.ts.map +1 -0
  10. package/dist/components/centered/centered-config.js +17 -0
  11. package/dist/components/centered/centered-styles.d.ts +11 -0
  12. package/dist/components/centered/centered-styles.d.ts.map +1 -0
  13. package/dist/components/centered/centered-styles.js +9 -0
  14. package/dist/components/centered/index.d.ts +3 -0
  15. package/dist/components/centered/index.d.ts.map +1 -0
  16. package/dist/components/centered/index.js +3 -0
  17. package/dist/components/chip/Chip.d.ts +8 -0
  18. package/dist/components/chip/Chip.d.ts.map +1 -1
  19. package/dist/components/chip/Chip.js +15 -15
  20. package/dist/components/data-table/DataTable.d.ts +137 -0
  21. package/dist/components/data-table/DataTable.d.ts.map +1 -0
  22. package/dist/components/data-table/DataTable.js +101 -0
  23. package/dist/components/data-table/data-table-config.d.ts +75 -0
  24. package/dist/components/data-table/data-table-config.d.ts.map +1 -0
  25. package/dist/components/data-table/data-table-config.js +24 -0
  26. package/dist/components/data-table/data-table-styles.d.ts +25 -0
  27. package/dist/components/data-table/data-table-styles.d.ts.map +1 -0
  28. package/dist/components/data-table/data-table-styles.js +5 -0
  29. package/dist/components/data-table/index.d.ts +3 -0
  30. package/dist/components/data-table/index.d.ts.map +1 -0
  31. package/dist/components/data-table/index.js +3 -0
  32. package/dist/components/docs-layout/DocsLayout.d.ts +94 -0
  33. package/dist/components/docs-layout/DocsLayout.d.ts.map +1 -0
  34. package/dist/components/docs-layout/DocsLayout.js +62 -0
  35. package/dist/components/docs-layout/docs-layout-config.d.ts +61 -0
  36. package/dist/components/docs-layout/docs-layout-config.d.ts.map +1 -0
  37. package/dist/components/docs-layout/docs-layout-config.js +22 -0
  38. package/dist/components/docs-layout/docs-layout-styles.d.ts +31 -0
  39. package/dist/components/docs-layout/docs-layout-styles.d.ts.map +1 -0
  40. package/dist/components/docs-layout/docs-layout-styles.js +5 -0
  41. package/dist/components/docs-layout/index.d.ts +3 -0
  42. package/dist/components/docs-layout/index.d.ts.map +1 -0
  43. package/dist/components/docs-layout/index.js +3 -0
  44. package/dist/components/empty-state/EmptyState.d.ts +19 -1
  45. package/dist/components/empty-state/EmptyState.d.ts.map +1 -1
  46. package/dist/components/empty-state/EmptyState.js +10 -9
  47. package/dist/components/error-state/ErrorState.d.ts +98 -0
  48. package/dist/components/error-state/ErrorState.d.ts.map +1 -0
  49. package/dist/components/error-state/ErrorState.js +57 -0
  50. package/dist/components/error-state/error-state-config.d.ts +66 -0
  51. package/dist/components/error-state/error-state-config.d.ts.map +1 -0
  52. package/dist/components/error-state/error-state-config.js +20 -0
  53. package/dist/components/error-state/error-state-styles.d.ts +17 -0
  54. package/dist/components/error-state/error-state-styles.d.ts.map +1 -0
  55. package/dist/components/error-state/error-state-styles.js +5 -0
  56. package/dist/components/error-state/index.d.ts +3 -0
  57. package/dist/components/error-state/index.d.ts.map +1 -0
  58. package/dist/components/error-state/index.js +3 -0
  59. package/dist/components/file-upload/FileUpload.d.ts +112 -0
  60. package/dist/components/file-upload/FileUpload.d.ts.map +1 -0
  61. package/dist/components/file-upload/FileUpload.js +83 -0
  62. package/dist/components/file-upload/file-upload-config.d.ts +41 -0
  63. package/dist/components/file-upload/file-upload-config.d.ts.map +1 -0
  64. package/dist/components/file-upload/file-upload-config.js +16 -0
  65. package/dist/components/file-upload/file-upload-styles.d.ts +22 -0
  66. package/dist/components/file-upload/file-upload-styles.d.ts.map +1 -0
  67. package/dist/components/file-upload/file-upload-styles.js +9 -0
  68. package/dist/components/file-upload/file-upload.helpers.d.ts +26 -0
  69. package/dist/components/file-upload/file-upload.helpers.d.ts.map +1 -0
  70. package/dist/components/file-upload/file-upload.helpers.js +17 -0
  71. package/dist/components/file-upload/index.d.ts +3 -0
  72. package/dist/components/file-upload/index.d.ts.map +1 -0
  73. package/dist/components/file-upload/index.js +4 -0
  74. package/dist/components/loading-state/LoadingState.d.ts +57 -0
  75. package/dist/components/loading-state/LoadingState.d.ts.map +1 -0
  76. package/dist/components/loading-state/LoadingState.js +44 -0
  77. package/dist/components/loading-state/index.d.ts +3 -0
  78. package/dist/components/loading-state/index.d.ts.map +1 -0
  79. package/dist/components/loading-state/index.js +3 -0
  80. package/dist/components/loading-state/loading-state-config.d.ts +49 -0
  81. package/dist/components/loading-state/loading-state-config.d.ts.map +1 -0
  82. package/dist/components/loading-state/loading-state-config.js +18 -0
  83. package/dist/components/loading-state/loading-state-styles.d.ts +12 -0
  84. package/dist/components/loading-state/loading-state-styles.d.ts.map +1 -0
  85. package/dist/components/loading-state/loading-state-styles.js +9 -0
  86. package/dist/components/marketing-layout/MarketingLayout.d.ts +83 -0
  87. package/dist/components/marketing-layout/MarketingLayout.d.ts.map +1 -0
  88. package/dist/components/marketing-layout/MarketingLayout.js +40 -0
  89. package/dist/components/marketing-layout/index.d.ts +3 -0
  90. package/dist/components/marketing-layout/index.d.ts.map +1 -0
  91. package/dist/components/marketing-layout/index.js +3 -0
  92. package/dist/components/marketing-layout/marketing-layout-config.d.ts +60 -0
  93. package/dist/components/marketing-layout/marketing-layout-config.d.ts.map +1 -0
  94. package/dist/components/marketing-layout/marketing-layout-config.js +16 -0
  95. package/dist/components/marketing-layout/marketing-layout-styles.d.ts +8 -0
  96. package/dist/components/marketing-layout/marketing-layout-styles.d.ts.map +1 -0
  97. package/dist/components/marketing-layout/marketing-layout-styles.js +8 -0
  98. package/dist/components/search-input/SearchInput.d.ts +111 -0
  99. package/dist/components/search-input/SearchInput.d.ts.map +1 -0
  100. package/dist/components/search-input/SearchInput.js +86 -0
  101. package/dist/components/search-input/index.d.ts +3 -0
  102. package/dist/components/search-input/index.d.ts.map +1 -0
  103. package/dist/components/search-input/index.js +3 -0
  104. package/dist/components/search-input/search-input-config.d.ts +55 -0
  105. package/dist/components/search-input/search-input-config.d.ts.map +1 -0
  106. package/dist/components/search-input/search-input-config.js +20 -0
  107. package/dist/components/search-input/search-input-styles.d.ts +16 -0
  108. package/dist/components/search-input/search-input-styles.d.ts.map +1 -0
  109. package/dist/components/search-input/search-input-styles.js +9 -0
  110. package/dist/components/section-kit/ActionGroup.d.ts +8 -1
  111. package/dist/components/section-kit/ActionGroup.d.ts.map +1 -1
  112. package/dist/components/section-kit/ActionGroup.js +13 -9
  113. package/dist/components/section-kit/SkipLink.d.ts +50 -0
  114. package/dist/components/section-kit/SkipLink.d.ts.map +1 -0
  115. package/dist/components/section-kit/SkipLink.js +14 -0
  116. package/dist/components/section-kit/index.d.ts +5 -4
  117. package/dist/components/section-kit/index.d.ts.map +1 -1
  118. package/dist/components/section-kit/index.js +1 -0
  119. package/dist/components/sidebar-layout/SidebarLayout.d.ts.map +1 -1
  120. package/dist/components/sidebar-layout/SidebarLayout.js +25 -25
  121. package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts +10 -3
  122. package/dist/components/sidebar-layout/sidebar-layout-styles.d.ts.map +1 -1
  123. package/dist/components/sidebar-layout/sidebar-layout-styles.js +2 -2
  124. package/dist/components/split/Split.d.ts +68 -0
  125. package/dist/components/split/Split.d.ts.map +1 -0
  126. package/dist/components/split/Split.js +36 -0
  127. package/dist/components/split/index.d.ts +3 -0
  128. package/dist/components/split/index.d.ts.map +1 -0
  129. package/dist/components/split/index.js +3 -0
  130. package/dist/components/split/split-config.d.ts +83 -0
  131. package/dist/components/split/split-config.d.ts.map +1 -0
  132. package/dist/components/split/split-config.js +20 -0
  133. package/dist/components/split/split-styles.d.ts +36 -0
  134. package/dist/components/split/split-styles.d.ts.map +1 -0
  135. package/dist/components/split/split-styles.js +76 -0
  136. package/dist/components/stepper/Stepper.d.ts +94 -0
  137. package/dist/components/stepper/Stepper.d.ts.map +1 -0
  138. package/dist/components/stepper/Stepper.js +71 -0
  139. package/dist/components/stepper/index.d.ts +3 -0
  140. package/dist/components/stepper/index.d.ts.map +1 -0
  141. package/dist/components/stepper/index.js +3 -0
  142. package/dist/components/stepper/stepper-config.d.ts +51 -0
  143. package/dist/components/stepper/stepper-config.d.ts.map +1 -0
  144. package/dist/components/stepper/stepper-config.js +16 -0
  145. package/dist/components/stepper/stepper-styles.d.ts +30 -0
  146. package/dist/components/stepper/stepper-styles.d.ts.map +1 -0
  147. package/dist/components/stepper/stepper-styles.js +25 -0
  148. package/dist/index.d.ts +10 -0
  149. package/dist/index.d.ts.map +1 -1
  150. package/dist/index.js +93 -73
  151. package/dist/shared/spacing.d.ts +8 -0
  152. package/dist/shared/spacing.d.ts.map +1 -1
  153. package/dist/shared/spacing.js +9 -1
  154. package/package.json +5 -3
@@ -0,0 +1,111 @@
1
+ import { ChangeEventHandler, InputHTMLAttributes } from 'react';
2
+ import { FieldStatus } from '../field/field-config';
3
+ import { SearchInputConfig } from './search-input-config';
4
+ type BaseSearchInputProps = SearchInputConfig & Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "className" | "color" | "defaultValue" | "onChange" | "size" | "type" | "value">;
5
+ /**
6
+ * Props for the SearchInput component.
7
+ */
8
+ export interface SearchInputProps extends BaseSearchInputProps {
9
+ /**
10
+ * The current query, for a consumer that owns it.
11
+ */
12
+ value?: string;
13
+ /**
14
+ * The initial query, for a consumer that does not.
15
+ */
16
+ defaultValue?: string;
17
+ /**
18
+ * Called with the native change event, which is how a form library hears
19
+ * about the field.
20
+ */
21
+ onChange?: ChangeEventHandler<HTMLInputElement>;
22
+ /**
23
+ * Called with the next query whenever it changes, including when the field is
24
+ * emptied. It is the handler to use when the query drives a result list.
25
+ */
26
+ onValueChange?: (value: string) => void;
27
+ /**
28
+ * Called with the query when the reader submits the field.
29
+ * Supplying it makes the component a form, so Enter submits and the field is
30
+ * announced as the page's search.
31
+ */
32
+ onSearch?: (value: string) => void;
33
+ /**
34
+ * Supporting text under the field.
35
+ */
36
+ description?: string;
37
+ /**
38
+ * Validation message under the field.
39
+ */
40
+ message?: string;
41
+ /**
42
+ * Validation status of the field.
43
+ *
44
+ * @default "default"
45
+ */
46
+ status?: FieldStatus;
47
+ /**
48
+ * Whether a search is in progress, which the field reports as busy.
49
+ *
50
+ * @default false
51
+ */
52
+ isLoading?: boolean;
53
+ /**
54
+ * Keyboard shortcut a consumer has bound elsewhere, shown as a hint.
55
+ * The field only displays it: binding a global shortcut is an application
56
+ * concern, because the field cannot know what else the shortcut should do.
57
+ */
58
+ shortcut?: string;
59
+ /**
60
+ * Extra classes for the search region.
61
+ */
62
+ className?: string;
63
+ }
64
+ /**
65
+ * A text field that searches.
66
+ *
67
+ * SearchInput composes the framework's text field and adds the search contract:
68
+ * the field is announced as a search region with a name, so a screen reader user
69
+ * can jump to it; the query is reported through `onValueChange` while it is typed
70
+ * and through `onSearch` when it is submitted; and the field can empty itself
71
+ * with a named control instead of requiring the reader to select the text and
72
+ * delete it.
73
+ *
74
+ * The component is controlled when `value` is given, and owns the query
75
+ * otherwise. The clear control works in both cases: it empties the field and
76
+ * returns focus to it, and a controlled consumer hears about the change through
77
+ * `onValueChange` so it can update its own state.
78
+ *
79
+ * @param props - SearchInput configuration options and input attributes.
80
+ * @param props.value - The query, for a controlled consumer.
81
+ * @param props.defaultValue - The initial query, for an uncontrolled one.
82
+ * @param props.onValueChange - Called with the next query.
83
+ * @param props.onSearch - Called with the query on submit, which is also what
84
+ * makes the component a form.
85
+ * @param props.label - Name of the region and of the field. Defaults to
86
+ * "Search".
87
+ * @param props.hideLabel - Keep the name for assistive technology only.
88
+ * Defaults to true.
89
+ * @param props.clearable - Offer a control that empties the field. Defaults to
90
+ * true.
91
+ * @param props.shortcut - Shortcut a consumer has bound, shown as a hint.
92
+ * @param props.isLoading - Report a search in progress. Defaults to false.
93
+ * @param props.size - Density of the field and its controls. Defaults to "md".
94
+ * @returns The rendered field.
95
+ *
96
+ * @example
97
+ * ```tsx
98
+ * <SearchInput
99
+ * placeholder="Search invoices"
100
+ * onValueChange={setQuery}
101
+ * onSearch={runSearch}
102
+ * shortcut="Command K"
103
+ * />
104
+ * ```
105
+ *
106
+ * @see Input - The text field the component composes.
107
+ * @see DataTable - Uses it for the search control above a table.
108
+ */
109
+ export declare const SearchInput: import('react').ForwardRefExoticComponent<SearchInputProps & import('react').RefAttributes<HTMLInputElement>>;
110
+ export {};
111
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/SearchInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAIzB,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,uBAAuB,CAAC;AAS/B,KAAK,oBAAoB,GAAG,iBAAiB,GAC3C,IAAI,CACF,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,UAAU,GACV,WAAW,GACX,OAAO,GACP,cAAc,GACd,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAAO,CACV,CAAC;AAEJ;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAEhD;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,WAAW,+GA0KvB,CAAC"}
@@ -0,0 +1,86 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../utils/cn.js";
4
+ import { useAsheeConfig as t } from "../../libs/context.js";
5
+ import { resolveConfigCascade as n } from "../../utils/resolve-token.js";
6
+ import { Spinner as r } from "../spinner/spinner.js";
7
+ import { Button as i } from "../button/Button.js";
8
+ import { Input as a } from "../input/Input.js";
9
+ import { SearchIcon as o } from "../../icons/SearchIcon.js";
10
+ import { ClearIcon as s } from "../../icons/ClearIcon.js";
11
+ import { FALLBACK_SEARCH_INPUT_CONFIG as c } from "./search-input-config.js";
12
+ import { SEARCH_INPUT_HINT_SIZE_CLASS as l, SEARCH_INPUT_REGION_CLASS as u } from "./search-input-styles.js";
13
+ import { forwardRef as d, useId as f, useRef as p, useState as m } from "react";
14
+ import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
15
+ //#region src/components/search-input/SearchInput.tsx
16
+ var v = d(({ value: d, defaultValue: v, onChange: y, onValueChange: b, onSearch: x, description: S, message: C, status: w, isLoading: T, shortcut: E, label: D, hideLabel: O, clearable: k, size: A, color: j, className: M, id: N, ...P }, F) => {
17
+ let I = t(), L = f(), R = N ?? L, z = n({
18
+ size: A,
19
+ color: j,
20
+ clearable: k,
21
+ label: D,
22
+ hideLabel: O
23
+ }, I.components?.searchinput, c), [B, V] = m(v ?? ""), H = d ?? B, U = H.length > 0, W = p(null), G = (e) => {
24
+ W.current = e, typeof F == "function" ? F(e) : F && (F.current = e);
25
+ }, K = (e) => {
26
+ y?.(e), d === void 0 && V(e.target.value), b?.(e.target.value);
27
+ }, q = () => {
28
+ let e = W.current;
29
+ e && (e.value = "", e.focus()), d === void 0 && V(""), b?.("");
30
+ }, J = !!x, Y = /* @__PURE__ */ _(h, { children: [z.hideLabel && /* @__PURE__ */ g("label", {
31
+ htmlFor: R,
32
+ className: "sr-only",
33
+ children: z.label
34
+ }), /* @__PURE__ */ g(a, {
35
+ ...P,
36
+ ref: G,
37
+ id: R,
38
+ type: "search",
39
+ value: d,
40
+ defaultValue: d === void 0 ? v : void 0,
41
+ onChange: K,
42
+ label: z.hideLabel ? void 0 : z.label,
43
+ description: S,
44
+ message: C,
45
+ status: w,
46
+ size: z.size,
47
+ color: z.color,
48
+ "aria-busy": T,
49
+ startContent: /* @__PURE__ */ g(o, {}),
50
+ endContent: /* @__PURE__ */ _(h, { children: [
51
+ E && /* @__PURE__ */ g("kbd", {
52
+ className: e("pointer-events-none shrink-0 rounded border border-border px-1.5 py-0.5 text-xs text-foreground/60", l[z.size]),
53
+ children: E
54
+ }),
55
+ T && /* @__PURE__ */ g(r, { size: "sm" }),
56
+ z.clearable && U && /* @__PURE__ */ g(i, {
57
+ icon: !0,
58
+ type: "button",
59
+ variant: "ghost",
60
+ size: z.size,
61
+ color: z.color,
62
+ "aria-label": "Clear search",
63
+ className: "shrink-0",
64
+ onClick: q,
65
+ children: /* @__PURE__ */ g(s, {})
66
+ })
67
+ ] })
68
+ })] }), X = e(u, M);
69
+ return J ? /* @__PURE__ */ g("form", {
70
+ role: "search",
71
+ "aria-label": z.label,
72
+ className: X,
73
+ onSubmit: (e) => {
74
+ e.preventDefault(), x?.(H);
75
+ },
76
+ children: Y
77
+ }) : /* @__PURE__ */ g("div", {
78
+ role: "search",
79
+ "aria-label": z.label,
80
+ className: X,
81
+ children: Y
82
+ });
83
+ });
84
+ v.displayName = "SearchInput";
85
+ //#endregion
86
+ export { v as SearchInput };
@@ -0,0 +1,3 @@
1
+ export * from './SearchInput';
2
+ export * from './search-input-config';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./SearchInput.js";
2
+ export * from "./search-input-config.js";
3
+ export * from "./search-input-styles.js";
@@ -0,0 +1,55 @@
1
+ import { Color, Size } from '../../shared';
2
+ /**
3
+ * Theme configuration options for the SearchInput component.
4
+ *
5
+ * Set under `components.searchinput` in the AsheeUI config. Values feed the
6
+ * component-level tier of the theme cascade.
7
+ */
8
+ export interface SearchInputConfig {
9
+ /**
10
+ * Density of the field and of the control that dismisses its text.
11
+ *
12
+ * @default "md"
13
+ */
14
+ size?: Size;
15
+ /**
16
+ * Accent colour of the field's focus ring.
17
+ *
18
+ * @default "primary"
19
+ */
20
+ color?: Color;
21
+ /**
22
+ * Whether the field offers a control that empties it.
23
+ *
24
+ * @default true
25
+ */
26
+ clearable?: boolean;
27
+ /**
28
+ * Visible label of the field.
29
+ * A search field is often named only for assistive technology, so the label
30
+ * can be hidden from view with `hideLabel`.
31
+ */
32
+ label?: string;
33
+ /**
34
+ * Whether the label is available to assistive technology only.
35
+ *
36
+ * @default true
37
+ */
38
+ hideLabel?: boolean;
39
+ }
40
+ /**
41
+ * Default config values registered for the SearchInput component.
42
+ * The label is named and hidden rather than absent, because a field whose name
43
+ * is empty is announced as "search" and nothing else.
44
+ */
45
+ export declare const defaultSearchInputConfig: SearchInputConfig;
46
+ declare module "../../libs/registry" {
47
+ interface ComponentTypeConfigRegistry {
48
+ searchinput: SearchInputConfig;
49
+ }
50
+ }
51
+ /**
52
+ * Hard fallback values used when no config tier provides a value.
53
+ */
54
+ export declare const FALLBACK_SEARCH_INPUT_CONFIG: Required<SearchInputConfig>;
55
+ //# sourceMappingURL=search-input-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-input-config.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/search-input-config.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,iBAMtC,CAAC;AAEF,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,2BAA2B;QACnC,WAAW,EAAE,iBAAiB,CAAC;KAChC;CACF;AAID;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,iBAAiB,CAMpE,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ import { registerComponentDefaults as e } from "../../libs/registry.js";
3
+ //#region src/components/search-input/search-input-config.ts
4
+ var t = {
5
+ size: "md",
6
+ color: "primary",
7
+ clearable: !0,
8
+ label: "Search",
9
+ hideLabel: !0
10
+ };
11
+ e("searchinput", t);
12
+ var n = {
13
+ size: "md",
14
+ color: "primary",
15
+ clearable: !0,
16
+ label: "Search",
17
+ hideLabel: !0
18
+ };
19
+ //#endregion
20
+ export { n as FALLBACK_SEARCH_INPUT_CONFIG, t as defaultSearchInputConfig };
@@ -0,0 +1,16 @@
1
+ import { Size } from '../../shared';
2
+ /** The search region, which is announced as the page's search rather than a form. */
3
+ export declare const SEARCH_INPUT_REGION_CLASS = "relative w-full min-w-0";
4
+ /** The control that empties the field. */
5
+ export declare const SEARCH_INPUT_CLEAR_CLASS = "shrink-0";
6
+ /**
7
+ * The keyboard hint.
8
+ * It shows the shortcut a consumer has bound elsewhere; the field itself never
9
+ * listens for it, because a global shortcut is an application concern.
10
+ */
11
+ export declare const SEARCH_INPUT_HINT_CLASS = "pointer-events-none shrink-0 rounded border border-border px-1.5 py-0.5 text-xs text-foreground/60";
12
+ /** Density of the hint, so it matches the field it sits in. */
13
+ export declare const SEARCH_INPUT_HINT_SIZE_CLASS: Record<Size, string>;
14
+ /** Visually hidden label, for a field that is named but not captioned. */
15
+ export declare const SEARCH_INPUT_HIDDEN_LABEL_CLASS = "sr-only";
16
+ //# sourceMappingURL=search-input-styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-input-styles.d.ts","sourceRoot":"","sources":["../../../src/components/search-input/search-input-styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AAEnE,0CAA0C;AAC1C,eAAO,MAAM,wBAAwB,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,uGACkE,CAAC;AAEvG,+DAA+D;AAC/D,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAI7D,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,+BAA+B,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ //#region src/components/search-input/search-input-styles.ts
3
+ var e = "relative w-full min-w-0", t = "shrink-0", n = "pointer-events-none shrink-0 rounded border border-border px-1.5 py-0.5 text-xs text-foreground/60", r = {
4
+ sm: "text-[10px]",
5
+ md: "text-xs",
6
+ lg: "text-sm"
7
+ }, i = "sr-only";
8
+ //#endregion
9
+ export { t as SEARCH_INPUT_CLEAR_CLASS, i as SEARCH_INPUT_HIDDEN_LABEL_CLASS, n as SEARCH_INPUT_HINT_CLASS, r as SEARCH_INPUT_HINT_SIZE_CLASS, e as SEARCH_INPUT_REGION_CLASS };
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ActionConfig } from '../../shared';
2
3
  /**
3
4
  * Props for the internal ActionGroup helper.
@@ -24,6 +25,12 @@ export interface ActionGroupProps {
24
25
  * Additional classes for the wrapper.
25
26
  */
26
27
  className?: string;
28
+ /**
29
+ * Content rendered alongside the configured actions, inside the same group.
30
+ * It is the way a pattern places an action that carries a handler, because a
31
+ * configured action describes a destination rather than a React callback.
32
+ */
33
+ children?: ReactNode;
27
34
  }
28
35
  /**
29
36
  * Renders a pattern's configured actions.
@@ -43,5 +50,5 @@ export interface ActionGroupProps {
43
50
  * />
44
51
  * ```
45
52
  */
46
- export declare function ActionGroup({ primaryAction, secondaryAction, align, className, }: ActionGroupProps): import("react").JSX.Element | null;
53
+ export declare function ActionGroup({ primaryAction, secondaryAction, align, className, children, }: ActionGroupProps): import("react").JSX.Element | null;
47
54
  //# sourceMappingURL=ActionGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionGroup.d.ts","sourceRoot":"","sources":["../../../src/components/section-kit/ActionGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAE7B;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC;IAE/B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,eAAe,EACf,KAAe,EACf,SAAS,GACV,EAAE,gBAAgB,sCAoBlB"}
1
+ {"version":3,"file":"ActionGroup.d.ts","sourceRoot":"","sources":["../../../src/components/section-kit/ActionGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIjD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAE7B;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC;IAE/B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,eAAe,EACf,KAAe,EACf,SAAS,EACT,QAAQ,GACT,EAAE,gBAAgB,sCAqBlB"}
@@ -3,16 +3,20 @@ import { cn as e } from "../../utils/cn.js";
3
3
  import { Button as t } from "../button/Button.js";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  //#region src/components/section-kit/ActionGroup.tsx
6
- function i({ primaryAction: t, secondaryAction: i, align: o = "start", className: s }) {
7
- return !t && !i ? null : /* @__PURE__ */ r("div", {
6
+ function i({ primaryAction: t, secondaryAction: i, align: o = "start", className: s, children: c }) {
7
+ return !t && !i && !c ? null : /* @__PURE__ */ r("div", {
8
8
  className: e("flex flex-col gap-3 sm:flex-row sm:items-center", o === "center" && "sm:justify-center", s),
9
- children: [t && /* @__PURE__ */ n(a, {
10
- action: t,
11
- defaultVariant: "solid"
12
- }), i && /* @__PURE__ */ n(a, {
13
- action: i,
14
- defaultVariant: "bordered"
15
- })]
9
+ children: [
10
+ t && /* @__PURE__ */ n(a, {
11
+ action: t,
12
+ defaultVariant: "solid"
13
+ }),
14
+ i && /* @__PURE__ */ n(a, {
15
+ action: i,
16
+ defaultVariant: "bordered"
17
+ }),
18
+ c
19
+ ]
16
20
  });
17
21
  }
18
22
  function a({ action: e, defaultVariant: r }) {
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Skip link helper for AsheeUI.
3
+ *
4
+ * This file provides the internal `SkipLink` component: the first focusable
5
+ * element of a page composition, which lets a keyboard reader pass repeated
6
+ * navigation and land in the content. It is shared by the page compositions so
7
+ * the behaviour (and the classes that hide it until it is focused) are written
8
+ * once. It is an internal helper and is not part of the public component
9
+ * inventory.
10
+ */
11
+ /**
12
+ * Classes of the skip link.
13
+ *
14
+ * The link is visually hidden until it receives focus, which is the arrangement
15
+ * a keyboard reader needs: it is the first thing Tab reaches, and it is
16
+ * invisible to a pointer user until then.
17
+ */
18
+ export declare const SKIP_LINK_CLASS = "sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-background focus:px-4 focus:py-2 focus:text-foreground focus:ring-2 focus:ring-primary";
19
+ /**
20
+ * Props for the internal SkipLink helper.
21
+ */
22
+ export interface SkipLinkProps {
23
+ /**
24
+ * Identifier of the region the link leads to.
25
+ * The region is expected to be focusable (`tabIndex={-1}`), so following the
26
+ * link moves the reader into the content rather than only scrolling to it.
27
+ */
28
+ targetId: string;
29
+ /**
30
+ * Wording of the link, which is also its accessible name.
31
+ */
32
+ label: string;
33
+ /**
34
+ * Additional classes for the anchor.
35
+ */
36
+ className?: string;
37
+ }
38
+ /**
39
+ * Renders the skip link of a page composition.
40
+ *
41
+ * @param props - The destination, the wording and any extra classes.
42
+ * @returns The rendered anchor.
43
+ *
44
+ * @example
45
+ * ```tsx
46
+ * <SkipLink targetId="main-content" label="Skip to content" />
47
+ * ```
48
+ */
49
+ export declare function SkipLink({ targetId, label, className }: SkipLinkProps): import("react").JSX.Element;
50
+ //# sourceMappingURL=SkipLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../src/components/section-kit/SkipLink.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,kMACqK,CAAC;AAElM;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,aAAa,+BAMrE"}
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { cn as e } from "../../utils/cn.js";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/components/section-kit/SkipLink.tsx
5
+ var n = "sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-background focus:px-4 focus:py-2 focus:text-foreground focus:ring-2 focus:ring-primary";
6
+ function r({ targetId: r, label: i, className: a }) {
7
+ return /* @__PURE__ */ t("a", {
8
+ href: `#${r}`,
9
+ className: e(n, a),
10
+ children: i
11
+ });
12
+ }
13
+ //#endregion
14
+ export { n as SKIP_LINK_CLASS, r as SkipLink };
@@ -2,11 +2,12 @@
2
2
  * Internal section kit for AsheeUI.
3
3
  *
4
4
  * The kit holds the parts the framework's patterns share: the heading block
5
- * (`SectionHeading`) and the configured action group (`ActionGroup`). It is an
6
- * internal helper module, like the field and menu helpers: it is deliberately
7
- * not exported from the package entry point and is not part of the public
8
- * component inventory.
5
+ * (`SectionHeading`), the configured action group (`ActionGroup`) and the skip
6
+ * link the page compositions lead with (`SkipLink`). It is an internal helper
7
+ * module, like the field and menu helpers: it is deliberately not exported from
8
+ * the package entry point and is not part of the public component inventory.
9
9
  */
10
10
  export * from './ActionGroup';
11
11
  export * from './SectionHeading';
12
+ export * from './SkipLink';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/section-kit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/section-kit/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from "./ActionGroup.js";
2
2
  export * from "./SectionHeading.js";
3
+ export * from "./SkipLink.js";
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar-layout/SidebarLayout.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AAYjC,KAAK,sBAAsB,GAAG,mBAAmB,GAC/C,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,sBAAsB;IAChE,kEAAkE;IAClE,OAAO,EAAE,SAAS,CAAC;IAEnB,sEAAsE;IACtE,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,kCAAkC;IAClC,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,aAAa,+GAyDzB,CAAC"}
1
+ {"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar-layout/SidebarLayout.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AAajC,KAAK,sBAAsB,GAAG,mBAAmB,GAC/C,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,sBAAsB;IAChE,kEAAkE;IAClE,OAAO,EAAE,SAAS,CAAC;IAEnB,sEAAsE;IACtE,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,kCAAkC;IAClC,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,aAAa,+GAyDzB,CAAC"}
@@ -4,37 +4,37 @@ import { cn as e } from "../../utils/cn.js";
4
4
  import { useAsheeConfig as t } from "../../libs/context.js";
5
5
  import { resolveConfigCascade as n } from "../../utils/resolve-token.js";
6
6
  import { FALLBACK_SIDEBAR_LAYOUT_CONFIG as r } from "./sidebar-layout-config.js";
7
- import { SIDEBAR_LAYOUT_ASIDE_CLASS as i, SIDEBAR_LAYOUT_ASIDE_END_BORDER_CLASS as a, SIDEBAR_LAYOUT_ASIDE_END_CLASS as o, SIDEBAR_LAYOUT_ASIDE_START_BORDER_CLASS as s, SIDEBAR_LAYOUT_CLASS as c, SIDEBAR_LAYOUT_CONTENT_CLASS as l, SIDEBAR_LAYOUT_WIDTH_CLASS as u } from "./sidebar-layout-styles.js";
8
- import { forwardRef as d } from "react";
9
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
+ import { SIDEBAR_LAYOUT_ASIDE_CLASS as i, SIDEBAR_LAYOUT_ASIDE_END_BORDER_CLASS as a, SIDEBAR_LAYOUT_ASIDE_END_CLASS as o, SIDEBAR_LAYOUT_ASIDE_START_BORDER_CLASS as s, SIDEBAR_LAYOUT_CLASS as c, SIDEBAR_LAYOUT_CONTENT_CLASS as l, SIDEBAR_LAYOUT_ROW_CLASS as u, SIDEBAR_LAYOUT_WIDTH_CLASS as d } from "./sidebar-layout-styles.js";
8
+ import { forwardRef as f } from "react";
9
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
10
  //#region src/components/sidebar-layout/SidebarLayout.tsx
11
- var m = d(({ sidebar: d, header: m, footer: h, sidebarLabel: g = "Sidebar", side: _, sidebarWidth: v, stickySidebar: y, as: b, className: x, children: S, ...C }, w) => {
12
- let T = t(), E = n({
13
- side: _,
14
- sidebarWidth: v,
15
- stickySidebar: y
16
- }, T.components?.sidebarlayout, r), D = E.side === "end";
17
- return /* @__PURE__ */ p(b ?? "div", {
18
- ref: w,
19
- className: e(c, x),
20
- ...C,
11
+ var h = f(({ sidebar: f, header: h, footer: g, sidebarLabel: _ = "Sidebar", side: v, sidebarWidth: y, stickySidebar: b, as: x, className: S, children: C, ...w }, T) => {
12
+ let E = t(), D = n({
13
+ side: v,
14
+ sidebarWidth: y,
15
+ stickySidebar: b
16
+ }, E.components?.sidebarlayout, r), O = D.side === "end";
17
+ return /* @__PURE__ */ m(x ?? "div", {
18
+ ref: T,
19
+ className: e(c, S),
20
+ ...w,
21
21
  children: [
22
- m,
23
- /* @__PURE__ */ p("div", {
24
- className: "flex w-full flex-1 flex-col lg:flex-row",
25
- children: [/* @__PURE__ */ f("aside", {
26
- "aria-label": g,
27
- className: e(i, u[E.sidebarWidth], D ? o : s, D ? a : void 0, E.stickySidebar && "lg:sticky lg:top-0 lg:h-dvh lg:overflow-y-auto"),
28
- children: d
29
- }), /* @__PURE__ */ f("div", {
22
+ h,
23
+ /* @__PURE__ */ m("div", {
24
+ className: u,
25
+ children: [/* @__PURE__ */ p("aside", {
26
+ "aria-label": _,
27
+ className: e(i, d[D.sidebarWidth], O ? o : s, O ? a : void 0, D.stickySidebar && "lg:sticky lg:top-0 lg:h-dvh lg:overflow-y-auto"),
28
+ children: f
29
+ }), /* @__PURE__ */ p("div", {
30
30
  className: l,
31
- children: S
31
+ children: C
32
32
  })]
33
33
  }),
34
- h
34
+ g
35
35
  ]
36
36
  });
37
37
  });
38
- m.displayName = "SidebarLayout";
38
+ h.displayName = "SidebarLayout";
39
39
  //#endregion
40
- export { m as SidebarLayout };
40
+ export { h as SidebarLayout };
@@ -1,9 +1,16 @@
1
1
  import { SidebarLayoutWidth } from './sidebar-layout-config';
2
2
  /**
3
- * The shell: a full-height column that becomes a row from the `lg` breakpoint,
4
- * where the navigation column and the content sit beside each other.
3
+ * The shell: a full-height column of the header, the two-column row and the
4
+ * footer. The shell itself stays a column at every width, so the header and the
5
+ * footer always span the page rather than sitting beside the columns.
5
6
  */
6
- export declare const SIDEBAR_LAYOUT_CLASS = "flex min-h-dvh w-full flex-col bg-background lg:flex-row";
7
+ export declare const SIDEBAR_LAYOUT_CLASS = "flex min-h-dvh w-full flex-col bg-background";
8
+ /**
9
+ * The row that holds the navigation column and the content column.
10
+ * It stacks the two columns on a narrow screen and places them side by side
11
+ * from the `lg` breakpoint, which is where the shell becomes two columns.
12
+ */
13
+ export declare const SIDEBAR_LAYOUT_ROW_CLASS = "flex w-full flex-1 flex-col lg:flex-row";
7
14
  /** The navigation column, stacked above the content on a narrow screen. */
8
15
  export declare const SIDEBAR_LAYOUT_ASIDE_CLASS = "w-full shrink-0 border-b border-border";
9
16
  /** The navigation column when it sits at the trailing edge. */
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar-layout-styles.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar-layout/sidebar-layout-styles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,6DAC2B,CAAC;AAE7D,2EAA2E;AAC3E,eAAO,MAAM,0BAA0B,2CACG,CAAC;AAE3C,+DAA+D;AAC/D,eAAO,MAAM,8BAA8B,kBAAkB,CAAC;AAE9D,kEAAkE;AAClE,eAAO,MAAM,uCAAuC,gBAAgB,CAAC;AAErE,mEAAmE;AACnE,eAAO,MAAM,qCAAqC,gBAAgB,CAAC;AAEnE,qEAAqE;AACrE,eAAO,MAAM,iCAAiC,mDACI,CAAC;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAIzE,CAAC"}
1
+ {"version":3,"file":"sidebar-layout-styles.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar-layout/sidebar-layout-styles.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,iDACe,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,4CACM,CAAC;AAE5C,2EAA2E;AAC3E,eAAO,MAAM,0BAA0B,2CACG,CAAC;AAE3C,+DAA+D;AAC/D,eAAO,MAAM,8BAA8B,kBAAkB,CAAC;AAE9D,kEAAkE;AAClE,eAAO,MAAM,uCAAuC,gBAAgB,CAAC;AAErE,mEAAmE;AACnE,eAAO,MAAM,qCAAqC,gBAAgB,CAAC;AAEnE,qEAAqE;AACrE,eAAO,MAAM,iCAAiC,mDACI,CAAC;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAIzE,CAAC"}
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  //#region src/components/sidebar-layout/sidebar-layout-styles.ts
3
- var e = "flex min-h-dvh w-full flex-col bg-background lg:flex-row", t = "w-full shrink-0 border-b border-border", n = "lg:order-last", r = "lg:border-r", i = "lg:border-l", a = "lg:sticky lg:top-0 lg:h-dvh lg:overflow-y-auto", o = "flex min-w-0 flex-1 flex-col", s = {
3
+ var e = "flex min-h-dvh w-full flex-col bg-background", t = "flex w-full flex-1 flex-col lg:flex-row", n = "w-full shrink-0 border-b border-border", r = "lg:order-last", i = "lg:border-r", a = "lg:border-l", o = "lg:sticky lg:top-0 lg:h-dvh lg:overflow-y-auto", s = "flex min-w-0 flex-1 flex-col", c = {
4
4
  sm: "lg:w-56",
5
5
  md: "lg:w-64",
6
6
  lg: "lg:w-80"
7
7
  };
8
8
  //#endregion
9
- export { t as SIDEBAR_LAYOUT_ASIDE_CLASS, i as SIDEBAR_LAYOUT_ASIDE_END_BORDER_CLASS, n as SIDEBAR_LAYOUT_ASIDE_END_CLASS, r as SIDEBAR_LAYOUT_ASIDE_START_BORDER_CLASS, a as SIDEBAR_LAYOUT_ASIDE_STICKY_CLASS, e as SIDEBAR_LAYOUT_CLASS, o as SIDEBAR_LAYOUT_CONTENT_CLASS, s as SIDEBAR_LAYOUT_WIDTH_CLASS };
9
+ export { n as SIDEBAR_LAYOUT_ASIDE_CLASS, a as SIDEBAR_LAYOUT_ASIDE_END_BORDER_CLASS, r as SIDEBAR_LAYOUT_ASIDE_END_CLASS, i as SIDEBAR_LAYOUT_ASIDE_START_BORDER_CLASS, o as SIDEBAR_LAYOUT_ASIDE_STICKY_CLASS, e as SIDEBAR_LAYOUT_CLASS, s as SIDEBAR_LAYOUT_CONTENT_CLASS, t as SIDEBAR_LAYOUT_ROW_CLASS, c as SIDEBAR_LAYOUT_WIDTH_CLASS };