@zyncat/ui 0.18.0 → 0.20.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/alert.css +1 -2
- package/dist/avatar.css +1 -1
- package/dist/badge.css +1 -1
- package/dist/button.css +1 -2
- package/dist/checkbox.css +1 -1
- package/dist/collapse.css +1 -1
- package/dist/confetti.css +1 -1
- package/dist/date-picker.css +7 -7
- package/dist/dialog.css +1 -2
- package/dist/digit-strip.css +1 -1
- package/dist/dropdown.css +1 -1
- package/dist/facebook-feed.css +1 -1
- package/dist/flow-field.css +1 -1
- package/dist/icon.css +1 -1
- package/dist/input.css +1 -4
- package/dist/instagram-feed.css +1 -1
- package/dist/lens.css +1 -1
- package/dist/menu-surface.css +1 -1
- package/dist/modal.css +1 -1
- package/dist/morphing-text.css +1 -1
- package/dist/motion-devtools.css +1 -1
- package/dist/odometer.css +1 -1
- package/dist/overlay.css +1 -1
- package/dist/pagination.css +1 -1
- package/dist/popover.css +1 -1
- package/dist/radio-group.css +3 -1
- package/dist/select.css +1 -2
- package/dist/sheet.css +1 -1
- package/dist/spinner.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/support-rail.css +7 -2
- package/dist/table.css +2 -2
- package/dist/tabs.css +13 -2
- package/dist/tabs.js +48 -39
- package/dist/tabs.js.map +1 -1
- package/dist/tag.css +1 -1
- package/dist/textarea.css +1 -1
- package/dist/theme-switcher.css +1 -2
- package/dist/theme-transition.css +1 -1
- package/dist/theme.js.map +1 -1
- package/dist/tiktok.css +1 -1
- package/dist/toast.css +1 -1
- package/dist/toggle.css +1 -1
- package/dist/tooltip.css +1 -1
- package/dist/trigger.css +1 -1
- package/dist/types/components/composites/tabs/Tabs.d.ts +3 -1
- package/dist/types/tokens/theme-tokens.generated.d.ts +1 -1
- package/dist/typing-lines.css +1 -1
- package/dist/weight-field.css +1 -1
- package/dist/youtube.css +1 -1
- package/package.json +10 -12
- package/skills/zyncat-ui/references/components.md +1 -1
- package/src/components/composites/alert/alert.css +1 -2
- package/src/components/composites/date-picker/date-picker.css +7 -7
- package/src/components/composites/dialog/dialog.css +1 -2
- package/src/components/composites/dropdown/dropdown.css +1 -1
- package/src/components/composites/emoji-picker/styles.css +1 -1
- package/src/components/composites/modal/modal.css +1 -1
- package/src/components/composites/pagination/pagination.css +1 -1
- package/src/components/composites/popover/popover.css +1 -1
- package/src/components/composites/select/select.css +1 -2
- package/src/components/composites/sheet/sheet.css +1 -1
- package/src/components/composites/table/table.css +2 -2
- package/src/components/composites/tabs/Tabs.tsx +8 -1
- package/src/components/composites/tabs/tabs.css +13 -2
- package/src/components/composites/theme-switcher/theme-switcher.css +1 -2
- package/src/components/composites/toast/toast.css +1 -1
- package/src/components/composites/tooltip/tooltip.css +1 -1
- package/src/components/compound/support-rail/support-rail.css +7 -2
- package/src/components/dev/motion-devtools.css +1 -1
- package/src/components/expressive/confetti/confetti.css +1 -1
- package/src/components/expressive/facebook-feed/facebook-feed.css +1 -1
- package/src/components/expressive/flow-field/flow-field.css +1 -1
- package/src/components/expressive/instagram-feed/instagram-feed.css +1 -1
- package/src/components/expressive/lens/lens.css +1 -1
- package/src/components/expressive/morphing-text/morphing-text.css +1 -1
- package/src/components/expressive/odometer/odometer.css +1 -1
- package/src/components/expressive/theme-transition/theme-transition.css +1 -1
- package/src/components/expressive/tiktok/tiktok.css +1 -1
- package/src/components/expressive/typing-lines/typing-lines.css +1 -1
- package/src/components/expressive/weight-field/weight-field.css +1 -1
- package/src/components/expressive/youtube/youtube.css +1 -1
- package/src/components/internal/glass/glass.css +1 -1
- package/src/components/internal/icon/icon.css +1 -1
- package/src/components/internal/menu/menu-surface.css +1 -1
- package/src/components/internal/overlay/overlay.css +1 -1
- package/src/components/internal/overlay/trigger.css +1 -1
- package/src/components/primitives/avatar/avatar.css +1 -1
- package/src/components/primitives/badge/badge.css +1 -1
- package/src/components/primitives/badge/digit-strip.css +1 -1
- package/src/components/primitives/button/button.css +1 -2
- package/src/components/primitives/checkbox/checkbox.css +1 -1
- package/src/components/primitives/collapse/collapse.css +1 -1
- package/src/components/primitives/input/input.css +1 -4
- package/src/components/primitives/radio-group/radio-group.css +3 -1
- package/src/components/primitives/spinner/spinner.css +1 -1
- package/src/components/primitives/tag/tag.css +1 -1
- package/src/components/primitives/textarea/textarea.css +1 -1
- package/src/components/primitives/toggle/toggle.css +1 -1
- package/src/styles.css +1 -1
- package/src/tokens/base.css +59 -3
- package/src/tokens/color.css +1 -1
- package/src/tokens/dark.css +1 -1
- package/src/tokens/decisions.css +1 -1
- package/src/tokens/elevation.css +1 -1
- package/src/tokens/glass.css +1 -1
- package/src/tokens/motion.css +4 -4
- package/src/tokens/radius.css +1 -1
- package/src/tokens/reset.css +145 -5
- package/src/tokens/semantic.css +1 -1
- package/src/tokens/spacing.css +1 -1
- package/src/tokens/theme-tokens.generated.ts +1 -1
- package/src/tokens/typography.css +1 -1
- package/tailwind.css +1 -1
package/src/tokens/reset.css
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
@layer zyncat.reset, zyncat.tokens, zyncat.components;
|
|
1
|
+
@layer zyncat.reset, zyncat.tokens, zyncat.base, zyncat.components;
|
|
2
2
|
|
|
3
3
|
@layer zyncat.reset {
|
|
4
|
-
/*
|
|
4
|
+
/* iOS Safari inflates text in landscape without this. */
|
|
5
5
|
html {
|
|
6
6
|
-webkit-text-size-adjust: 100%;
|
|
7
|
+
text-size-adjust: 100%;
|
|
8
|
+
tab-size: 4;
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
*,
|
|
@@ -16,21 +18,159 @@
|
|
|
16
18
|
margin: 0;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
h1,
|
|
22
|
+
h2,
|
|
23
|
+
h3,
|
|
24
|
+
h4,
|
|
25
|
+
h5,
|
|
26
|
+
h6 {
|
|
27
|
+
font-size: inherit;
|
|
28
|
+
font-weight: inherit;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
blockquote,
|
|
32
|
+
dd,
|
|
33
|
+
dl,
|
|
34
|
+
figure,
|
|
35
|
+
h1,
|
|
36
|
+
h2,
|
|
37
|
+
h3,
|
|
38
|
+
h4,
|
|
39
|
+
h5,
|
|
40
|
+
h6,
|
|
41
|
+
hr,
|
|
42
|
+
p,
|
|
43
|
+
pre {
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Safari drops list semantics from VoiceOver; docs must require role=list. */
|
|
48
|
+
menu,
|
|
49
|
+
ol,
|
|
50
|
+
ul {
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: 0;
|
|
53
|
+
list-style: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
a {
|
|
57
|
+
color: inherit;
|
|
58
|
+
text-decoration: inherit;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* The UA runs monospace off a separate 13px default; 1em undoes it. */
|
|
62
|
+
code,
|
|
63
|
+
kbd,
|
|
64
|
+
pre,
|
|
65
|
+
samp {
|
|
66
|
+
font-size: 1em;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
small {
|
|
70
|
+
font-size: 80%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Both stretch the line box in the UA sheet. */
|
|
74
|
+
sub,
|
|
75
|
+
sup {
|
|
76
|
+
position: relative;
|
|
77
|
+
font-size: 75%;
|
|
78
|
+
line-height: 0;
|
|
79
|
+
vertical-align: baseline;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
sub {
|
|
83
|
+
bottom: -0.25em;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
sup {
|
|
87
|
+
top: -0.5em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Inline replaced elements leave a descender gap under the baseline. */
|
|
91
|
+
audio,
|
|
92
|
+
canvas,
|
|
93
|
+
embed,
|
|
94
|
+
iframe,
|
|
95
|
+
img,
|
|
96
|
+
object,
|
|
97
|
+
svg,
|
|
98
|
+
video {
|
|
99
|
+
display: block;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Author display beats the UA hidden; important so nothing un-hides it. */
|
|
103
|
+
[hidden]:not([hidden='until-found']) {
|
|
104
|
+
display: none !important;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
img,
|
|
108
|
+
video {
|
|
109
|
+
max-width: 100%;
|
|
110
|
+
height: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
table {
|
|
114
|
+
border-collapse: collapse;
|
|
115
|
+
border-spacing: 0;
|
|
116
|
+
text-indent: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
hr {
|
|
120
|
+
height: 0;
|
|
121
|
+
border: 0;
|
|
122
|
+
border-top: 1px solid;
|
|
123
|
+
color: inherit;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* The font shorthand resets every longhand; Safari withholds letter-spacing here. */
|
|
21
127
|
button,
|
|
22
128
|
input,
|
|
23
129
|
optgroup,
|
|
24
130
|
select,
|
|
25
131
|
textarea {
|
|
132
|
+
margin: 0;
|
|
133
|
+
border: 0;
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
color: inherit;
|
|
26
136
|
font: inherit;
|
|
27
137
|
font-feature-settings: inherit;
|
|
28
138
|
font-variation-settings: inherit;
|
|
29
139
|
letter-spacing: inherit;
|
|
30
140
|
}
|
|
31
141
|
|
|
32
|
-
|
|
142
|
+
button,
|
|
143
|
+
[type='button'],
|
|
144
|
+
[type='reset'],
|
|
145
|
+
[type='submit'] {
|
|
146
|
+
-webkit-appearance: button;
|
|
147
|
+
appearance: button;
|
|
148
|
+
padding: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Firefox dims placeholders to 0.54; base names the replacement color. */
|
|
33
152
|
::placeholder {
|
|
34
153
|
opacity: 1;
|
|
35
154
|
}
|
|
155
|
+
|
|
156
|
+
::-webkit-search-decoration,
|
|
157
|
+
::-webkit-search-cancel-button {
|
|
158
|
+
-webkit-appearance: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Chrome's spinners are fixed-height and unstyleable. */
|
|
162
|
+
::-webkit-inner-spin-button,
|
|
163
|
+
::-webkit-outer-spin-button {
|
|
164
|
+
height: auto;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
::file-selector-button {
|
|
168
|
+
-webkit-appearance: button;
|
|
169
|
+
appearance: button;
|
|
170
|
+
font: inherit;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
summary {
|
|
174
|
+
display: list-item;
|
|
175
|
+
}
|
|
36
176
|
}
|
package/src/tokens/semantic.css
CHANGED
package/src/tokens/spacing.css
CHANGED
|
@@ -671,7 +671,7 @@ export interface TokenProperties {
|
|
|
671
671
|
'--scale-floating'?: string | number;
|
|
672
672
|
/** `--scale-chip` - small inline elements - tag, badge, count. Default: `0.9`. */
|
|
673
673
|
'--scale-chip'?: string | number;
|
|
674
|
-
/** `--transition-control`. Default: `color var(--duration-
|
|
674
|
+
/** `--transition-control`. Default: `color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), outline-color var(--duration-base) var(--ease-standard)`. Re-derived on every theme root. */
|
|
675
675
|
'--transition-control'?: string | number;
|
|
676
676
|
/** `--transition-colors`. Default: `color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard)`. Re-derived on every theme root. */
|
|
677
677
|
'--transition-colors'?: string | number;
|
package/tailwind.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Generated from the token CSS by `scripts/gen-theme.mjs` - `pnpm sync` rebuilds it. */
|
|
10
10
|
|
|
11
|
-
@layer theme, zyncat.reset, base, zyncat.tokens, zyncat.
|
|
11
|
+
@layer theme, zyncat.reset, base, zyncat.tokens, zyncat.base, zyncat.components, components, utilities;
|
|
12
12
|
|
|
13
13
|
@custom-variant dark (&:where([data-polarity='dark'], [data-polarity='dark'] *));
|
|
14
14
|
|