meowtail 0.2.0-alpha.1 → 0.2.0-alpha.2
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/README.md +24 -8
- package/dist/src/chat/assistant-composer.js +58 -98
- package/dist/src/chat/assistant-content.d.ts +1 -3
- package/dist/src/chat/assistant-content.js +36 -44
- package/dist/src/chat/assistant-markdown.js +4 -8
- package/dist/src/chat/assistant-question.js +13 -14
- package/dist/src/chat/assistant.js +27 -26
- package/dist/src/chat/attachments.d.ts +3 -2
- package/dist/src/chat/attachments.js +39 -34
- package/dist/src/chat/composer-panel.d.ts +2 -3
- package/dist/src/chat/composer-panel.js +3 -4
- package/dist/src/chat/composer.d.ts +5 -3
- package/dist/src/chat/composer.js +67 -21
- package/dist/src/chat/task.js +9 -15
- package/dist/src/chat/tool-call.js +1 -8
- package/dist/src/components/accordion.d.ts +24 -0
- package/dist/src/components/accordion.js +50 -0
- package/dist/src/components/avatar.d.ts +22 -0
- package/dist/src/components/avatar.js +44 -0
- package/dist/src/components/checkbox.d.ts +6 -2
- package/dist/src/components/checkbox.js +36 -8
- package/dist/src/components/choice-group.d.ts +1 -0
- package/dist/src/components/choice-group.js +12 -17
- package/dist/src/components/choice-select.d.ts +3 -1
- package/dist/src/components/choice-select.js +56 -54
- package/dist/src/components/code-block.d.ts +3 -3
- package/dist/src/components/code-block.js +27 -23
- package/dist/src/components/context-menu.d.ts +16 -0
- package/dist/src/components/context-menu.js +49 -0
- package/dist/src/components/disclosure.d.ts +2 -2
- package/dist/src/components/disclosure.js +1 -1
- package/dist/src/components/index.d.ts +9 -0
- package/dist/src/components/index.js +9 -0
- package/dist/src/components/link.d.ts +13 -0
- package/dist/src/components/link.js +9 -0
- package/dist/src/components/menu-button.d.ts +13 -0
- package/dist/src/components/menu-button.js +10 -0
- package/dist/src/components/menu.d.ts +4 -0
- package/dist/src/components/menu.js +3 -3
- package/dist/src/components/meta-row.d.ts +5 -4
- package/dist/src/components/meta-row.js +34 -18
- package/dist/src/components/nav-item.js +2 -5
- package/dist/src/components/number-input.d.ts +29 -0
- package/dist/src/components/number-input.js +137 -0
- package/dist/src/components/output-block.js +1 -8
- package/dist/src/components/path-picker.js +5 -10
- package/dist/src/components/pill.js +2 -5
- package/dist/src/components/popover.js +4 -4
- package/dist/src/components/progress.d.ts +15 -0
- package/dist/src/components/progress.js +12 -0
- package/dist/src/components/risk-confirmation.js +2 -5
- package/dist/src/components/segmented-control.js +3 -3
- package/dist/src/components/skeleton-boundary.js +4 -7
- package/dist/src/components/slider.d.ts +22 -0
- package/dist/src/components/slider.js +49 -0
- package/dist/src/components/table.d.ts +41 -0
- package/dist/src/components/table.js +146 -0
- package/dist/src/components/tabs.d.ts +1 -1
- package/dist/src/components/tabs.js +11 -20
- package/dist/src/components/text-shimmer.js +2 -5
- package/dist/src/registry/index.d.ts +62 -3
- package/dist/src/registry/index.js +18 -2
- package/dist/src/theme/chat/composer-panel.styles.js +4 -1
- package/dist/src/theme/chat/composer.styles.js +45 -67
- package/dist/src/theme/chat/task.styles.js +5 -6
- package/dist/src/theme/components/accordion.styles.d.ts +1 -0
- package/dist/src/theme/components/accordion.styles.js +63 -0
- package/dist/src/theme/components/avatar.styles.d.ts +1 -0
- package/dist/src/theme/components/avatar.styles.js +52 -0
- package/dist/src/theme/components/button.styles.js +9 -0
- package/dist/src/theme/components/card.styles.js +2 -0
- package/dist/src/theme/components/context-menu.styles.d.ts +1 -0
- package/dist/src/theme/components/context-menu.styles.js +14 -0
- package/dist/src/theme/components/link.styles.d.ts +1 -0
- package/dist/src/theme/components/link.styles.js +33 -0
- package/dist/src/theme/components/menu.styles.js +9 -3
- package/dist/src/theme/components/number-input.styles.d.ts +1 -0
- package/dist/src/theme/components/number-input.styles.js +106 -0
- package/dist/src/theme/components/progress.styles.d.ts +1 -0
- package/dist/src/theme/components/progress.styles.js +71 -0
- package/dist/src/theme/components/slider.styles.d.ts +1 -0
- package/dist/src/theme/components/slider.styles.js +129 -0
- package/dist/src/theme/components/table.styles.d.ts +1 -0
- package/dist/src/theme/components/table.styles.js +156 -0
- package/dist/src/theme/components/toggle.styles.js +10 -0
- package/dist/src/theme/index.d.ts +1 -1
- package/dist/src/theme/index.js +16 -0
- package/package.json +3 -3
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { css, partSelector } from "meowcss/meowjsx";
|
|
2
|
+
import { uiTokens } from "../tokens.js";
|
|
3
|
+
import { accentTokens } from "../palette.js";
|
|
4
|
+
import { progressContract } from "../../components/progress.js";
|
|
5
|
+
const root = partSelector(progressContract, "root");
|
|
6
|
+
const bar = partSelector(progressContract, "bar");
|
|
7
|
+
const native = `progress[data-meowui-part="progress/bar"]`;
|
|
8
|
+
export const progressStyles = css `
|
|
9
|
+
${root} {
|
|
10
|
+
position: relative;
|
|
11
|
+
display: block;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
width: 100%;
|
|
14
|
+
min-width: 0;
|
|
15
|
+
height: 6px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
border-radius: 999px;
|
|
18
|
+
corner-shape: round;
|
|
19
|
+
background: ${uiTokens.surfaceMuted};
|
|
20
|
+
}
|
|
21
|
+
${bar} {
|
|
22
|
+
display: block;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: inherit;
|
|
28
|
+
background: transparent;
|
|
29
|
+
accent-color: ${accentTokens.base};
|
|
30
|
+
vertical-align: middle;
|
|
31
|
+
}
|
|
32
|
+
${native}::-webkit-progress-bar {
|
|
33
|
+
background: ${uiTokens.surfaceMuted};
|
|
34
|
+
border-radius: inherit;
|
|
35
|
+
}
|
|
36
|
+
${native}::-webkit-progress-value {
|
|
37
|
+
background: ${accentTokens.base};
|
|
38
|
+
border-radius: inherit;
|
|
39
|
+
}
|
|
40
|
+
${native}::-moz-progress-bar {
|
|
41
|
+
background: ${accentTokens.base};
|
|
42
|
+
border-radius: inherit;
|
|
43
|
+
}
|
|
44
|
+
${native}:not([value]) {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
${root}:has(${bar}:not([value]))::after {
|
|
48
|
+
content: "";
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset-block: 0;
|
|
51
|
+
inset-inline-start: 0;
|
|
52
|
+
width: 36%;
|
|
53
|
+
border-radius: inherit;
|
|
54
|
+
background: ${accentTokens.base};
|
|
55
|
+
animation: ui-progress-indeterminate 1.2s ${uiTokens.ease} infinite;
|
|
56
|
+
}
|
|
57
|
+
@keyframes ui-progress-indeterminate {
|
|
58
|
+
0% {
|
|
59
|
+
inset-inline-start: -36%;
|
|
60
|
+
}
|
|
61
|
+
100% {
|
|
62
|
+
inset-inline-start: 100%;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@media (prefers-reduced-motion: reduce) {
|
|
66
|
+
${root}:has(${bar}:not([value]))::after {
|
|
67
|
+
animation: none;
|
|
68
|
+
inset-inline-start: 32%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sliderStyles: import("meowcss/meowjsx").CSSFragment;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { css, partSelector } from "meowcss/meowjsx";
|
|
2
|
+
import { uiTokens } from "../tokens.js";
|
|
3
|
+
import { accentTokens, lineTokens } from "../palette.js";
|
|
4
|
+
import { sliderContract } from "../../components/slider.js";
|
|
5
|
+
const root = partSelector(sliderContract, "root");
|
|
6
|
+
const control = partSelector(sliderContract, "control");
|
|
7
|
+
const track = partSelector(sliderContract, "track");
|
|
8
|
+
const thumb = partSelector(sliderContract, "thumb");
|
|
9
|
+
const value = partSelector(sliderContract, "value");
|
|
10
|
+
const fill = `linear-gradient(to right, ${accentTokens.base} 0%, ${accentTokens.base} var(--slider-fill, 0%), ${uiTokens.surfaceMuted} var(--slider-fill, 0%), ${uiTokens.surfaceMuted} 100%)`;
|
|
11
|
+
const mutedFill = `linear-gradient(to right, ${uiTokens.mutedForeground} 0%, ${uiTokens.mutedForeground} var(--slider-fill, 0%), ${uiTokens.surfaceMuted} var(--slider-fill, 0%), ${uiTokens.surfaceMuted} 100%)`;
|
|
12
|
+
const thumbShadow = "0 1px 2px rgb(0 0 0 / 16%)";
|
|
13
|
+
const thumbShadowHover = "0 1px 3px rgb(0 0 0 / 22%)";
|
|
14
|
+
export const sliderStyles = css `
|
|
15
|
+
${root} {
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
18
|
+
align-items: center;
|
|
19
|
+
column-gap: ${uiTokens.spaceGroup};
|
|
20
|
+
width: 16rem;
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
min-width: 0;
|
|
23
|
+
color: ${uiTokens.foreground};
|
|
24
|
+
font: ${uiTokens.fontCaption}/1 ${uiTokens.font};
|
|
25
|
+
}
|
|
26
|
+
${control} {
|
|
27
|
+
grid-column: 1;
|
|
28
|
+
grid-row: 1;
|
|
29
|
+
z-index: 1;
|
|
30
|
+
width: 100%;
|
|
31
|
+
min-width: 0;
|
|
32
|
+
height: ${uiTokens.controlHeight};
|
|
33
|
+
margin: 0;
|
|
34
|
+
opacity: 0;
|
|
35
|
+
-webkit-appearance: none;
|
|
36
|
+
appearance: none;
|
|
37
|
+
background: transparent;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
${track} {
|
|
41
|
+
grid-column: 1;
|
|
42
|
+
grid-row: 1;
|
|
43
|
+
position: relative;
|
|
44
|
+
height: 6px;
|
|
45
|
+
overflow: visible;
|
|
46
|
+
border-radius: 999px;
|
|
47
|
+
corner-shape: round;
|
|
48
|
+
background: ${fill};
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
}
|
|
51
|
+
${thumb} {
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 50%;
|
|
55
|
+
left: clamp(0px, calc(var(--slider-fill, 0%) - 8px), calc(100% - 16px));
|
|
56
|
+
width: 16px;
|
|
57
|
+
height: 16px;
|
|
58
|
+
margin-top: -8px;
|
|
59
|
+
border: ${lineTokens.width} solid ${lineTokens.edge};
|
|
60
|
+
border-radius: 50%;
|
|
61
|
+
corner-shape: round;
|
|
62
|
+
background: ${uiTokens.switchThumb};
|
|
63
|
+
box-shadow: ${thumbShadow};
|
|
64
|
+
transition: box-shadow ${uiTokens.durationResponse} ${uiTokens.ease};
|
|
65
|
+
}
|
|
66
|
+
${control}:focus-visible {
|
|
67
|
+
outline: none;
|
|
68
|
+
}
|
|
69
|
+
@media (hover: hover) {
|
|
70
|
+
${root}:has(${control}:hover:not(:disabled):not(:focus-visible)) ${thumb} {
|
|
71
|
+
box-shadow: ${thumbShadowHover};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
${root}:has(${control}:active:not(:disabled):not(:focus-visible)) ${thumb} {
|
|
75
|
+
box-shadow: 0 1px 1px rgb(0 0 0 / 14%);
|
|
76
|
+
}
|
|
77
|
+
/* Offset outline is transparent, so the track would show through the gap.
|
|
78
|
+
An opaque halo keeps the 2px spacing of Button/Switch while covering the
|
|
79
|
+
fill. Hosts on a painted surface set --meowui-focus-halo to that surface. */
|
|
80
|
+
${root}:has(${control}:focus-visible) ${thumb} {
|
|
81
|
+
outline: none;
|
|
82
|
+
box-shadow:
|
|
83
|
+
0 0 0 2px var(--meowui-focus-halo, ${uiTokens.background}),
|
|
84
|
+
0 0 0 4px ${uiTokens.focus};
|
|
85
|
+
}
|
|
86
|
+
${root}:has(${control}:disabled) {
|
|
87
|
+
color: ${uiTokens.subtleForeground};
|
|
88
|
+
}
|
|
89
|
+
${root}:has(${control}:disabled) ${track} {
|
|
90
|
+
background: ${mutedFill};
|
|
91
|
+
}
|
|
92
|
+
${root}:has(${control}:disabled) ${thumb} {
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
}
|
|
95
|
+
${control}:disabled {
|
|
96
|
+
cursor: not-allowed;
|
|
97
|
+
}
|
|
98
|
+
${value} {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: flex-end;
|
|
102
|
+
grid-column: 2;
|
|
103
|
+
grid-row: 1;
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
height: ${uiTokens.controlHeight};
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
min-width: 2.5ch;
|
|
109
|
+
color: ${uiTokens.mutedForeground};
|
|
110
|
+
font-variant-numeric: tabular-nums;
|
|
111
|
+
line-height: 1;
|
|
112
|
+
text-align: end;
|
|
113
|
+
}
|
|
114
|
+
@media (prefers-reduced-motion: reduce) {
|
|
115
|
+
${thumb} {
|
|
116
|
+
transition: none;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
@media (forced-colors: active) {
|
|
120
|
+
${track},
|
|
121
|
+
${thumb} {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
${control} {
|
|
125
|
+
opacity: 1;
|
|
126
|
+
appearance: auto;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tableStyles: import("meowcss/meowjsx").CSSFragment;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { css, partSelector } from "meowcss/meowjsx";
|
|
2
|
+
import { uiTokens } from "../tokens.js";
|
|
3
|
+
import { tableContract } from "../../components/table.js";
|
|
4
|
+
import { accentTokens, layerTokens, lineTokens, radiusTokens } from "../palette.js";
|
|
5
|
+
const part = (name) => partSelector(tableContract, name);
|
|
6
|
+
export const tableStyles = css `
|
|
7
|
+
${part("root")} {
|
|
8
|
+
min-width: 0;
|
|
9
|
+
color: ${uiTokens.foreground};
|
|
10
|
+
font: ${uiTokens.fontBody}/1.5 ${uiTokens.font};
|
|
11
|
+
}
|
|
12
|
+
${part("scroller")} {
|
|
13
|
+
overflow: auto;
|
|
14
|
+
border: ${lineTokens.width} solid ${lineTokens.edge};
|
|
15
|
+
border-radius: ${radiusTokens.card};
|
|
16
|
+
background: ${layerTokens.raised};
|
|
17
|
+
}
|
|
18
|
+
${part("table")} {
|
|
19
|
+
width: 100%;
|
|
20
|
+
min-width: 24rem;
|
|
21
|
+
border-collapse: collapse;
|
|
22
|
+
table-layout: fixed;
|
|
23
|
+
}
|
|
24
|
+
${part("heading")},
|
|
25
|
+
${part("cell")} {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
padding: 10px 14px;
|
|
29
|
+
overflow-wrap: anywhere;
|
|
30
|
+
text-align: start;
|
|
31
|
+
vertical-align: middle;
|
|
32
|
+
}
|
|
33
|
+
${part("heading")}[data-align="end"],
|
|
34
|
+
${part("cell")}[data-align="end"] {
|
|
35
|
+
text-align: end;
|
|
36
|
+
}
|
|
37
|
+
${part("heading")} {
|
|
38
|
+
position: sticky;
|
|
39
|
+
top: 0;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
padding-block: 8px;
|
|
42
|
+
color: ${uiTokens.mutedForeground};
|
|
43
|
+
font-size: ${uiTokens.fontCaption};
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
letter-spacing: 0.01em;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
background: ${layerTokens.sunken};
|
|
48
|
+
}
|
|
49
|
+
${part("heading")}:last-child ${part("resize")}::after {
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
${part("sort")} {
|
|
53
|
+
appearance: none;
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 8px;
|
|
57
|
+
width: 100%;
|
|
58
|
+
min-height: 20px;
|
|
59
|
+
margin: 0;
|
|
60
|
+
padding: 0;
|
|
61
|
+
border: 0;
|
|
62
|
+
background: transparent;
|
|
63
|
+
color: inherit;
|
|
64
|
+
font: inherit;
|
|
65
|
+
text-align: inherit;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
${part("heading")}[data-align="end"] ${part("sort")} {
|
|
69
|
+
justify-content: flex-end;
|
|
70
|
+
}
|
|
71
|
+
${part("sort")} svg {
|
|
72
|
+
display: block;
|
|
73
|
+
width: 12px;
|
|
74
|
+
height: 12px;
|
|
75
|
+
flex: none;
|
|
76
|
+
color: ${uiTokens.subtleForeground};
|
|
77
|
+
}
|
|
78
|
+
${part("heading")}[aria-sort="ascending"] ${part("sort")},
|
|
79
|
+
${part("heading")}[aria-sort="descending"] ${part("sort")} {
|
|
80
|
+
color: ${uiTokens.foreground};
|
|
81
|
+
}
|
|
82
|
+
${part("heading")}[aria-sort="ascending"] ${part("sort")} svg,
|
|
83
|
+
${part("heading")}[aria-sort="descending"] ${part("sort")} svg {
|
|
84
|
+
color: currentColor;
|
|
85
|
+
}
|
|
86
|
+
${part("sort")}:focus-visible {
|
|
87
|
+
outline: 2px solid ${uiTokens.focus};
|
|
88
|
+
outline-offset: 2px;
|
|
89
|
+
border-radius: 2px;
|
|
90
|
+
}
|
|
91
|
+
${part("resize")} {
|
|
92
|
+
position: absolute;
|
|
93
|
+
inset-block: 0;
|
|
94
|
+
inset-inline-end: 0;
|
|
95
|
+
width: 10px;
|
|
96
|
+
cursor: col-resize;
|
|
97
|
+
}
|
|
98
|
+
${part("resize")}::after {
|
|
99
|
+
content: "";
|
|
100
|
+
position: absolute;
|
|
101
|
+
inset-block: 8px;
|
|
102
|
+
inset-inline-end: 4px;
|
|
103
|
+
width: 1px;
|
|
104
|
+
background: ${lineTokens.divider};
|
|
105
|
+
transition:
|
|
106
|
+
background-color ${uiTokens.durationResponse} ${uiTokens.ease},
|
|
107
|
+
width ${uiTokens.durationResponse} ${uiTokens.ease};
|
|
108
|
+
}
|
|
109
|
+
@media (hover: hover) {
|
|
110
|
+
${part("heading")}:hover ${part("resize")}::after,
|
|
111
|
+
${part("resize")}:hover::after {
|
|
112
|
+
background: ${uiTokens.mutedForeground};
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
${part("resize")}:hover::after {
|
|
116
|
+
width: 2px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
${part("body")} ${part("row")} ${part("cell")} {
|
|
120
|
+
transition: background-color ${uiTokens.durationResponse} ${uiTokens.ease};
|
|
121
|
+
}
|
|
122
|
+
${part("row")} + ${part("row")} ${part("cell")} {
|
|
123
|
+
border-top: ${lineTokens.width} solid ${lineTokens.divider};
|
|
124
|
+
}
|
|
125
|
+
@media (hover: hover) {
|
|
126
|
+
${part("body")} ${part("row")}:hover ${part("cell")} {
|
|
127
|
+
background: ${uiTokens.hover};
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
${part("body")} ${part("row")}[data-selected="true"] ${part("cell")} {
|
|
131
|
+
background: ${accentTokens.selected};
|
|
132
|
+
}
|
|
133
|
+
@media (hover: hover) {
|
|
134
|
+
${part("body")} ${part("row")}[data-selected="true"]:hover ${part("cell")} {
|
|
135
|
+
background: color-mix(in srgb, ${accentTokens.selected} 70%, ${uiTokens.hover});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
${part("body")} ${part("row")}:has(input:disabled) ${part("cell")} {
|
|
139
|
+
color: ${uiTokens.subtleForeground};
|
|
140
|
+
}
|
|
141
|
+
${part("cell")}[data-table-select],
|
|
142
|
+
${part("heading")}:has(${part("select")}) {
|
|
143
|
+
width: 44px;
|
|
144
|
+
padding-inline: 12px;
|
|
145
|
+
}
|
|
146
|
+
${part("select")} {
|
|
147
|
+
display: grid;
|
|
148
|
+
place-items: center;
|
|
149
|
+
}
|
|
150
|
+
@media (prefers-reduced-motion: reduce) {
|
|
151
|
+
${part("body")} ${part("row")} ${part("cell")},
|
|
152
|
+
${part("resize")}::after {
|
|
153
|
+
transition: none;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
`;
|
|
@@ -63,6 +63,16 @@ export const toggleStyles = css `
|
|
|
63
63
|
cursor: default;
|
|
64
64
|
opacity: 0.5;
|
|
65
65
|
}
|
|
66
|
+
${partSelector(checkboxContract, "root")}[data-label-hidden] {
|
|
67
|
+
gap: 0;
|
|
68
|
+
}
|
|
69
|
+
${partSelector(checkboxContract, "label")}[data-label-hidden] {
|
|
70
|
+
position: absolute;
|
|
71
|
+
width: 1px;
|
|
72
|
+
height: 1px;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
clip-path: inset(50%);
|
|
75
|
+
}
|
|
66
76
|
@media (prefers-reduced-motion: reduce) {
|
|
67
77
|
${partSelector(switchContract, "thumb")} {
|
|
68
78
|
transition: none;
|
|
@@ -147,5 +147,5 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
|
|
|
147
147
|
readonly inset: "18px";
|
|
148
148
|
readonly gap: "14px";
|
|
149
149
|
}> & import("meowcss").TokenSet];
|
|
150
|
-
export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
|
|
150
|
+
export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
|
|
151
151
|
export declare const standardTheme: import("meowcss").ThemeDefinition;
|
package/dist/src/theme/index.js
CHANGED
|
@@ -80,6 +80,14 @@ import { resourceCardStyles } from "./components/resource-card.styles.js";
|
|
|
80
80
|
import { resourceCardTokens } from "./components/resource-card.tokens.js";
|
|
81
81
|
import { drawerStyles } from "./components/drawer.styles.js";
|
|
82
82
|
import { windowTitleBarStyles } from "./components/window-title-bar.styles.js";
|
|
83
|
+
import { progressStyles } from "./components/progress.styles.js";
|
|
84
|
+
import { avatarStyles } from "./components/avatar.styles.js";
|
|
85
|
+
import { linkStyles } from "./components/link.styles.js";
|
|
86
|
+
import { tableStyles } from "./components/table.styles.js";
|
|
87
|
+
import { sliderStyles } from "./components/slider.styles.js";
|
|
88
|
+
import { numberInputStyles } from "./components/number-input.styles.js";
|
|
89
|
+
import { accordionStyles } from "./components/accordion.styles.js";
|
|
90
|
+
import { contextMenuStyles } from "./components/context-menu.styles.js";
|
|
83
91
|
export { standardOptions, uiTokens, chatTokens, logoTokens } from "./tokens.js";
|
|
84
92
|
export { accentTokens, statusTokens, radiusTokens, lineTokens, layerTokens } from "./palette.js";
|
|
85
93
|
export const standardThemeTokens = [
|
|
@@ -111,6 +119,12 @@ export const standardThemeStyles = [
|
|
|
111
119
|
resourceCardStyles,
|
|
112
120
|
drawerStyles,
|
|
113
121
|
windowTitleBarStyles,
|
|
122
|
+
progressStyles,
|
|
123
|
+
avatarStyles,
|
|
124
|
+
linkStyles,
|
|
125
|
+
tableStyles,
|
|
126
|
+
numberInputStyles,
|
|
127
|
+
contextMenuStyles,
|
|
114
128
|
pillStyles,
|
|
115
129
|
cornerShapeStyles,
|
|
116
130
|
segmentedControlStyles,
|
|
@@ -139,6 +153,7 @@ export const standardThemeStyles = [
|
|
|
139
153
|
emptyStateStyles,
|
|
140
154
|
navItemStyles,
|
|
141
155
|
toggleStyles,
|
|
156
|
+
sliderStyles,
|
|
142
157
|
codeBlockStyles,
|
|
143
158
|
itemStyles,
|
|
144
159
|
toolbarStyles,
|
|
@@ -172,6 +187,7 @@ export const standardThemeStyles = [
|
|
|
172
187
|
searchInputStyles,
|
|
173
188
|
pathPickerStyles,
|
|
174
189
|
disclosureStyles,
|
|
190
|
+
accordionStyles,
|
|
175
191
|
baseStyles,
|
|
176
192
|
];
|
|
177
193
|
export const standardTheme = defineTheme({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meowtail",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"marked": "18.0.12"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"meowjsx": "^0.1.
|
|
62
|
+
"meowjsx": "^0.1.1-alpha.1",
|
|
63
63
|
"meowcss": "^0.1.0 || ^0.1.1-alpha.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"meowjsx": "0.1.1-alpha.
|
|
66
|
+
"meowjsx": "0.1.1-alpha.1",
|
|
67
67
|
"meowcss": "0.1.1-alpha.0",
|
|
68
68
|
"meowbook": "0.1.2-alpha.1"
|
|
69
69
|
},
|