@warmio/design 1.9.1 → 1.10.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/README.md +6 -4
- package/components.css +28 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -0
- package/interfaces.css +1 -1
- package/package.json +1 -1
- package/theme.css +1 -0
package/README.md
CHANGED
|
@@ -25,10 +25,12 @@ Package ships `components.css` (token-only styles for the primitives) and `dist/
|
|
|
25
25
|
|
|
26
26
|
## Releases
|
|
27
27
|
|
|
28
|
-
The
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
The `1.10.0` release adds the `tableHeaderLink` Button presentation for
|
|
29
|
+
borderless, underlined sortable table headers. The `1.9.1` release updated the
|
|
30
|
+
light default button shadow and white-to-gray gradient. Version `1.9.0`
|
|
31
|
+
switched shared UI type to Inter, kept JetBrains Mono for numbers and code, and
|
|
32
|
+
added the closed type-size tokens. The previous `1.8.0` release added
|
|
33
|
+
Fluid-derived surface-only Button press feedback.
|
|
32
34
|
|
|
33
35
|
Bump this `package.json` version for additive tokens (incl. motion/surface), fonts,
|
|
34
36
|
spacing, or primitive changes. Follow the exact sequence in
|
package/components.css
CHANGED
|
@@ -191,7 +191,6 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
191
191
|
[data-warm-button][data-variant='arrow'] {
|
|
192
192
|
border-width: 0;
|
|
193
193
|
text-decoration: underline;
|
|
194
|
-
text-underline-offset: var(--button-underline-offset);
|
|
195
194
|
}
|
|
196
195
|
[data-warm-button][data-variant='arrow'] svg {
|
|
197
196
|
width: var(--button-icon-size);
|
|
@@ -353,6 +352,34 @@ button[data-warm-button][data-variant='apple'] {
|
|
|
353
352
|
[data-warm-button][data-presentation='tableHeader']:hover::before {
|
|
354
353
|
background-color: transparent;
|
|
355
354
|
}
|
|
355
|
+
[data-warm-button][data-presentation='tableHeaderLink']:not([data-explicit-size]) {
|
|
356
|
+
height: auto;
|
|
357
|
+
min-height: 0;
|
|
358
|
+
width: var(--button-width-full);
|
|
359
|
+
justify-content: flex-start;
|
|
360
|
+
gap: var(--button-gap);
|
|
361
|
+
padding: 0;
|
|
362
|
+
border-radius: 0;
|
|
363
|
+
font-weight: 400;
|
|
364
|
+
line-height: var(--button-line-height);
|
|
365
|
+
color: var(--muted-foreground);
|
|
366
|
+
text-decoration: underline;
|
|
367
|
+
text-decoration-thickness: var(--button-underline-thickness);
|
|
368
|
+
text-underline-offset: var(--button-underline-offset);
|
|
369
|
+
}
|
|
370
|
+
[data-warm-button][data-presentation='tableHeaderLink']::before {
|
|
371
|
+
background-image: none;
|
|
372
|
+
background-color: transparent;
|
|
373
|
+
box-shadow: none;
|
|
374
|
+
}
|
|
375
|
+
[data-warm-button][data-presentation='tableHeaderLink']:hover {
|
|
376
|
+
color: var(--foreground);
|
|
377
|
+
}
|
|
378
|
+
[data-warm-button][data-presentation='tableHeaderLink']:hover::before {
|
|
379
|
+
background-image: none;
|
|
380
|
+
background-color: transparent;
|
|
381
|
+
box-shadow: none;
|
|
382
|
+
}
|
|
356
383
|
[data-warm-button][data-presentation='touch']:not([data-explicit-size]) {
|
|
357
384
|
min-height: var(--button-min-height-touch);
|
|
358
385
|
}
|
package/dist/button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export type ButtonPresentation = 'assistantIcon' | 'assistantRoundIcon' | 'composerIcon' | 'default' | 'headerAction' | 'compact' | 'controlPeer' | 'editPill' | 'hero' | 'menuOption' | 'promptCategory' | 'promptOption' | 'sidebarIcon' | 'tableHeader' | 'threadMore' | 'threadNew' | 'touch';
|
|
2
|
+
export type ButtonPresentation = 'assistantIcon' | 'assistantRoundIcon' | 'composerIcon' | 'default' | 'headerAction' | 'compact' | 'controlPeer' | 'editPill' | 'hero' | 'menuOption' | 'promptCategory' | 'promptOption' | 'sidebarIcon' | 'tableHeader' | 'tableHeaderLink' | 'threadMore' | 'threadNew' | 'touch';
|
|
3
3
|
export type ButtonVariant = 'default' | 'outline' | 'ghost' | 'destructive' | 'apple' | 'arrow';
|
|
4
4
|
export type ButtonSize = 'compact' | 'default' | 'jumbo' | 'icon';
|
|
5
5
|
export type ButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style'> & {
|
package/dist/button.js
CHANGED
package/interfaces.css
CHANGED
package/package.json
CHANGED
package/theme.css
CHANGED