@m3-baseui/react-tailwind 1.0.4 → 1.2.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/bottom-app-bar.d.ts +62 -0
- package/dist/bottom-app-bar.js +51 -0
- package/dist/bottom-app-bar.js.map +1 -0
- package/dist/bottom-sheet.d.ts +101 -0
- package/dist/bottom-sheet.js +70 -0
- package/dist/bottom-sheet.js.map +1 -0
- package/dist/button-group.d.ts +48 -0
- package/dist/button-group.js +58 -0
- package/dist/button-group.js.map +1 -0
- package/dist/carousel.d.ts +115 -0
- package/dist/carousel.js +63 -0
- package/dist/carousel.js.map +1 -0
- package/dist/chip.js +5 -2
- package/dist/chip.js.map +1 -1
- package/dist/date-picker.d.ts +188 -0
- package/dist/date-picker.js +151 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/fab-menu.d.ts +132 -0
- package/dist/fab-menu.js +116 -0
- package/dist/fab-menu.js.map +1 -0
- package/dist/icon-button.js +4 -1
- package/dist/icon-button.js.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +654 -11
- package/dist/index.js.map +1 -1
- package/dist/loading-indicator.d.ts +68 -0
- package/dist/loading-indicator.js +61 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/menu.d.ts +5 -5
- package/dist/navigation-bar.d.ts +5 -5
- package/dist/navigation-rail.d.ts +101 -0
- package/dist/navigation-rail.js +92 -0
- package/dist/navigation-rail.js.map +1 -0
- package/dist/search.d.ts +148 -0
- package/dist/search.js +105 -0
- package/dist/search.js.map +1 -0
- package/dist/segmented-button.d.ts +5 -5
- package/dist/select.d.ts +5 -5
- package/dist/side-sheet.d.ts +112 -0
- package/dist/side-sheet.js +90 -0
- package/dist/side-sheet.js.map +1 -0
- package/dist/split-button.d.ts +201 -0
- package/dist/split-button.js +126 -0
- package/dist/split-button.js.map +1 -0
- package/dist/time-picker.d.ts +144 -0
- package/dist/time-picker.js +101 -0
- package/dist/time-picker.js.map +1 -0
- package/dist/toolbar.d.ts +73 -0
- package/dist/toolbar.js +55 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/top-app-bar.d.ts +147 -0
- package/dist/top-app-bar.js +68 -0
- package/dist/top-app-bar.js.map +1 -0
- package/package.json +71 -1
- package/styles/preset.css +15 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _m3_baseui_core from '@m3-baseui/core';
|
|
3
|
+
export { LoadingIndicatorProps } from '@m3-baseui/core';
|
|
4
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
5
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
6
|
+
|
|
7
|
+
declare const loadingIndicatorTv: tailwind_variants.TVReturnType<{
|
|
8
|
+
contained: {
|
|
9
|
+
true: {
|
|
10
|
+
root: string;
|
|
11
|
+
};
|
|
12
|
+
false: {};
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
root: string;
|
|
16
|
+
indicator: string[];
|
|
17
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
18
|
+
contained: {
|
|
19
|
+
true: {
|
|
20
|
+
root: string;
|
|
21
|
+
};
|
|
22
|
+
false: {};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
contained: {
|
|
26
|
+
true: {
|
|
27
|
+
root: string;
|
|
28
|
+
};
|
|
29
|
+
false: {};
|
|
30
|
+
};
|
|
31
|
+
}>, {
|
|
32
|
+
contained: {
|
|
33
|
+
true: {
|
|
34
|
+
root: string;
|
|
35
|
+
};
|
|
36
|
+
false: {};
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
root: string;
|
|
40
|
+
indicator: string[];
|
|
41
|
+
}, tailwind_variants.TVReturnType<{
|
|
42
|
+
contained: {
|
|
43
|
+
true: {
|
|
44
|
+
root: string;
|
|
45
|
+
};
|
|
46
|
+
false: {};
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
root: string;
|
|
50
|
+
indicator: string[];
|
|
51
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
52
|
+
contained: {
|
|
53
|
+
true: {
|
|
54
|
+
root: string;
|
|
55
|
+
};
|
|
56
|
+
false: {};
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
contained: {
|
|
60
|
+
true: {
|
|
61
|
+
root: string;
|
|
62
|
+
};
|
|
63
|
+
false: {};
|
|
64
|
+
};
|
|
65
|
+
}>, unknown, unknown, undefined>>;
|
|
66
|
+
declare const LoadingIndicator: react.ForwardRefExoticComponent<_m3_baseui_core.LoadingIndicatorOwnProps & react.HTMLAttributes<HTMLSpanElement> & react.RefAttributes<HTMLSpanElement>>;
|
|
67
|
+
|
|
68
|
+
export { LoadingIndicator, loadingIndicatorTv };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createLoadingIndicator } from '@m3-baseui/core';
|
|
3
|
+
import { tv as tv$1 } from 'tailwind-variants';
|
|
4
|
+
|
|
5
|
+
// src/loading-indicator.ts
|
|
6
|
+
var TYPESCALE = [
|
|
7
|
+
"display-large",
|
|
8
|
+
"display-medium",
|
|
9
|
+
"display-small",
|
|
10
|
+
"headline-large",
|
|
11
|
+
"headline-medium",
|
|
12
|
+
"headline-small",
|
|
13
|
+
"title-large",
|
|
14
|
+
"title-medium",
|
|
15
|
+
"title-small",
|
|
16
|
+
"body-large",
|
|
17
|
+
"body-medium",
|
|
18
|
+
"body-small",
|
|
19
|
+
"label-large",
|
|
20
|
+
"label-medium",
|
|
21
|
+
"label-small"
|
|
22
|
+
];
|
|
23
|
+
var tv = (options, config) => tv$1(options, {
|
|
24
|
+
...config,
|
|
25
|
+
twMergeConfig: {
|
|
26
|
+
extend: {
|
|
27
|
+
classGroups: {
|
|
28
|
+
"font-size": [{ text: [...TYPESCALE] }]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// src/loading-indicator.ts
|
|
35
|
+
var loadingIndicatorTv = tv({
|
|
36
|
+
slots: {
|
|
37
|
+
// The SVG is a fixed 38dp active indicator. Uncontained: the box shrinks to
|
|
38
|
+
// the shape. Contained: a 48dp pill wraps it (5dp inset on each side).
|
|
39
|
+
root: "inline-flex items-center justify-center [&_svg]:block [&_svg]:size-[38px]",
|
|
40
|
+
indicator: [
|
|
41
|
+
"fill-primary",
|
|
42
|
+
// Morph + rotate about the shape's own centre (transform-box: fill-box).
|
|
43
|
+
"[transform-box:fill-box] origin-center animate-m3-loading"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
variants: {
|
|
47
|
+
contained: {
|
|
48
|
+
true: { root: "size-12 rounded-full bg-secondary-container" },
|
|
49
|
+
false: {}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: { contained: false }
|
|
53
|
+
});
|
|
54
|
+
var LoadingIndicator = createLoadingIndicator(({ contained }) => {
|
|
55
|
+
const s = loadingIndicatorTv({ contained });
|
|
56
|
+
return { root: s.root(), indicator: s.indicator() };
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export { LoadingIndicator, loadingIndicatorTv };
|
|
60
|
+
//# sourceMappingURL=loading-indicator.js.map
|
|
61
|
+
//# sourceMappingURL=loading-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tv.ts","../src/loading-indicator.ts"],"names":["baseTv"],"mappings":";;;;;AAeA,IAAM,SAAA,GAAY;AAAA,EAChB,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,iBAAA;AAAA,EACA,gBAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA;AACF,CAAA;AAEO,IAAM,EAAA,GAAS,CAAC,OAAA,EAAS,MAAA,KAC9BA,KAAO,OAAA,EAAS;AAAA,EACd,GAAG,MAAA;AAAA,EACH,aAAA,EAAe;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,WAAA,EAAa;AAAA,QACX,WAAA,EAAa,CAAC,EAAE,IAAA,EAAM,CAAC,GAAG,SAAS,GAAG;AAAA;AACxC;AACF;AAEJ,CAAC,CAAA;;;AC/BI,IAAM,qBAAqB,EAAA,CAAG;AAAA,EACnC,KAAA,EAAO;AAAA;AAAA;AAAA,IAGL,IAAA,EAAM,2EAAA;AAAA,IACN,SAAA,EAAW;AAAA,MACT,cAAA;AAAA;AAAA,MAEA;AAAA;AACF,GACF;AAAA,EACA,QAAA,EAAU;AAAA,IACR,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,EAAE,IAAA,EAAM,6CAAA,EAA8C;AAAA,MAC5D,OAAO;AAAC;AACV,GACF;AAAA,EACA,eAAA,EAAiB,EAAE,SAAA,EAAW,KAAA;AAChC,CAAC;AAEM,IAAM,gBAAA,GAAmB,sBAAA,CAAuB,CAAC,EAAE,WAAU,KAAM;AACxE,EAAA,MAAM,CAAA,GAAI,kBAAA,CAAmB,EAAE,SAAA,EAAW,CAAA;AAC1C,EAAA,OAAO,EAAE,MAAM,CAAA,CAAE,IAAA,IAAQ,SAAA,EAAW,CAAA,CAAE,WAAU,EAAE;AACpD,CAAC","file":"loading-indicator.js","sourcesContent":["/**\n * tv.ts — a tailwind-variants factory pre-configured for the M3 typescale.\n *\n * The Tailwind v4 preset exposes the 15 typescale roles as `text-<role>`\n * font-size utilities (e.g. `text-body-small`, `text-label-large`). Stock\n * tailwind-merge does not know these custom names, so it groups them with the\n * `text-<color>` utilities and drops one when a slot sets both a color *and* a\n * typescale (the common M3 case). That silently strips either the color or the\n * type, breaking token compliance.\n *\n * Teaching tailwind-merge that the typescale names belong to the `font-size`\n * group keeps color and type independent, so both survive the merge.\n */\nimport { type TV, tv as baseTv } from 'tailwind-variants';\n\nconst TYPESCALE = [\n 'display-large',\n 'display-medium',\n 'display-small',\n 'headline-large',\n 'headline-medium',\n 'headline-small',\n 'title-large',\n 'title-medium',\n 'title-small',\n 'body-large',\n 'body-medium',\n 'body-small',\n 'label-large',\n 'label-medium',\n 'label-small',\n] as const;\n\nexport const tv: TV = (options, config) =>\n baseTv(options, {\n ...config,\n twMergeConfig: {\n extend: {\n classGroups: {\n 'font-size': [{ text: [...TYPESCALE] }],\n },\n },\n },\n });\n","/**\n * loading-indicator.ts — tailwind-variants slots for the M3 Expressive Loading\n * indicator.\n *\n * A 48dp box holding the morphing `primary` shape; the rotate+scale morph keys\n * off the `m3-loading` keyframe (see preset.css) and always runs (indeterminate\n * only). `contained` puts the shape on a `secondary-container` pill. Same DOM as\n * the VE build.\n */\nimport { createLoadingIndicator } from '@m3-baseui/core';\nimport { tv } from './tv';\n\nexport const loadingIndicatorTv = tv({\n slots: {\n // The SVG is a fixed 38dp active indicator. Uncontained: the box shrinks to\n // the shape. Contained: a 48dp pill wraps it (5dp inset on each side).\n root: 'inline-flex items-center justify-center [&_svg]:block [&_svg]:size-[38px]',\n indicator: [\n 'fill-primary',\n // Morph + rotate about the shape's own centre (transform-box: fill-box).\n '[transform-box:fill-box] origin-center animate-m3-loading',\n ],\n },\n variants: {\n contained: {\n true: { root: 'size-12 rounded-full bg-secondary-container' },\n false: {},\n },\n },\n defaultVariants: { contained: false },\n});\n\nexport const LoadingIndicator = createLoadingIndicator(({ contained }) => {\n const s = loadingIndicatorTv({ contained });\n return { root: s.root(), indicator: s.indicator() };\n});\nexport type { LoadingIndicatorProps } from '@m3-baseui/core';\n"]}
|
package/dist/menu.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ declare const menuTv: tailwind_variants.TVReturnType<{
|
|
|
8
8
|
[key: string]: tailwind_variants.ClassValue | {
|
|
9
9
|
separator?: tailwind_variants.ClassValue;
|
|
10
10
|
popup?: tailwind_variants.ClassValue;
|
|
11
|
-
itemIndicator?: tailwind_variants.ClassValue;
|
|
12
11
|
item?: tailwind_variants.ClassValue;
|
|
12
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
13
13
|
groupLabel?: tailwind_variants.ClassValue;
|
|
14
14
|
submenuTrigger?: tailwind_variants.ClassValue;
|
|
15
15
|
checkboxItem?: tailwind_variants.ClassValue;
|
|
@@ -21,8 +21,8 @@ declare const menuTv: tailwind_variants.TVReturnType<{
|
|
|
21
21
|
[x: string]: tailwind_variants.ClassValue | {
|
|
22
22
|
separator?: tailwind_variants.ClassValue;
|
|
23
23
|
popup?: tailwind_variants.ClassValue;
|
|
24
|
-
itemIndicator?: tailwind_variants.ClassValue;
|
|
25
24
|
item?: tailwind_variants.ClassValue;
|
|
25
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
26
26
|
groupLabel?: tailwind_variants.ClassValue;
|
|
27
27
|
submenuTrigger?: tailwind_variants.ClassValue;
|
|
28
28
|
checkboxItem?: tailwind_variants.ClassValue;
|
|
@@ -43,8 +43,8 @@ declare const menuTv: tailwind_variants.TVReturnType<{
|
|
|
43
43
|
[key: string]: tailwind_variants.ClassValue | {
|
|
44
44
|
separator?: tailwind_variants.ClassValue;
|
|
45
45
|
popup?: tailwind_variants.ClassValue;
|
|
46
|
-
itemIndicator?: tailwind_variants.ClassValue;
|
|
47
46
|
item?: tailwind_variants.ClassValue;
|
|
47
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
48
48
|
groupLabel?: tailwind_variants.ClassValue;
|
|
49
49
|
submenuTrigger?: tailwind_variants.ClassValue;
|
|
50
50
|
checkboxItem?: tailwind_variants.ClassValue;
|
|
@@ -56,8 +56,8 @@ declare const menuTv: tailwind_variants.TVReturnType<{
|
|
|
56
56
|
[key: string]: tailwind_variants.ClassValue | {
|
|
57
57
|
separator?: tailwind_variants.ClassValue;
|
|
58
58
|
popup?: tailwind_variants.ClassValue;
|
|
59
|
-
itemIndicator?: tailwind_variants.ClassValue;
|
|
60
59
|
item?: tailwind_variants.ClassValue;
|
|
60
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
61
61
|
groupLabel?: tailwind_variants.ClassValue;
|
|
62
62
|
submenuTrigger?: tailwind_variants.ClassValue;
|
|
63
63
|
checkboxItem?: tailwind_variants.ClassValue;
|
|
@@ -87,8 +87,8 @@ declare const menuTv: tailwind_variants.TVReturnType<{
|
|
|
87
87
|
[key: string]: tailwind_variants.ClassValue | {
|
|
88
88
|
separator?: tailwind_variants.ClassValue;
|
|
89
89
|
popup?: tailwind_variants.ClassValue;
|
|
90
|
-
itemIndicator?: tailwind_variants.ClassValue;
|
|
91
90
|
item?: tailwind_variants.ClassValue;
|
|
91
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
92
92
|
groupLabel?: tailwind_variants.ClassValue;
|
|
93
93
|
submenuTrigger?: tailwind_variants.ClassValue;
|
|
94
94
|
checkboxItem?: tailwind_variants.ClassValue;
|
package/dist/navigation-bar.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ declare const navigationBarTv: tailwind_variants.TVReturnType<{
|
|
|
9
9
|
root?: tailwind_variants.ClassValue;
|
|
10
10
|
label?: tailwind_variants.ClassValue;
|
|
11
11
|
icon?: tailwind_variants.ClassValue;
|
|
12
|
-
indicator?: tailwind_variants.ClassValue;
|
|
13
12
|
item?: tailwind_variants.ClassValue;
|
|
13
|
+
indicator?: tailwind_variants.ClassValue;
|
|
14
14
|
iconWrap?: tailwind_variants.ClassValue;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -20,8 +20,8 @@ declare const navigationBarTv: tailwind_variants.TVReturnType<{
|
|
|
20
20
|
root?: tailwind_variants.ClassValue;
|
|
21
21
|
label?: tailwind_variants.ClassValue;
|
|
22
22
|
icon?: tailwind_variants.ClassValue;
|
|
23
|
-
indicator?: tailwind_variants.ClassValue;
|
|
24
23
|
item?: tailwind_variants.ClassValue;
|
|
24
|
+
indicator?: tailwind_variants.ClassValue;
|
|
25
25
|
iconWrap?: tailwind_variants.ClassValue;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -38,8 +38,8 @@ declare const navigationBarTv: tailwind_variants.TVReturnType<{
|
|
|
38
38
|
root?: tailwind_variants.ClassValue;
|
|
39
39
|
label?: tailwind_variants.ClassValue;
|
|
40
40
|
icon?: tailwind_variants.ClassValue;
|
|
41
|
-
indicator?: tailwind_variants.ClassValue;
|
|
42
41
|
item?: tailwind_variants.ClassValue;
|
|
42
|
+
indicator?: tailwind_variants.ClassValue;
|
|
43
43
|
iconWrap?: tailwind_variants.ClassValue;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
@@ -49,8 +49,8 @@ declare const navigationBarTv: tailwind_variants.TVReturnType<{
|
|
|
49
49
|
root?: tailwind_variants.ClassValue;
|
|
50
50
|
label?: tailwind_variants.ClassValue;
|
|
51
51
|
icon?: tailwind_variants.ClassValue;
|
|
52
|
-
indicator?: tailwind_variants.ClassValue;
|
|
53
52
|
item?: tailwind_variants.ClassValue;
|
|
53
|
+
indicator?: tailwind_variants.ClassValue;
|
|
54
54
|
iconWrap?: tailwind_variants.ClassValue;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
@@ -74,8 +74,8 @@ declare const navigationBarTv: tailwind_variants.TVReturnType<{
|
|
|
74
74
|
root?: tailwind_variants.ClassValue;
|
|
75
75
|
label?: tailwind_variants.ClassValue;
|
|
76
76
|
icon?: tailwind_variants.ClassValue;
|
|
77
|
-
indicator?: tailwind_variants.ClassValue;
|
|
78
77
|
item?: tailwind_variants.ClassValue;
|
|
78
|
+
indicator?: tailwind_variants.ClassValue;
|
|
79
79
|
iconWrap?: tailwind_variants.ClassValue;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
3
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
5
|
+
|
|
6
|
+
declare const navigationRailTv: tailwind_variants.TVReturnType<{
|
|
7
|
+
[key: string]: {
|
|
8
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
+
root?: tailwind_variants.ClassValue;
|
|
10
|
+
header?: tailwind_variants.ClassValue;
|
|
11
|
+
label?: tailwind_variants.ClassValue;
|
|
12
|
+
icon?: tailwind_variants.ClassValue;
|
|
13
|
+
item?: tailwind_variants.ClassValue;
|
|
14
|
+
indicator?: tailwind_variants.ClassValue;
|
|
15
|
+
iconWrap?: tailwind_variants.ClassValue;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
[x: string]: {
|
|
20
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
21
|
+
root?: tailwind_variants.ClassValue;
|
|
22
|
+
header?: tailwind_variants.ClassValue;
|
|
23
|
+
label?: tailwind_variants.ClassValue;
|
|
24
|
+
icon?: tailwind_variants.ClassValue;
|
|
25
|
+
item?: tailwind_variants.ClassValue;
|
|
26
|
+
indicator?: tailwind_variants.ClassValue;
|
|
27
|
+
iconWrap?: tailwind_variants.ClassValue;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
} | {}, {
|
|
31
|
+
root: string;
|
|
32
|
+
header: string;
|
|
33
|
+
item: string[];
|
|
34
|
+
iconWrap: string;
|
|
35
|
+
indicator: string[];
|
|
36
|
+
icon: string[];
|
|
37
|
+
label: string[];
|
|
38
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
39
|
+
[key: string]: {
|
|
40
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
41
|
+
root?: tailwind_variants.ClassValue;
|
|
42
|
+
header?: tailwind_variants.ClassValue;
|
|
43
|
+
label?: tailwind_variants.ClassValue;
|
|
44
|
+
icon?: tailwind_variants.ClassValue;
|
|
45
|
+
item?: tailwind_variants.ClassValue;
|
|
46
|
+
indicator?: tailwind_variants.ClassValue;
|
|
47
|
+
iconWrap?: tailwind_variants.ClassValue;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
} | {}>, {
|
|
51
|
+
[key: string]: {
|
|
52
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
53
|
+
root?: tailwind_variants.ClassValue;
|
|
54
|
+
header?: tailwind_variants.ClassValue;
|
|
55
|
+
label?: tailwind_variants.ClassValue;
|
|
56
|
+
icon?: tailwind_variants.ClassValue;
|
|
57
|
+
item?: tailwind_variants.ClassValue;
|
|
58
|
+
indicator?: tailwind_variants.ClassValue;
|
|
59
|
+
iconWrap?: tailwind_variants.ClassValue;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
} | {}, {
|
|
63
|
+
root: string;
|
|
64
|
+
header: string;
|
|
65
|
+
item: string[];
|
|
66
|
+
iconWrap: string;
|
|
67
|
+
indicator: string[];
|
|
68
|
+
icon: string[];
|
|
69
|
+
label: string[];
|
|
70
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
71
|
+
root: string;
|
|
72
|
+
header: string;
|
|
73
|
+
item: string[];
|
|
74
|
+
iconWrap: string;
|
|
75
|
+
indicator: string[];
|
|
76
|
+
icon: string[];
|
|
77
|
+
label: string[];
|
|
78
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
81
|
+
root?: tailwind_variants.ClassValue;
|
|
82
|
+
header?: tailwind_variants.ClassValue;
|
|
83
|
+
label?: tailwind_variants.ClassValue;
|
|
84
|
+
icon?: tailwind_variants.ClassValue;
|
|
85
|
+
item?: tailwind_variants.ClassValue;
|
|
86
|
+
indicator?: tailwind_variants.ClassValue;
|
|
87
|
+
iconWrap?: tailwind_variants.ClassValue;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
91
|
+
declare const NavigationRail: {
|
|
92
|
+
Root: react.ForwardRefExoticComponent<Omit<_base_ui_react.ToggleGroup.Props<string> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
93
|
+
header?: React.ReactNode;
|
|
94
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
95
|
+
Item: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.Toggle.Props<string> & react.RefAttributes<HTMLButtonElement>, "ref">, "children"> & {
|
|
96
|
+
icon?: React.ReactNode;
|
|
97
|
+
children?: React.ReactNode;
|
|
98
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export { NavigationRail, navigationRailTv };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createNavigationRail } from '@m3-baseui/core';
|
|
3
|
+
import { tv as tv$1 } from 'tailwind-variants';
|
|
4
|
+
|
|
5
|
+
// src/navigation-rail.ts
|
|
6
|
+
var TYPESCALE = [
|
|
7
|
+
"display-large",
|
|
8
|
+
"display-medium",
|
|
9
|
+
"display-small",
|
|
10
|
+
"headline-large",
|
|
11
|
+
"headline-medium",
|
|
12
|
+
"headline-small",
|
|
13
|
+
"title-large",
|
|
14
|
+
"title-medium",
|
|
15
|
+
"title-small",
|
|
16
|
+
"body-large",
|
|
17
|
+
"body-medium",
|
|
18
|
+
"body-small",
|
|
19
|
+
"label-large",
|
|
20
|
+
"label-medium",
|
|
21
|
+
"label-small"
|
|
22
|
+
];
|
|
23
|
+
var tv = (options, config) => tv$1(options, {
|
|
24
|
+
...config,
|
|
25
|
+
twMergeConfig: {
|
|
26
|
+
extend: {
|
|
27
|
+
classGroups: {
|
|
28
|
+
"font-size": [{ text: [...TYPESCALE] }]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// src/navigation-rail.ts
|
|
35
|
+
var navigationRailTv = tv({
|
|
36
|
+
slots: {
|
|
37
|
+
root: "flex flex-col items-center gap-3 h-full w-20 py-5 bg-surface",
|
|
38
|
+
header: "flex flex-col items-center gap-3 mb-1",
|
|
39
|
+
item: [
|
|
40
|
+
"group relative flex flex-col items-center justify-center gap-1 px-1 py-1",
|
|
41
|
+
"bg-transparent border-0 cursor-pointer select-none outline-none",
|
|
42
|
+
// M3 disabled is per-token (icon + label dimmed below), not a blanket fade.
|
|
43
|
+
"data-[disabled]:pointer-events-none"
|
|
44
|
+
],
|
|
45
|
+
iconWrap: "relative flex items-center justify-center w-14 h-8",
|
|
46
|
+
indicator: [
|
|
47
|
+
"absolute inset-0 rounded-full bg-transparent overflow-hidden",
|
|
48
|
+
"transition-colors duration-150 ease-standard",
|
|
49
|
+
"group-data-[pressed]:bg-secondary-container",
|
|
50
|
+
"before:absolute before:inset-0 before:bg-current before:opacity-0 before:pointer-events-none before:transition-opacity before:duration-100",
|
|
51
|
+
"group-hover:before:opacity-[var(--md-sys-state-hover)]",
|
|
52
|
+
"group-focus-visible:before:opacity-[var(--md-sys-state-focus)]",
|
|
53
|
+
"group-active:before:opacity-[var(--md-sys-state-pressed)]",
|
|
54
|
+
// No state layer on a disabled destination.
|
|
55
|
+
"group-data-[disabled]:before:opacity-0"
|
|
56
|
+
],
|
|
57
|
+
icon: [
|
|
58
|
+
"relative flex items-center justify-center text-on-surface-variant",
|
|
59
|
+
"transition-colors duration-150 ease-standard",
|
|
60
|
+
// Raw <svg> icons render at 24dp (Material Symbols set their own size).
|
|
61
|
+
"[&_svg]:size-6",
|
|
62
|
+
"group-data-[pressed]:text-on-secondary-container",
|
|
63
|
+
// M3 disabled: icon dims to on-surface/0.38. The item is the only `.group`,
|
|
64
|
+
// so the disabled+active override tests both attributes on that single
|
|
65
|
+
// element (see NavigationBar for the rationale).
|
|
66
|
+
"group-data-[disabled]:text-on-surface/[0.38]",
|
|
67
|
+
"group-[&[data-disabled][data-pressed]]:text-on-surface/[0.38]"
|
|
68
|
+
],
|
|
69
|
+
label: [
|
|
70
|
+
"text-label-medium text-on-surface-variant",
|
|
71
|
+
"transition-colors duration-150 ease-standard",
|
|
72
|
+
"group-data-[pressed]:text-on-surface group-data-[pressed]:font-bold",
|
|
73
|
+
// M3 disabled: label dims to on-surface/0.38 (same-element override).
|
|
74
|
+
"group-data-[disabled]:text-on-surface/[0.38]",
|
|
75
|
+
"group-[&[data-disabled][data-pressed]]:text-on-surface/[0.38]"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
var s = navigationRailTv();
|
|
80
|
+
var NavigationRail = createNavigationRail({
|
|
81
|
+
root: s.root(),
|
|
82
|
+
header: s.header(),
|
|
83
|
+
item: s.item(),
|
|
84
|
+
iconWrap: s.iconWrap(),
|
|
85
|
+
indicator: s.indicator(),
|
|
86
|
+
icon: s.icon(),
|
|
87
|
+
label: s.label()
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
export { NavigationRail, navigationRailTv };
|
|
91
|
+
//# sourceMappingURL=navigation-rail.js.map
|
|
92
|
+
//# sourceMappingURL=navigation-rail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tv.ts","../src/navigation-rail.ts"],"names":["baseTv"],"mappings":";;;;;AAeA,IAAM,SAAA,GAAY;AAAA,EAChB,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,iBAAA;AAAA,EACA,gBAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,aAAA;AAAA,EACA,cAAA;AAAA,EACA;AACF,CAAA;AAEO,IAAM,EAAA,GAAS,CAAC,OAAA,EAAS,MAAA,KAC9BA,KAAO,OAAA,EAAS;AAAA,EACd,GAAG,MAAA;AAAA,EACH,aAAA,EAAe;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,WAAA,EAAa;AAAA,QACX,WAAA,EAAa,CAAC,EAAE,IAAA,EAAM,CAAC,GAAG,SAAS,GAAG;AAAA;AACxC;AACF;AAEJ,CAAC,CAAA;;;AC/BI,IAAM,mBAAmB,EAAA,CAAG;AAAA,EACjC,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,8DAAA;AAAA,IACN,MAAA,EAAQ,uCAAA;AAAA,IACR,IAAA,EAAM;AAAA,MACJ,0EAAA;AAAA,MACA,iEAAA;AAAA;AAAA,MAEA;AAAA,KACF;AAAA,IACA,QAAA,EAAU,oDAAA;AAAA,IACV,SAAA,EAAW;AAAA,MACT,8DAAA;AAAA,MACA,8CAAA;AAAA,MACA,6CAAA;AAAA,MACA,4IAAA;AAAA,MACA,wDAAA;AAAA,MACA,gEAAA;AAAA,MACA,2DAAA;AAAA;AAAA,MAEA;AAAA,KACF;AAAA,IACA,IAAA,EAAM;AAAA,MACJ,mEAAA;AAAA,MACA,8CAAA;AAAA;AAAA,MAEA,gBAAA;AAAA,MACA,kDAAA;AAAA;AAAA;AAAA;AAAA,MAIA,8CAAA;AAAA,MACA;AAAA,KACF;AAAA,IACA,KAAA,EAAO;AAAA,MACL,2CAAA;AAAA,MACA,8CAAA;AAAA,MACA,qEAAA;AAAA;AAAA,MAEA,8CAAA;AAAA,MACA;AAAA;AACF;AAEJ,CAAC;AAED,IAAM,IAAI,gBAAA,EAAiB;AACpB,IAAM,iBAAiB,oBAAA,CAAqB;AAAA,EACjD,IAAA,EAAM,EAAE,IAAA,EAAK;AAAA,EACb,MAAA,EAAQ,EAAE,MAAA,EAAO;AAAA,EACjB,IAAA,EAAM,EAAE,IAAA,EAAK;AAAA,EACb,QAAA,EAAU,EAAE,QAAA,EAAS;AAAA,EACrB,SAAA,EAAW,EAAE,SAAA,EAAU;AAAA,EACvB,IAAA,EAAM,EAAE,IAAA,EAAK;AAAA,EACb,KAAA,EAAO,EAAE,KAAA;AACX,CAAC","file":"navigation-rail.js","sourcesContent":["/**\n * tv.ts — a tailwind-variants factory pre-configured for the M3 typescale.\n *\n * The Tailwind v4 preset exposes the 15 typescale roles as `text-<role>`\n * font-size utilities (e.g. `text-body-small`, `text-label-large`). Stock\n * tailwind-merge does not know these custom names, so it groups them with the\n * `text-<color>` utilities and drops one when a slot sets both a color *and* a\n * typescale (the common M3 case). That silently strips either the color or the\n * type, breaking token compliance.\n *\n * Teaching tailwind-merge that the typescale names belong to the `font-size`\n * group keeps color and type independent, so both survive the merge.\n */\nimport { type TV, tv as baseTv } from 'tailwind-variants';\n\nconst TYPESCALE = [\n 'display-large',\n 'display-medium',\n 'display-small',\n 'headline-large',\n 'headline-medium',\n 'headline-small',\n 'title-large',\n 'title-medium',\n 'title-small',\n 'body-large',\n 'body-medium',\n 'body-small',\n 'label-large',\n 'label-medium',\n 'label-small',\n] as const;\n\nexport const tv: TV = (options, config) =>\n baseTv(options, {\n ...config,\n twMergeConfig: {\n extend: {\n classGroups: {\n 'font-size': [{ text: [...TYPESCALE] }],\n },\n },\n },\n });\n","/**\n * navigation-rail.ts — tailwind-variants slots for the M3 NavigationRail.\n *\n * 80dp vertical rail on `surface`. The selected destination surfaces\n * `data-pressed` (Base UI Toggle); the pill, icon and label colors key off it\n * via the `group` on each item. State layer is the pill `::before`; the pointer\n * ripple is added by the factory. `Root` renders an optional leading `header`\n * (menu button / FAB). Same DOM + `data-*` as the VE build (mirrors NavigationBar).\n */\nimport { createNavigationRail } from '@m3-baseui/core';\nimport { tv } from './tv';\n\nexport const navigationRailTv = tv({\n slots: {\n root: 'flex flex-col items-center gap-3 h-full w-20 py-5 bg-surface',\n header: 'flex flex-col items-center gap-3 mb-1',\n item: [\n 'group relative flex flex-col items-center justify-center gap-1 px-1 py-1',\n 'bg-transparent border-0 cursor-pointer select-none outline-none',\n // M3 disabled is per-token (icon + label dimmed below), not a blanket fade.\n 'data-[disabled]:pointer-events-none',\n ],\n iconWrap: 'relative flex items-center justify-center w-14 h-8',\n indicator: [\n 'absolute inset-0 rounded-full bg-transparent overflow-hidden',\n 'transition-colors duration-150 ease-standard',\n 'group-data-[pressed]:bg-secondary-container',\n 'before:absolute before:inset-0 before:bg-current before:opacity-0 before:pointer-events-none before:transition-opacity before:duration-100',\n 'group-hover:before:opacity-[var(--md-sys-state-hover)]',\n 'group-focus-visible:before:opacity-[var(--md-sys-state-focus)]',\n 'group-active:before:opacity-[var(--md-sys-state-pressed)]',\n // No state layer on a disabled destination.\n 'group-data-[disabled]:before:opacity-0',\n ],\n icon: [\n 'relative flex items-center justify-center text-on-surface-variant',\n 'transition-colors duration-150 ease-standard',\n // Raw <svg> icons render at 24dp (Material Symbols set their own size).\n '[&_svg]:size-6',\n 'group-data-[pressed]:text-on-secondary-container',\n // M3 disabled: icon dims to on-surface/0.38. The item is the only `.group`,\n // so the disabled+active override tests both attributes on that single\n // element (see NavigationBar for the rationale).\n 'group-data-[disabled]:text-on-surface/[0.38]',\n 'group-[&[data-disabled][data-pressed]]:text-on-surface/[0.38]',\n ],\n label: [\n 'text-label-medium text-on-surface-variant',\n 'transition-colors duration-150 ease-standard',\n 'group-data-[pressed]:text-on-surface group-data-[pressed]:font-bold',\n // M3 disabled: label dims to on-surface/0.38 (same-element override).\n 'group-data-[disabled]:text-on-surface/[0.38]',\n 'group-[&[data-disabled][data-pressed]]:text-on-surface/[0.38]',\n ],\n },\n});\n\nconst s = navigationRailTv();\nexport const NavigationRail = createNavigationRail({\n root: s.root(),\n header: s.header(),\n item: s.item(),\n iconWrap: s.iconWrap(),\n indicator: s.indicator(),\n icon: s.icon(),\n label: s.label(),\n});\n"]}
|
package/dist/search.d.ts
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
3
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
5
|
+
|
|
6
|
+
declare const searchTv: tailwind_variants.TVReturnType<{
|
|
7
|
+
[key: string]: {
|
|
8
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
+
input?: tailwind_variants.ClassValue;
|
|
10
|
+
list?: tailwind_variants.ClassValue;
|
|
11
|
+
separator?: tailwind_variants.ClassValue;
|
|
12
|
+
popup?: tailwind_variants.ClassValue;
|
|
13
|
+
icon?: tailwind_variants.ClassValue;
|
|
14
|
+
clear?: tailwind_variants.ClassValue;
|
|
15
|
+
item?: tailwind_variants.ClassValue;
|
|
16
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
17
|
+
groupLabel?: tailwind_variants.ClassValue;
|
|
18
|
+
bar?: tailwind_variants.ClassValue;
|
|
19
|
+
empty?: tailwind_variants.ClassValue;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
23
|
+
[x: string]: {
|
|
24
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
25
|
+
input?: tailwind_variants.ClassValue;
|
|
26
|
+
list?: tailwind_variants.ClassValue;
|
|
27
|
+
separator?: tailwind_variants.ClassValue;
|
|
28
|
+
popup?: tailwind_variants.ClassValue;
|
|
29
|
+
icon?: tailwind_variants.ClassValue;
|
|
30
|
+
clear?: tailwind_variants.ClassValue;
|
|
31
|
+
item?: tailwind_variants.ClassValue;
|
|
32
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
33
|
+
groupLabel?: tailwind_variants.ClassValue;
|
|
34
|
+
bar?: tailwind_variants.ClassValue;
|
|
35
|
+
empty?: tailwind_variants.ClassValue;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
} | {}, {
|
|
39
|
+
bar: string[];
|
|
40
|
+
icon: string[];
|
|
41
|
+
input: string[];
|
|
42
|
+
clear: string[];
|
|
43
|
+
popup: string[];
|
|
44
|
+
list: string[];
|
|
45
|
+
item: string[];
|
|
46
|
+
itemIndicator: string[];
|
|
47
|
+
empty: string[];
|
|
48
|
+
separator: string[];
|
|
49
|
+
groupLabel: string[];
|
|
50
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
51
|
+
[key: string]: {
|
|
52
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
53
|
+
input?: tailwind_variants.ClassValue;
|
|
54
|
+
list?: tailwind_variants.ClassValue;
|
|
55
|
+
separator?: tailwind_variants.ClassValue;
|
|
56
|
+
popup?: tailwind_variants.ClassValue;
|
|
57
|
+
icon?: tailwind_variants.ClassValue;
|
|
58
|
+
clear?: tailwind_variants.ClassValue;
|
|
59
|
+
item?: tailwind_variants.ClassValue;
|
|
60
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
61
|
+
groupLabel?: tailwind_variants.ClassValue;
|
|
62
|
+
bar?: tailwind_variants.ClassValue;
|
|
63
|
+
empty?: tailwind_variants.ClassValue;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
} | {}>, {
|
|
67
|
+
[key: string]: {
|
|
68
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
69
|
+
input?: tailwind_variants.ClassValue;
|
|
70
|
+
list?: tailwind_variants.ClassValue;
|
|
71
|
+
separator?: tailwind_variants.ClassValue;
|
|
72
|
+
popup?: tailwind_variants.ClassValue;
|
|
73
|
+
icon?: tailwind_variants.ClassValue;
|
|
74
|
+
clear?: tailwind_variants.ClassValue;
|
|
75
|
+
item?: tailwind_variants.ClassValue;
|
|
76
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
77
|
+
groupLabel?: tailwind_variants.ClassValue;
|
|
78
|
+
bar?: tailwind_variants.ClassValue;
|
|
79
|
+
empty?: tailwind_variants.ClassValue;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
} | {}, {
|
|
83
|
+
bar: string[];
|
|
84
|
+
icon: string[];
|
|
85
|
+
input: string[];
|
|
86
|
+
clear: string[];
|
|
87
|
+
popup: string[];
|
|
88
|
+
list: string[];
|
|
89
|
+
item: string[];
|
|
90
|
+
itemIndicator: string[];
|
|
91
|
+
empty: string[];
|
|
92
|
+
separator: string[];
|
|
93
|
+
groupLabel: string[];
|
|
94
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
95
|
+
bar: string[];
|
|
96
|
+
icon: string[];
|
|
97
|
+
input: string[];
|
|
98
|
+
clear: string[];
|
|
99
|
+
popup: string[];
|
|
100
|
+
list: string[];
|
|
101
|
+
item: string[];
|
|
102
|
+
itemIndicator: string[];
|
|
103
|
+
empty: string[];
|
|
104
|
+
separator: string[];
|
|
105
|
+
groupLabel: string[];
|
|
106
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
107
|
+
[key: string]: {
|
|
108
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
109
|
+
input?: tailwind_variants.ClassValue;
|
|
110
|
+
list?: tailwind_variants.ClassValue;
|
|
111
|
+
separator?: tailwind_variants.ClassValue;
|
|
112
|
+
popup?: tailwind_variants.ClassValue;
|
|
113
|
+
icon?: tailwind_variants.ClassValue;
|
|
114
|
+
clear?: tailwind_variants.ClassValue;
|
|
115
|
+
item?: tailwind_variants.ClassValue;
|
|
116
|
+
itemIndicator?: tailwind_variants.ClassValue;
|
|
117
|
+
groupLabel?: tailwind_variants.ClassValue;
|
|
118
|
+
bar?: tailwind_variants.ClassValue;
|
|
119
|
+
empty?: tailwind_variants.ClassValue;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
123
|
+
declare const Search: {
|
|
124
|
+
Root: typeof _base_ui_react.ComboboxRoot;
|
|
125
|
+
Value: typeof _base_ui_react.ComboboxValue;
|
|
126
|
+
Label: react.ForwardRefExoticComponent<Omit<_base_ui_react.ComboboxLabelProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
127
|
+
Bar: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
128
|
+
Input: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteInputProps, "ref"> & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
129
|
+
Trigger: react.ForwardRefExoticComponent<Omit<_base_ui_react.ComboboxTriggerProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
130
|
+
Icon: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteIconProps, "ref"> & react.RefAttributes<HTMLSpanElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
131
|
+
Clear: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteClearProps, "ref"> & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
132
|
+
Portal: react.ForwardRefExoticComponent<Omit<_base_ui_react.AutocompletePortalProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
133
|
+
Positioner: react.ForwardRefExoticComponent<Omit<_base_ui_react.AutocompletePositionerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
Popup: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompletePopupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
135
|
+
List: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteListProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
136
|
+
Item: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ComboboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
137
|
+
ItemIndicator: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ComboboxItemIndicatorProps, "ref"> & react.RefAttributes<HTMLSpanElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
138
|
+
Empty: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteEmptyProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
139
|
+
Group: react.ForwardRefExoticComponent<Omit<_base_ui_react.AutocompleteGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
140
|
+
GroupLabel: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.AutocompleteGroupLabelProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
141
|
+
Separator: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.SeparatorProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<unknown>>;
|
|
142
|
+
Status: react.ForwardRefExoticComponent<Omit<_base_ui_react.AutocompleteStatusProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
143
|
+
Collection: typeof _base_ui_react.ComboboxCollection;
|
|
144
|
+
SearchGlyph: () => React.JSX.Element;
|
|
145
|
+
Check: () => React.JSX.Element;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export { Search, searchTv };
|