@luxalgo/vela-ui 0.3.0 → 0.4.1
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/CHANGELOG.md +165 -132
- package/LICENSE +201 -201
- package/NOTICE +28 -28
- package/README.md +86 -86
- package/cli/engine.mjs +282 -282
- package/cli/index.mjs +154 -154
- package/dist/button.js +2 -2
- package/dist/callout-bubble.js +3 -3
- package/dist/checkbox.js +3 -3
- package/dist/{chunk-OJ2SEMN6.js → chunk-5A54GODF.js} +2 -2
- package/dist/{chunk-UEO6W37Z.js → chunk-7LYWI32I.js} +2 -2
- package/dist/{chunk-IOOYDSSK.js → chunk-BIU66EHS.js} +2 -2
- package/dist/{chunk-KKS6NEGI.js → chunk-BWSOMG3G.js} +1 -1
- package/dist/{chunk-DXDCKZ2M.js → chunk-CZRHHVSB.js} +1 -1
- package/dist/{chunk-C3PXY2SW.js → chunk-EDYD5XKJ.js} +9 -0
- package/dist/chunk-GUIYFQ27.js +30 -0
- package/dist/{chunk-WWHNUKSZ.js → chunk-JEGB72M4.js} +8 -8
- package/dist/{chunk-B2EZB5ZG.js → chunk-ODPGOUQT.js} +4 -3
- package/dist/{chunk-TBXUF5YX.js → chunk-RH53NQGE.js} +18 -4
- package/dist/{chunk-OQXFQMZM.js → chunk-TGJNHUYV.js} +2 -2
- package/dist/collapsible.js +2 -2
- package/dist/color-picker.js +4 -4
- package/dist/context-menu.js +4 -4
- package/dist/date-picker.js +1 -1
- package/dist/dialog.js +4 -4
- package/dist/donut.d.ts +1 -1
- package/dist/drawer.js +1 -1
- package/dist/dropdown-menu.d.ts +2 -0
- package/dist/dropdown-menu.js +4 -4
- package/dist/empty.js +1 -1
- package/dist/field.js +9 -9
- package/dist/{stat.d.ts → figure.d.ts} +9 -9
- package/dist/figure.js +41 -0
- package/dist/glyph-select.js +4 -4
- package/dist/hover-card.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/input-group.js +2 -2
- package/dist/item.js +1 -1
- package/dist/manifest.json +75 -74
- package/dist/number-input.js +3 -3
- package/dist/popover.js +2 -2
- package/dist/select.d.ts +5 -1
- package/dist/select.js +5 -5
- package/dist/slider.js +1 -1
- package/dist/sort-button.js +2 -2
- package/dist/switch.js +1 -1
- package/dist/tabs.js +2 -2
- package/dist/{theme-Ct-q58xz.d.ts → theme-TefB8vtl.d.ts} +2 -2
- package/dist/theme.d.ts +2 -2
- package/dist/theme.js +1 -1
- package/dist/theme.schema.json +30 -30
- package/dist/toast.d.ts +2 -2
- package/dist/toast.js +2 -2
- package/dist/toggle-group.js +2 -2
- package/dist/tooltip.js +1 -1
- package/dist/zag.d.ts +11 -2
- package/dist/zag.js +1 -1
- package/docs/theming.md +217 -217
- package/docs/what-to-change.md +20 -20
- package/docs/writing-a-component.md +250 -250
- package/llms.txt +3 -3
- package/package.json +90 -90
- package/registry/badge.ts +119 -119
- package/registry/bar-chart.ts +215 -215
- package/registry/button.ts +387 -387
- package/registry/callout-bubble.ts +347 -347
- package/registry/card.ts +379 -379
- package/registry/checkbox.ts +234 -234
- package/registry/collapsible.ts +271 -271
- package/registry/color-picker.ts +582 -582
- package/registry/context-menu.ts +208 -208
- package/registry/data-table.ts +215 -215
- package/registry/date-picker.ts +483 -483
- package/registry/dialog.ts +551 -551
- package/registry/donut.ts +145 -145
- package/registry/drawer.ts +636 -636
- package/registry/dropdown-menu.ts +765 -762
- package/registry/empty.ts +91 -91
- package/registry/field.ts +584 -584
- package/registry/{stat.ts → figure.ts} +96 -96
- package/registry/glyph-select.ts +268 -268
- package/registry/hover-card.ts +222 -222
- package/registry/input-group.ts +229 -229
- package/registry/input.ts +181 -181
- package/registry/item.ts +376 -376
- package/registry/kbd.ts +64 -64
- package/registry/line-chart.ts +218 -218
- package/registry/month-grid.ts +328 -328
- package/registry/number-input.ts +443 -443
- package/registry/popover.ts +368 -368
- package/registry/scatter-chart.ts +221 -221
- package/registry/select.ts +629 -620
- package/registry/slider.ts +259 -259
- package/registry/sort-button.ts +189 -189
- package/registry/sparkline.ts +114 -114
- package/registry/switch.ts +205 -205
- package/registry/tabs.ts +426 -426
- package/registry/text-area.ts +186 -186
- package/registry/toast.ts +965 -965
- package/registry/toggle-group.ts +295 -295
- package/registry/tooltip.ts +156 -156
- package/registry/treemap.ts +847 -847
- package/skills/theming-vela-ui/SKILL.md +137 -137
- package/skills/using-vela-ui-components/SKILL.md +141 -139
- package/skills/writing-vela-ui-components/SKILL.md +163 -163
- package/src/components/badge.ts +119 -119
- package/src/components/bar-chart.ts +215 -215
- package/src/components/button.ts +387 -387
- package/src/components/callout-bubble.ts +347 -347
- package/src/components/card.ts +379 -379
- package/src/components/checkbox.ts +234 -234
- package/src/components/collapsible.ts +271 -271
- package/src/components/color-picker.ts +582 -582
- package/src/components/context-menu.ts +208 -208
- package/src/components/data-table.ts +215 -215
- package/src/components/date-picker.ts +483 -483
- package/src/components/dialog.ts +551 -551
- package/src/components/donut.ts +145 -145
- package/src/components/drawer.ts +636 -636
- package/src/components/dropdown-menu.ts +765 -762
- package/src/components/empty.ts +91 -91
- package/src/components/field.ts +584 -584
- package/src/components/{stat.ts → figure.ts} +96 -96
- package/src/components/glyph-select.ts +268 -268
- package/src/components/hover-card.ts +222 -222
- package/src/components/input-group.ts +229 -229
- package/src/components/input.ts +181 -181
- package/src/components/item.ts +376 -376
- package/src/components/kbd.ts +64 -64
- package/src/components/line-chart.ts +218 -218
- package/src/components/month-grid.ts +328 -328
- package/src/components/number-input.ts +443 -443
- package/src/components/popover.ts +368 -368
- package/src/components/scatter-chart.ts +221 -221
- package/src/components/select.ts +629 -620
- package/src/components/slider.ts +259 -259
- package/src/components/sort-button.ts +189 -189
- package/src/components/sparkline.ts +114 -114
- package/src/components/switch.ts +205 -205
- package/src/components/tabs.ts +426 -426
- package/src/components/text-area.ts +186 -186
- package/src/components/toast.ts +965 -965
- package/src/components/toggle-group.ts +295 -295
- package/src/components/tooltip.ts +156 -156
- package/src/components/treemap.ts +847 -847
- package/src/index.ts +24 -24
- package/src/lib/calendar.ts +117 -117
- package/src/lib/chart.ts +72 -72
- package/src/lib/color.ts +89 -89
- package/src/lib/component-index.ts +163 -163
- package/src/lib/css.ts +48 -48
- package/src/lib/define.ts +45 -45
- package/src/lib/dispose.ts +36 -36
- package/src/lib/h.ts +55 -55
- package/src/lib/headless.ts +16 -16
- package/src/lib/i18n.ts +30 -30
- package/src/lib/icons.ts +253 -244
- package/src/lib/kit-text.ts +26 -26
- package/src/lib/page.ts +24 -24
- package/src/lib/palette.ts +81 -81
- package/src/lib/placement.ts +188 -188
- package/src/lib/scope.ts +135 -135
- package/src/lib/styles.ts +53 -53
- package/src/lib/surface-events.ts +31 -31
- package/src/lib/surface-exit.ts +87 -87
- package/src/lib/t.ts +68 -68
- package/src/lib/theme.ts +684 -670
- package/src/lib/tokens.ts +110 -110
- package/src/lib/variants.ts +32 -32
- package/src/lib/zag.ts +61 -46
- package/stylelint/index.mjs +60 -60
- package/stylelint/lint.mjs +81 -81
- package/stylelint/plugin.mjs +115 -115
- package/dist/chunk-P4MTEMT7.js +0 -23
- package/dist/stat.js +0 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,132 +1,165 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to `@luxalgo/vela-ui`, newest first. Vela's own changes, including how it
|
|
4
|
-
uses the kit, are in [Vela's changelog](../../CHANGELOG.md).
|
|
5
|
-
|
|
6
|
-
## [0.
|
|
7
|
-
|
|
8
|
-
### Added
|
|
9
|
-
|
|
10
|
-
- **
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- **
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
###
|
|
83
|
-
|
|
84
|
-
- **
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- **
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@luxalgo/vela-ui`, newest first. Vela's own changes, including how it
|
|
4
|
+
uses the kit, are in [Vela's changelog](../../CHANGELOG.md).
|
|
5
|
+
|
|
6
|
+
## [0.4.1]
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- **Unavailable choices can say why.** A dropdown menu row takes a `title`, shown as its
|
|
11
|
+
tooltip, so a disabled row can explain what makes it unavailable. A select's options take
|
|
12
|
+
`disabled` and `title` too: a disabled option stays in the list, dimmed, cannot be picked
|
|
13
|
+
with the pointer or the keyboard, and shows its tooltip on hover.
|
|
14
|
+
- **Icons for three more chart styles.** The icon set draws `style-linemarkers`,
|
|
15
|
+
`style-stepline` and `style-columns` beside the other chart-style icons, in the same
|
|
16
|
+
16-pixel chrome tier.
|
|
17
|
+
|
|
18
|
+
## [0.4.0]
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **The stat is now the figure.** The component that shows a value under its label is
|
|
23
|
+
`@luxalgo/vela-ui/figure`, with `createFigure` and its slots and theme entry named `figure`.
|
|
24
|
+
Content blockers took the old module's file for a tracking script and blocked it, so a
|
|
25
|
+
page using it lost the component while developing. _(Breaking: import `createFigure` from
|
|
26
|
+
`@luxalgo/vela-ui/figure` instead of `createStat` from `@luxalgo/vela-ui/stat`, and rename
|
|
27
|
+
`stat` to `figure` in your theme's `components` and in CSS that targets its slots.)_
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- **Open menus stay on top of the page.** With `@zag-js` 1.47, which a fresh install
|
|
32
|
+
resolves, an open dropdown menu dropped under the content beside it as soon as the pointer
|
|
33
|
+
left it, so it seemed to vanish over a chart. Menus, tooltips and dialogs now keep their
|
|
34
|
+
stacking.
|
|
35
|
+
- **A search field's clear cross follows the theme.** Search fields inside a kit host show
|
|
36
|
+
their clear cross in the theme's text color, white on a dark theme and black on a light one,
|
|
37
|
+
instead of the browser's own, which some systems paint blue.
|
|
38
|
+
|
|
39
|
+
## [0.3.0]
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- **Toasts.** `@luxalgo/vela-ui/toast` shows short notices that stack in a corner and leave on
|
|
44
|
+
their own, with the same calls and options as shadcn's toast. `toast('Saved')` raises one
|
|
45
|
+
from anywhere on the page, `toast.success`, `.info`, `.warning`, `.error` and `.loading` give
|
|
46
|
+
it its kind's icon, and `toast.promise` follows a task from loading to its result. A toast
|
|
47
|
+
takes a description, an action and a cancel button, its own icon and duration, and raising
|
|
48
|
+
it again with the same `id` updates it in place; `toast.dismiss` takes one or all away.
|
|
49
|
+
`createToaster` shows them, over the page or inside a host: the newest in front with the
|
|
50
|
+
older ones folded behind it, spread out while hovered (or with Alt+T), and swiped away
|
|
51
|
+
towards their edge. It takes the corner, the number shown, rich colors per kind, close
|
|
52
|
+
buttons and the toasts' defaults, and a theme sets its width, colors and radius.
|
|
53
|
+
- **A treemap.** `@luxalgo/vela-ui/treemap` lays weighted items out as tiles close to square,
|
|
54
|
+
each tinted by its value on a diverging scale (a watchlist's moves of the day, sized equally
|
|
55
|
+
or by market cap). Items with children form groups headed by their name and the median of
|
|
56
|
+
their values, or the mean, the sum or a figure of your own. Tiles show their label and value
|
|
57
|
+
as their size allows, a readout follows the pointer and the keyboard focus, the arrow keys
|
|
58
|
+
move between tiles, and a click reports the tile with its groups. New values repaint the
|
|
59
|
+
tiles in place, and a resize moves them. With `drill`, a group's header zooms into it and a
|
|
60
|
+
breadcrumb, or Esc, leads back. An optional legend shows the scale, and `squarify` lays out
|
|
61
|
+
rectangles of your own.
|
|
62
|
+
- **A card.** `@luxalgo/vela-ui/card` holds one subject on a surface of its own: a header with
|
|
63
|
+
an eyebrow over the title and a description under it, an action at its end, then the
|
|
64
|
+
content and a footer past a line. `inset` is the sunken tile for figures inside another
|
|
65
|
+
card, and `sm` is tighter. Its title is a heading, so screen readers move from card to card.
|
|
66
|
+
With `onSelect` the whole card is clickable while a press on a button inside it stays the
|
|
67
|
+
button's, and `selected` marks the current one. Its padding, radius, background and border
|
|
68
|
+
are settings a theme can change.
|
|
69
|
+
|
|
70
|
+
### Fixed
|
|
71
|
+
|
|
72
|
+
- **Key caps read on every button.** On the `default`, `up` and `down` buttons, key caps
|
|
73
|
+
(`keys`, `keysEnd`) drew their label in the button's own fill color, so only an empty cap
|
|
74
|
+
showed. Inside a button a key cap now takes the button's text color and draws only its
|
|
75
|
+
outline, on every variant.
|
|
76
|
+
- **A dialog's close button has a name.** Screen readers announced it as an unnamed button;
|
|
77
|
+
it is now "Close", in the language of the dialog's new `i18n` option, else the kit build's
|
|
78
|
+
translator. `setI18n` renames it when the language changes while the dialog is open.
|
|
79
|
+
|
|
80
|
+
## [0.2.0]
|
|
81
|
+
|
|
82
|
+
### Added
|
|
83
|
+
|
|
84
|
+
- **A slider.** `@luxalgo/vela-ui/slider` holds a value on a track, dragged or moved with the
|
|
85
|
+
arrow keys, Page Up/Down and Home/End. It reports every move, and once a drag ends it
|
|
86
|
+
reports the settled value through `onValueCommit`, the moment for costly work such as a
|
|
87
|
+
replay's seek.
|
|
88
|
+
- **Collapsible sections.** `@luxalgo/vela-ui/collapsible` shows and hides its content from a
|
|
89
|
+
header: a section header with a count (a panel's drawers) or a small group label (a list's
|
|
90
|
+
groups). A button of the host's, such as a row's chevron, can toggle it instead.
|
|
91
|
+
- **List rows.** `@luxalgo/vela-ui/item` is a row of a list (a watchlist, alerts, search
|
|
92
|
+
results): media, a title over a description, figures, and buttons that can stay hidden
|
|
93
|
+
until the row is hovered. A clickable row works with the keyboard and screen readers like
|
|
94
|
+
a button, while the buttons inside it keep their own presses; a row with actions makes its
|
|
95
|
+
text the button, as a button cannot hold other buttons. `createItemGroup` stacks rows, with
|
|
96
|
+
a line between them on request; a labelled group is a `group` to screen readers, or the
|
|
97
|
+
`role` you give it (`listbox` for option rows).
|
|
98
|
+
- **Sort buttons for lists that are not tables.** `@luxalgo/vela-ui/sort-button` is a column
|
|
99
|
+
header that steps through its sort directions on each press, shows the current one with an
|
|
100
|
+
arrow, and says it to screen readers.
|
|
101
|
+
- **A month grid.** `@luxalgo/vela-ui/month-grid` lays out a month of days with a figure each,
|
|
102
|
+
tinted by its tone (a trading journal's P&L by day). Weeks start on the locale's first day,
|
|
103
|
+
and the arrow keys walk the days.
|
|
104
|
+
- **Two-line tabs.** A tab's `description` puts a second line under its label, such as a day
|
|
105
|
+
strip's date under its weekday.
|
|
106
|
+
- **Key caps and favorite stars in buttons.** A button's `keys` and `keysEnd` show key caps
|
|
107
|
+
before or after its text (`↵ Open`). The `favorite` variant is a star that takes the
|
|
108
|
+
favorites color while pressed. A toggle button can now flip itself (`defaultPressed`,
|
|
109
|
+
`onPressedChange`) and show another icon while pressed (`iconPressed`).
|
|
110
|
+
- **A callout panel without a bubble.** `calloutPart(el, part)` makes an element a part of the
|
|
111
|
+
callout bubble's deployed panel (`panel`, `title`, `text`, `actions`, `button`) and gives it
|
|
112
|
+
that part's look, so a panel built elsewhere, such as a chart's timeline-mark popup, matches
|
|
113
|
+
the bubble's, and a theme's `callout-bubble` parts restyle both.
|
|
114
|
+
|
|
115
|
+
### Fixed
|
|
116
|
+
|
|
117
|
+
- **What is on or chosen reads in the theme's selected colors.** A dropdown's switch rows, when
|
|
118
|
+
on, fill like the Switch (`selected.bg`, the knob in `selected.fg`) instead of the accent,
|
|
119
|
+
as does the slider's range and thumb, and a month grid marks today in bright, bold type:
|
|
120
|
+
white on a dark theme, black on a light one.
|
|
121
|
+
- **The kit's styles stay inside the kit.** Once a page created a kit component, the kit's
|
|
122
|
+
styles also reached the page's own components that use the same part names, such as a
|
|
123
|
+
shadcn/ui select, switch or button, and restyled them. A component's styles now apply only
|
|
124
|
+
inside kit hosts (`ensureUIHost`), the menus, dialogs and tooltips they open, and themed
|
|
125
|
+
hosts, so the page's own components keep their look. A component mounted outside any kit
|
|
126
|
+
host gets none of the kit's styles: mount it in one, as the README shows.
|
|
127
|
+
|
|
128
|
+
## [0.1.0]
|
|
129
|
+
|
|
130
|
+
### Added
|
|
131
|
+
|
|
132
|
+
- **The first release of Vela's component kit as a package of its own.** Buttons, badges,
|
|
133
|
+
tabs, toggle groups, dialogs, drawers, dropdown and context menus, tooltips, hover cards,
|
|
134
|
+
popovers, form controls (checkbox, switch, input and input group, text area, number field,
|
|
135
|
+
select, color picker, date picker, the settings field layer) and data components (data
|
|
136
|
+
table, stat, sparkline, donut, bar, line and scatter charts, key caps, empty states), one
|
|
137
|
+
import path each (`@luxalgo/vela-ui/<name>`), so a bundle holds only what it imports. Every
|
|
138
|
+
component is `create<Name>(props)`, returning a handle with its element and `destroy()`;
|
|
139
|
+
overlays and composite controls run Zag state machines for their keyboard behavior and
|
|
140
|
+
accessibility. `disposeWithin(root)` releases every control in a subtree you discard.
|
|
141
|
+
- **One typed theme config.** `createTheme` builds a theme from a brand color, a radius
|
|
142
|
+
scale, a font, any token by name, each component's settings and, when settings are not
|
|
143
|
+
enough, a component's CSS by part; `applyTheme` writes it once per document as a rule in
|
|
144
|
+
the `vela.theme` cascade layer. `checkTheme` lists what a theme gets wrong, a theme of
|
|
145
|
+
colors alone is plain JSON checked by the shipped JSON Schema, and the dark and light
|
|
146
|
+
themes also ship as plain CSS files.
|
|
147
|
+
- **Styles that give way to yours.** Component CSS sits in the `vela.ui` cascade layer and
|
|
148
|
+
styles parts by their `data-slot`, variants by `data-variant` and `data-size`, so a page's
|
|
149
|
+
own CSS overrides it without `!important`. Every scroller inside a kit host shows one
|
|
150
|
+
themeable scrollbar (`scroll`, `scroll-size`).
|
|
151
|
+
- **A reference inside the package.** `manifest.json` (every component's import, props,
|
|
152
|
+
variants, parts, settings, the tokens it reads and an example), `theme.schema.json`, the
|
|
153
|
+
guides (theming, what to change and where, writing a component) and `llms.txt` for coding
|
|
154
|
+
agents, all generated from the source.
|
|
155
|
+
- **Agent skills.** Three skills in `skills/` teach a coding agent to use the components,
|
|
156
|
+
theme them and write new ones, in the Agent Skills format: `npx skills experimental_sync`
|
|
157
|
+
links them into a project once the package is installed, and `npx skills add LuxAlgo/Vela`
|
|
158
|
+
installs them from the repository. `llms.txt` and the `AGENTS.md` block `add` writes point
|
|
159
|
+
at them.
|
|
160
|
+
- **A command line and a lint config.** `npx @luxalgo/vela-ui add`, `diff`, `check` and
|
|
161
|
+
`list`; `@luxalgo/vela-ui/stylelint` checks CSS written with the kit's `css` tag against the
|
|
162
|
+
kit's rules.
|
|
163
|
+
|
|
164
|
+
ES modules only, for the browsers with `color-mix()`: Chrome and Edge 111, Firefox 113,
|
|
165
|
+
Safari 16.2.
|