ardo 3.0.4 → 3.1.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.
- package/dist/{FileTree-K0YVFXhg.d.ts → Features-D_Pt7zpA.d.ts} +9 -47
- package/dist/Search-DOJMNI2T.css +193 -0
- package/dist/Search-DOJMNI2T.css.map +1 -0
- package/dist/Search-VYYG3D43.js +10 -0
- package/dist/chunk-4YQE3TNM.js +1 -0
- package/dist/chunk-4YQE3TNM.js.map +1 -0
- package/dist/chunk-AXLJDGQL.js +1 -0
- package/dist/chunk-AXLJDGQL.js.map +1 -0
- package/dist/{chunk-TDBU2FXP.js → chunk-CZM5NX27.js} +301 -236
- package/dist/chunk-CZM5NX27.js.map +1 -0
- package/dist/{chunk-UWFMFHRD.js → chunk-IEPSORG5.js} +177 -63
- package/dist/chunk-IEPSORG5.js.map +1 -0
- package/dist/chunk-KUWEUO37.js +1 -0
- package/dist/chunk-KUWEUO37.js.map +1 -0
- package/dist/chunk-PMS3P4MA.js +43 -0
- package/dist/chunk-PMS3P4MA.js.map +1 -0
- package/dist/{chunk-BHHI2BO4.js → chunk-ZPYQQZ7J.js} +36 -20
- package/dist/chunk-ZPYQQZ7J.js.map +1 -0
- package/dist/index.css +1290 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -8
- package/dist/mdx/provider.css +403 -0
- package/dist/mdx/provider.css.map +1 -0
- package/dist/mdx/provider.js +3 -2
- package/dist/mdx/provider.js.map +1 -1
- package/dist/theme/index.d.ts +196 -0
- package/dist/theme/index.js +135 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/ui/index.css +1290 -0
- package/dist/ui/index.css.map +1 -0
- package/dist/ui/index.d.ts +3 -23
- package/dist/ui/index.js +7 -10
- package/dist/ui/styles.css +1039 -1976
- package/dist/ui/styles.css.map +1 -0
- package/dist/ui/styles.d.ts +2 -0
- package/dist/ui/styles.js +4 -0
- package/dist/ui/styles.js.map +1 -0
- package/dist/vite/index.js +4 -0
- package/dist/vite/index.js.map +1 -1
- package/package.json +12 -2
- package/dist/Search-MXGJE6PQ.js +0 -9
- package/dist/chunk-BHHI2BO4.js.map +0 -1
- package/dist/chunk-MJQGGJQZ.js +0 -88
- package/dist/chunk-MJQGGJQZ.js.map +0 -1
- package/dist/chunk-TDBU2FXP.js.map +0 -1
- package/dist/chunk-UWFMFHRD.js.map +0 -1
- /package/dist/{Search-MXGJE6PQ.js.map → Search-VYYG3D43.js.map} +0 -0
|
@@ -71,6 +71,8 @@ interface HeaderProps {
|
|
|
71
71
|
search?: boolean;
|
|
72
72
|
/** Show theme toggle (default: true) */
|
|
73
73
|
themeToggle?: boolean;
|
|
74
|
+
/** Additional content rendered in the mobile menu (e.g. sidebar) */
|
|
75
|
+
mobileMenuContent?: ReactNode;
|
|
74
76
|
/** Additional CSS classes */
|
|
75
77
|
className?: string;
|
|
76
78
|
}
|
|
@@ -99,7 +101,7 @@ interface HeaderProps {
|
|
|
99
101
|
* />
|
|
100
102
|
* ```
|
|
101
103
|
*/
|
|
102
|
-
declare function Header({ logo, title, nav, actions, search, themeToggle, className, }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function Header({ logo, title, nav, actions, search, themeToggle, mobileMenuContent, className, }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
103
105
|
interface SocialLinkProps {
|
|
104
106
|
/** URL to link to */
|
|
105
107
|
href: string;
|
|
@@ -356,7 +358,7 @@ interface CodeBlockProps {
|
|
|
356
358
|
* <CodeBlock language="typescript">{`
|
|
357
359
|
* const x = 42
|
|
358
360
|
* `}</CodeBlock>
|
|
359
|
-
* ```
|
|
361
|
+
* ```tsx
|
|
360
362
|
* When children is a string, leading/trailing blank lines and common
|
|
361
363
|
* indentation are stripped automatically.
|
|
362
364
|
*/
|
|
@@ -457,8 +459,8 @@ interface TabListProps {
|
|
|
457
459
|
*/
|
|
458
460
|
declare function TabList({ children }: TabListProps): react_jsx_runtime.JSX.Element;
|
|
459
461
|
interface TabProps {
|
|
460
|
-
/** Unique value identifying this tab */
|
|
461
|
-
value
|
|
462
|
+
/** Unique value identifying this tab (optional if tab order matches panels) */
|
|
463
|
+
value?: string;
|
|
462
464
|
/** Tab button label */
|
|
463
465
|
children: ReactNode;
|
|
464
466
|
}
|
|
@@ -467,8 +469,8 @@ interface TabProps {
|
|
|
467
469
|
*/
|
|
468
470
|
declare function Tab({ value, children }: TabProps): react_jsx_runtime.JSX.Element;
|
|
469
471
|
interface TabPanelProps {
|
|
470
|
-
/** Value matching the corresponding Tab */
|
|
471
|
-
value
|
|
472
|
+
/** Value matching the corresponding Tab (optional if panel order matches tabs) */
|
|
473
|
+
value?: string;
|
|
472
474
|
/** Panel content */
|
|
473
475
|
children: ReactNode;
|
|
474
476
|
}
|
|
@@ -610,44 +612,4 @@ declare function FeatureCard({ title, icon, details, link, linkText, className,
|
|
|
610
612
|
*/
|
|
611
613
|
declare function Features({ items, title, subtitle, className }: FeaturesProps): react_jsx_runtime.JSX.Element | null;
|
|
612
614
|
|
|
613
|
-
|
|
614
|
-
/** Content to display — expects an ordered list (`<ol>`) from MDX */
|
|
615
|
-
children: ReactNode;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* A wrapper for ordered lists that renders numbered step indicators.
|
|
619
|
-
*
|
|
620
|
-
* @example
|
|
621
|
-
* ```mdx
|
|
622
|
-
* <Steps>
|
|
623
|
-
* 1. Install the package
|
|
624
|
-
* 2. Configure your site
|
|
625
|
-
* 3. Start writing
|
|
626
|
-
* </Steps>
|
|
627
|
-
* ```
|
|
628
|
-
*/
|
|
629
|
-
declare function Steps({ children }: StepsProps): react_jsx_runtime.JSX.Element;
|
|
630
|
-
|
|
631
|
-
interface FileTreeProps {
|
|
632
|
-
/** Content to display — expects an unordered list (`<ul>`) from MDX */
|
|
633
|
-
children: ReactNode;
|
|
634
|
-
}
|
|
635
|
-
/**
|
|
636
|
-
* A wrapper for unordered lists that renders a file/folder tree with icons.
|
|
637
|
-
*
|
|
638
|
-
* @example
|
|
639
|
-
* ```mdx
|
|
640
|
-
* <FileTree>
|
|
641
|
-
* - src/
|
|
642
|
-
* - components/
|
|
643
|
-
* - Header.tsx
|
|
644
|
-
* - Footer.tsx
|
|
645
|
-
* - index.ts
|
|
646
|
-
* - package.json
|
|
647
|
-
* - README.md
|
|
648
|
-
* </FileTree>
|
|
649
|
-
* ```
|
|
650
|
-
*/
|
|
651
|
-
declare function FileTree({ children }: FileTreeProps): react_jsx_runtime.JSX.Element;
|
|
652
|
-
|
|
653
|
-
export { type SidebarProps as $, Steps as A, type StepsProps as B, CodeBlock as C, Danger as D, Tab as E, FeatureCard as F, TabList as G, Header as H, Info as I, type TabListProps as J, TabPanel as K, Layout as L, type TabPanelProps as M, Note as N, TabPanels as O, type TabPanelsProps as P, type TabProps as Q, Tabs as R, Search as S, TOC as T, type TabsProps as U, ThemeToggle as V, Tip as W, type TipProps as X, Warning as Y, type WarningProps as Z, type HeaderProps as _, type CodeBlockProps as a, type FooterProps as a0, DocContent as a1, type FooterCopyrightProps as a2, type FooterMessageProps as a3, type LayoutProps as a4, RootLayout as a5, type RootLayoutProps as a6, SidebarGroup as a7, type SidebarGroupProps as a8, SidebarLink as a9, type SidebarLinkProps as aa, SocialLink as ab, type SocialLinkProps as ac, CodeGroup as b, type CodeGroupProps as c, Container as d, type ContainerProps as e, type ContainerType as f, Content as g, CopyButton as h, type DangerProps as i, DocLayout as j, DocPage as k, type FeatureCardProps as l, type FeatureItem as m, Features as n, type FeaturesProps as o, FileTree as p, type FileTreeProps as q, Footer as r, Hero as s, type HeroAction as t, type HeroImage as u, type HeroProps as v, HomePage as w, type InfoProps as x, type NoteProps as y, Sidebar as z };
|
|
615
|
+
export { type FooterMessageProps as $, type TabListProps as A, TabPanel as B, CodeBlock as C, Danger as D, type TabPanelProps as E, FeatureCard as F, TabPanels as G, Header as H, Info as I, type TabPanelsProps as J, type TabProps as K, Layout as L, Tabs as M, Note as N, type TabsProps as O, ThemeToggle as P, Tip as Q, type TipProps as R, Search as S, TOC as T, type WarningProps as U, type HeaderProps as V, Warning as W, type SidebarProps as X, type FooterProps as Y, DocContent as Z, type FooterCopyrightProps as _, type CodeBlockProps as a, type LayoutProps as a0, RootLayout as a1, type RootLayoutProps as a2, SidebarGroup as a3, type SidebarGroupProps as a4, SidebarLink as a5, type SidebarLinkProps as a6, SocialLink as a7, type SocialLinkProps as a8, CodeGroup as b, type CodeGroupProps as c, Container as d, type ContainerProps as e, type ContainerType as f, Content as g, CopyButton as h, type DangerProps as i, DocLayout as j, DocPage as k, type FeatureCardProps as l, type FeatureItem as m, Features as n, type FeaturesProps as o, Footer as p, Hero as q, type HeroAction as r, type HeroImage as s, type HeroProps as t, HomePage as u, type InfoProps as v, type NoteProps as w, Sidebar as x, Tab as y, TabList as z };
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* vanilla-extract-css-ns:src/ui/components/Search.css.ts.vanilla.css?source=#H4sIAAAAAAAAA81Y3YrjNhi9n6cQCwsJHaV24mRSL4VCYaF0KUund2VZZEuJ1SiSseTE2WXevUi2YtlWnGQGSpmLSeRP3-_R0XFmzwQVafZV1v--HqsU00MAvj8AkAtJFRU8BgVhSNED-fAAwJFilcUgZWifT-bzIK8ewSI4HB_BYhXk1VTb7FEFG7swCN7rJVUgbt2ZR-CAigmEqMACtg_hBkk1_fDw8jDrZPaREoZteqFJD1OZM3SKwYaRSodAjG45pIrsZQxSwhUp9PIW5TFY58ZkTznMCN1mKgZRUK_lCGPKt8YGhPN6MUHpbluIkuPYTTQVTBQw2T6LjTKVJqLApIhBmFdACkaxx9qYONawQJiWsuO4XoIJksRYmq2e0IpU6pPOv_GYloXUhnq93-Ymmtk41u1HkIgKygxhcRy3u-pqOLgzpOJMHEgBxsb6CC7t3Yi0lPBIVUb5qAuDDLdw3_gKxPFtXW6mZrsTg8D8LfIKiB1Ls0kwi9YgmIVLED4F4Ef9MfJ04Teel8omOTdJatTGILSobI5L4IKKC26OnCgVo5y0CxvBFZT0G4lBGA0Ba83GyruaZBznDKUkEwyTwmR8GyaveK0neaCSJowYt73q-vs_i1wDx3pY9KgJJVKwUpl6lchjkCKWTjTrgB9AaAmpqI984BDYnvLJcmXoy245HAEE8yivptMbOMB3osNVM407aaEF2MCufvCpDqc7sWHaLqMYE67XvkHKscbSPAyG7fuTyJIpadsXmfYxKhWU6sQcTGnObqmx4UYbD55igEolLvm37pddZk6YSHcdjtX8CuaNdw0ciEkqClQP80bgntueCKXE_oY2t4e5Q5DnAd_Hab2aY4akgmlGGXbpxybnh3Xfh2HHPgH2jGaSMJIq0oRx4HmJjILlxfT_oooR63p1YW6GaI4NKpZBUAOl2FJ-Ls9cmP4QzyTVbbRBnsaCNGy2qJHxOqr5Q_TQvq7JwoJvMQCfkQyuWHhd4I9CqJaifvLLk39KqejmBFPBFeFqIFHmUU-PdM7KfYIEGiq8jX3c9s_f0v5-F3YJ7vZf17O6qZy3a6ummQ1YG_6PfFj9lRF0zhp1Z0e5vprgFYU5MtnmsrGztQRrv2vHUGYF5Tt793vu8b4esKIvF9TGcYe4vmeIzngi9-4aEalyP2BSxNh9FNpteqMN-6w2hvM7tc3vyVkjJt0Rt_efQQojm0tA6fj4P4DbHXroLG3QnrJTJ7azbrrzy55gisDEeVN7Wq3zamqKuiDDzbMzpu3708tgg0eSD3Y1pBfUn913ML9Pj4K2Glor8lqcOHEaxyJHKVWnNlB9ZCA5EK5kO_1hQK_u7CrJjpaM5h4tGVgt6WmS587wwHK40cNXN-07j_FvjBSCpMoRxwT__E4VJXn35caXr-_9uhc-DT1S95U0_pMXxHMB9teJ7q8EF34TeGstXQi_qpaRUxD2AB_6AW8PyluL6aLwVcWMA7l39b64pNW-L18krQHhexRZM_WFHe_LvzbcwBQOEwAA */
|
|
2
|
+
.Search_search__wxcdiv0 {
|
|
3
|
+
position: relative;
|
|
4
|
+
width: clamp(220px, 30vw, 360px);
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
transition: width var(--ardo-transition-fast);
|
|
7
|
+
}
|
|
8
|
+
.Search_searchField__wxcdiv1 {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
min-height: 40px;
|
|
13
|
+
padding: 8px 12px;
|
|
14
|
+
background: var(--ardo-color-bgSoft);
|
|
15
|
+
border: 1px solid var(--ardo-color-border);
|
|
16
|
+
border-radius: var(--ardo-radius-base);
|
|
17
|
+
color: var(--ardo-color-textLighter);
|
|
18
|
+
cursor: text;
|
|
19
|
+
transition:
|
|
20
|
+
border-color var(--ardo-transition-fast),
|
|
21
|
+
box-shadow var(--ardo-transition-fast),
|
|
22
|
+
color var(--ardo-transition-fast);
|
|
23
|
+
}
|
|
24
|
+
.Search_search__wxcdiv0:hover .Search_searchField__wxcdiv1,
|
|
25
|
+
.Search_search__wxcdiv0:focus-within .Search_searchField__wxcdiv1 {
|
|
26
|
+
border-color: var(--ardo-color-brand);
|
|
27
|
+
color: var(--ardo-color-textLight);
|
|
28
|
+
box-shadow: 0 0 0 3px oklch(0.48 0.15 170 / 0.14);
|
|
29
|
+
}
|
|
30
|
+
.Search_searchInput__wxcdiv2 {
|
|
31
|
+
flex: 1;
|
|
32
|
+
min-width: 0;
|
|
33
|
+
border: none;
|
|
34
|
+
outline: none;
|
|
35
|
+
font-size: 14px;
|
|
36
|
+
background: none;
|
|
37
|
+
color: var(--ardo-color-text);
|
|
38
|
+
}
|
|
39
|
+
.Search_searchInput__wxcdiv2::placeholder {
|
|
40
|
+
color: var(--ardo-color-textLighter);
|
|
41
|
+
}
|
|
42
|
+
.Search_searchInput__wxcdiv2:focus-visible {
|
|
43
|
+
outline: none;
|
|
44
|
+
}
|
|
45
|
+
.Search_searchPopover__wxcdiv3 {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: calc(100% + 10px);
|
|
48
|
+
right: 0;
|
|
49
|
+
width: min(560px, calc(100vw - 24px));
|
|
50
|
+
background: var(--ardo-color-bg);
|
|
51
|
+
border-radius: 16px;
|
|
52
|
+
border: 1px solid var(--ardo-color-border);
|
|
53
|
+
box-shadow: var(--ardo-color-shadowLg);
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
z-index: 210;
|
|
56
|
+
}
|
|
57
|
+
.Search_searchResults__wxcdiv4 {
|
|
58
|
+
list-style: none;
|
|
59
|
+
max-height: 400px;
|
|
60
|
+
overflow-y: auto;
|
|
61
|
+
}
|
|
62
|
+
.Search_searchResult__wxcdiv5 {
|
|
63
|
+
display: block;
|
|
64
|
+
padding: 12px 20px;
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
color: var(--ardo-color-text);
|
|
67
|
+
border-bottom: 1px solid var(--ardo-color-borderLight);
|
|
68
|
+
transition: background var(--ardo-transition-fast);
|
|
69
|
+
}
|
|
70
|
+
.Search_searchResult__wxcdiv5:last-child {
|
|
71
|
+
border-bottom: none;
|
|
72
|
+
}
|
|
73
|
+
.Search_searchResult__wxcdiv5:hover,
|
|
74
|
+
.Search_searchResult__wxcdiv5.selected {
|
|
75
|
+
background: oklch(0.48 0.15 170 / 0.05);
|
|
76
|
+
}
|
|
77
|
+
.Search_searchResultTitle__wxcdiv6 {
|
|
78
|
+
display: block;
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
margin-bottom: 2px;
|
|
81
|
+
}
|
|
82
|
+
.Search_searchResultSection__wxcdiv7 {
|
|
83
|
+
display: block;
|
|
84
|
+
font-size: 13px;
|
|
85
|
+
color: var(--ardo-color-textLighter);
|
|
86
|
+
}
|
|
87
|
+
.Search_searchNoResults__wxcdiv8 {
|
|
88
|
+
padding: 32px 20px;
|
|
89
|
+
text-align: center;
|
|
90
|
+
color: var(--ardo-color-textLighter);
|
|
91
|
+
}
|
|
92
|
+
.Search_searchFooter__wxcdiv9 {
|
|
93
|
+
display: flex;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
gap: 24px;
|
|
96
|
+
padding: 12px 20px;
|
|
97
|
+
background: var(--ardo-color-bgSoft);
|
|
98
|
+
border-top: 1px solid var(--ardo-color-border);
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
color: var(--ardo-color-textLighter);
|
|
101
|
+
}
|
|
102
|
+
.Search_searchFooter__wxcdiv9 kbd {
|
|
103
|
+
padding: 2px 6px;
|
|
104
|
+
background: var(--ardo-color-bg);
|
|
105
|
+
border: 1px solid var(--ardo-color-border);
|
|
106
|
+
border-radius: 4px;
|
|
107
|
+
margin-right: 4px;
|
|
108
|
+
}
|
|
109
|
+
.Search_searchClear__wxcdiva {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
width: 24px;
|
|
114
|
+
height: 24px;
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
background: none;
|
|
117
|
+
border: none;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
font-size: 18px;
|
|
120
|
+
color: var(--ardo-color-textLighter);
|
|
121
|
+
padding: 4px;
|
|
122
|
+
border-radius: var(--ardo-radius-sm);
|
|
123
|
+
transition: all var(--ardo-transition-fast);
|
|
124
|
+
}
|
|
125
|
+
.Search_searchClear__wxcdiva:hover {
|
|
126
|
+
background: var(--ardo-color-bgSoft);
|
|
127
|
+
color: var(--ardo-color-text);
|
|
128
|
+
}
|
|
129
|
+
.Search_searchKbd__wxcdivb {
|
|
130
|
+
display: none;
|
|
131
|
+
margin-left: 4px;
|
|
132
|
+
}
|
|
133
|
+
.Search_searchKbd__wxcdivb kbd {
|
|
134
|
+
padding: 2px 6px;
|
|
135
|
+
background: var(--ardo-color-bg);
|
|
136
|
+
border: 1px solid var(--ardo-color-border);
|
|
137
|
+
border-radius: 4px;
|
|
138
|
+
font-size: 11px;
|
|
139
|
+
font-family: var(--ardo-font-family);
|
|
140
|
+
}
|
|
141
|
+
@media (max-width: 768px) {
|
|
142
|
+
.Search_search__wxcdiv0 {
|
|
143
|
+
width: 40px;
|
|
144
|
+
}
|
|
145
|
+
.Search_searchField__wxcdiv1 {
|
|
146
|
+
width: 40px;
|
|
147
|
+
gap: 0;
|
|
148
|
+
padding: 8px;
|
|
149
|
+
}
|
|
150
|
+
.Search_searchInput__wxcdiv2 {
|
|
151
|
+
flex: 0 0 auto;
|
|
152
|
+
width: 0;
|
|
153
|
+
opacity: 0;
|
|
154
|
+
pointer-events: none;
|
|
155
|
+
}
|
|
156
|
+
.Search_searchPopover__wxcdiv3 {
|
|
157
|
+
right: 0;
|
|
158
|
+
width: min(420px, calc(100vw - 20px));
|
|
159
|
+
}
|
|
160
|
+
.Search_searchFooter__wxcdiv9 {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
.Search_searchClear__wxcdiva {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
.Search_search__wxcdiv0[data-expanded=true],
|
|
167
|
+
.Search_search__wxcdiv0:focus-within {
|
|
168
|
+
width: min(360px, calc(100vw - 20px));
|
|
169
|
+
}
|
|
170
|
+
.Search_search__wxcdiv0[data-expanded=true] .Search_searchField__wxcdiv1,
|
|
171
|
+
.Search_search__wxcdiv0:focus-within .Search_searchField__wxcdiv1 {
|
|
172
|
+
width: 100%;
|
|
173
|
+
gap: 8px;
|
|
174
|
+
padding: 8px 12px;
|
|
175
|
+
}
|
|
176
|
+
.Search_search__wxcdiv0[data-expanded=true] .Search_searchInput__wxcdiv2,
|
|
177
|
+
.Search_search__wxcdiv0:focus-within .Search_searchInput__wxcdiv2 {
|
|
178
|
+
flex: 1;
|
|
179
|
+
opacity: 1;
|
|
180
|
+
pointer-events: auto;
|
|
181
|
+
}
|
|
182
|
+
.Search_search__wxcdiv0[data-expanded=true] .Search_searchClear__wxcdiva,
|
|
183
|
+
.Search_search__wxcdiv0:focus-within .Search_searchClear__wxcdiva {
|
|
184
|
+
display: inline-flex;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
@media (min-width: 768px) {
|
|
188
|
+
.Search_searchKbd__wxcdivb {
|
|
189
|
+
display: flex;
|
|
190
|
+
gap: 3px;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
/*# sourceMappingURL=Search-DOJMNI2T.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["vanilla-extract-css-ns:src/ui/components/Search.css.ts.vanilla.css?source=#H4sIAAAAAAAAA81Y3YrjNhi9n6cQCwsJHaV24mRSL4VCYaF0KUund2VZZEuJ1SiSseTE2WXevUi2YtlWnGQGSpmLSeRP3-_R0XFmzwQVafZV1v--HqsU00MAvj8AkAtJFRU8BgVhSNED-fAAwJFilcUgZWifT-bzIK8ewSI4HB_BYhXk1VTb7FEFG7swCN7rJVUgbt2ZR-CAigmEqMACtg_hBkk1_fDw8jDrZPaREoZteqFJD1OZM3SKwYaRSodAjG45pIrsZQxSwhUp9PIW5TFY58ZkTznMCN1mKgZRUK_lCGPKt8YGhPN6MUHpbluIkuPYTTQVTBQw2T6LjTKVJqLApIhBmFdACkaxx9qYONawQJiWsuO4XoIJksRYmq2e0IpU6pPOv_GYloXUhnq93-Ymmtk41u1HkIgKygxhcRy3u-pqOLgzpOJMHEgBxsb6CC7t3Yi0lPBIVUb5qAuDDLdw3_gKxPFtXW6mZrsTg8D8LfIKiB1Ls0kwi9YgmIVLED4F4Ef9MfJ04Teel8omOTdJatTGILSobI5L4IKKC26OnCgVo5y0CxvBFZT0G4lBGA0Ba83GyruaZBznDKUkEwyTwmR8GyaveK0neaCSJowYt73q-vs_i1wDx3pY9KgJJVKwUpl6lchjkCKWTjTrgB9AaAmpqI984BDYnvLJcmXoy245HAEE8yivptMbOMB3osNVM407aaEF2MCufvCpDqc7sWHaLqMYE67XvkHKscbSPAyG7fuTyJIpadsXmfYxKhWU6sQcTGnObqmx4UYbD55igEolLvm37pddZk6YSHcdjtX8CuaNdw0ciEkqClQP80bgntueCKXE_oY2t4e5Q5DnAd_Hab2aY4akgmlGGXbpxybnh3Xfh2HHPgH2jGaSMJIq0oRx4HmJjILlxfT_oooR63p1YW6GaI4NKpZBUAOl2FJ-Ls9cmP4QzyTVbbRBnsaCNGy2qJHxOqr5Q_TQvq7JwoJvMQCfkQyuWHhd4I9CqJaifvLLk39KqejmBFPBFeFqIFHmUU-PdM7KfYIEGiq8jX3c9s_f0v5-F3YJ7vZf17O6qZy3a6ummQ1YG_6PfFj9lRF0zhp1Z0e5vprgFYU5MtnmsrGztQRrv2vHUGYF5Tt793vu8b4esKIvF9TGcYe4vmeIzngi9-4aEalyP2BSxNh9FNpteqMN-6w2hvM7tc3vyVkjJt0Rt_efQQojm0tA6fj4P4DbHXroLG3QnrJTJ7azbrrzy55gisDEeVN7Wq3zamqKuiDDzbMzpu3708tgg0eSD3Y1pBfUn913ML9Pj4K2Glor8lqcOHEaxyJHKVWnNlB9ZCA5EK5kO_1hQK_u7CrJjpaM5h4tGVgt6WmS587wwHK40cNXN-07j_FvjBSCpMoRxwT__E4VJXn35caXr-_9uhc-DT1S95U0_pMXxHMB9teJ7q8EF34TeGstXQi_qpaRUxD2AB_6AW8PyluL6aLwVcWMA7l39b64pNW-L18krQHhexRZM_WFHe_LvzbcwBQOEwAA"],"sourcesContent":[".Search_search__wxcdiv0 {\n position: relative;\n width: clamp(220px, 30vw, 360px);\n max-width: 100%;\n transition: width var(--ardo-transition-fast);\n}\n.Search_searchField__wxcdiv1 {\n display: flex;\n align-items: center;\n gap: 8px;\n min-height: 40px;\n padding: 8px 12px;\n background: var(--ardo-color-bgSoft);\n border: 1px solid var(--ardo-color-border);\n border-radius: var(--ardo-radius-base);\n color: var(--ardo-color-textLighter);\n cursor: text;\n transition: border-color var(--ardo-transition-fast), box-shadow var(--ardo-transition-fast), color var(--ardo-transition-fast);\n}\n.Search_search__wxcdiv0:hover .Search_searchField__wxcdiv1, .Search_search__wxcdiv0:focus-within .Search_searchField__wxcdiv1 {\n border-color: var(--ardo-color-brand);\n color: var(--ardo-color-textLight);\n box-shadow: 0 0 0 3px oklch(0.48 0.15 170 / 0.14);\n}\n.Search_searchInput__wxcdiv2 {\n flex: 1;\n min-width: 0;\n border: none;\n outline: none;\n font-size: 14px;\n background: none;\n color: var(--ardo-color-text);\n}\n.Search_searchInput__wxcdiv2::placeholder {\n color: var(--ardo-color-textLighter);\n}\n.Search_searchInput__wxcdiv2:focus-visible {\n outline: none;\n}\n.Search_searchPopover__wxcdiv3 {\n position: absolute;\n top: calc(100% + 10px);\n right: 0;\n width: min(560px, calc(100vw - 24px));\n background: var(--ardo-color-bg);\n border-radius: 16px;\n border: 1px solid var(--ardo-color-border);\n box-shadow: var(--ardo-color-shadowLg);\n overflow: hidden;\n z-index: 210;\n}\n.Search_searchResults__wxcdiv4 {\n list-style: none;\n max-height: 400px;\n overflow-y: auto;\n}\n.Search_searchResult__wxcdiv5 {\n display: block;\n padding: 12px 20px;\n text-decoration: none;\n color: var(--ardo-color-text);\n border-bottom: 1px solid var(--ardo-color-borderLight);\n transition: background var(--ardo-transition-fast);\n}\n.Search_searchResult__wxcdiv5:last-child {\n border-bottom: none;\n}\n.Search_searchResult__wxcdiv5:hover, .Search_searchResult__wxcdiv5.selected {\n background: oklch(0.48 0.15 170 / 0.05);\n}\n.Search_searchResultTitle__wxcdiv6 {\n display: block;\n font-weight: 500;\n margin-bottom: 2px;\n}\n.Search_searchResultSection__wxcdiv7 {\n display: block;\n font-size: 13px;\n color: var(--ardo-color-textLighter);\n}\n.Search_searchNoResults__wxcdiv8 {\n padding: 32px 20px;\n text-align: center;\n color: var(--ardo-color-textLighter);\n}\n.Search_searchFooter__wxcdiv9 {\n display: flex;\n justify-content: center;\n gap: 24px;\n padding: 12px 20px;\n background: var(--ardo-color-bgSoft);\n border-top: 1px solid var(--ardo-color-border);\n font-size: 12px;\n color: var(--ardo-color-textLighter);\n}\n.Search_searchFooter__wxcdiv9 kbd {\n padding: 2px 6px;\n background: var(--ardo-color-bg);\n border: 1px solid var(--ardo-color-border);\n border-radius: 4px;\n margin-right: 4px;\n}\n.Search_searchClear__wxcdiva {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n background: none;\n border: none;\n cursor: pointer;\n font-size: 18px;\n color: var(--ardo-color-textLighter);\n padding: 4px;\n border-radius: var(--ardo-radius-sm);\n transition: all var(--ardo-transition-fast);\n}\n.Search_searchClear__wxcdiva:hover {\n background: var(--ardo-color-bgSoft);\n color: var(--ardo-color-text);\n}\n.Search_searchKbd__wxcdivb {\n display: none;\n margin-left: 4px;\n}\n.Search_searchKbd__wxcdivb kbd {\n padding: 2px 6px;\n background: var(--ardo-color-bg);\n border: 1px solid var(--ardo-color-border);\n border-radius: 4px;\n font-size: 11px;\n font-family: var(--ardo-font-family);\n}\n@media (max-width: 768px) {\n .Search_search__wxcdiv0 {\n width: 40px;\n }\n .Search_searchField__wxcdiv1 {\n width: 40px;\n gap: 0;\n padding: 8px;\n }\n .Search_searchInput__wxcdiv2 {\n flex: 0 0 auto;\n width: 0;\n opacity: 0;\n pointer-events: none;\n }\n .Search_searchPopover__wxcdiv3 {\n right: 0;\n width: min(420px, calc(100vw - 20px));\n }\n .Search_searchFooter__wxcdiv9 {\n display: none;\n }\n .Search_searchClear__wxcdiva {\n display: none;\n }\n .Search_search__wxcdiv0[data-expanded=\"true\"], .Search_search__wxcdiv0:focus-within {\n width: min(360px, calc(100vw - 20px));\n }\n .Search_search__wxcdiv0[data-expanded=\"true\"] .Search_searchField__wxcdiv1, .Search_search__wxcdiv0:focus-within .Search_searchField__wxcdiv1 {\n width: 100%;\n gap: 8px;\n padding: 8px 12px;\n }\n .Search_search__wxcdiv0[data-expanded=\"true\"] .Search_searchInput__wxcdiv2, .Search_search__wxcdiv0:focus-within .Search_searchInput__wxcdiv2 {\n flex: 1;\n opacity: 1;\n pointer-events: auto;\n }\n .Search_search__wxcdiv0[data-expanded=\"true\"] .Search_searchClear__wxcdiva, .Search_search__wxcdiv0:focus-within .Search_searchClear__wxcdiva {\n display: inline-flex;\n }\n}\n@media (min-width: 768px) {\n .Search_searchKbd__wxcdivb {\n display: flex;\n gap: 3px;\n }\n}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A,GA/JD,sBA+JwB,CAAC;AAAA,EAAuB,CA/JhD,sBA+JuE;AACpE,WAAO,IAAI,KAAK,EAAE,KAAK,MAAM,EAAE;AACjC;AACA,GAlKD,sBAkKwB,CAAC,oBAAsB,CA5J/C;AAAA,EA4J6E,CAlK7E,sBAkKoG,cAAc,CA5JlH;AA6JG,WAAO;AACP,SAAK;AACL,aAAS,IAAI;AACf;AACA,GAvKD,sBAuKwB,CAAC,oBAAsB,CA/I/C;AAAA,EA+I6E,CAvK7E,sBAuKoG,cAAc,CA/IlH;AAgJG,UAAM;AACN,aAAS;AACT,oBAAgB;AAClB;AACA,GA5KD,sBA4KwB,CAAC,oBAAsB,CAtE/C;AAAA,EAsE6E,CA5K7E,sBA4KoG,cAAc,CAtElH;AAuEG,aAAS;AACX;AACF;AACA,QAAO,WAAY;AACjB,GAvDD;AAwDG,aAAS;AACT,SAAK;AACP;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-4YQE3TNM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-AXLJDGQL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|