@dryui/ui 0.1.5 → 0.1.6
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/carousel/carousel-viewport.svelte +1 -1
- package/package.json +1180 -439
- package/skills/dryui/SKILL.md +8 -5
package/skills/dryui/SKILL.md
CHANGED
|
@@ -65,7 +65,7 @@ The output should show `"status": "ready"`.
|
|
|
65
65
|
<Card.Root>content</Card.Root>
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
Compound components include Accordion, Alert, AlertDialog, Breadcrumb, Card, Collapsible, ColorPicker, Combobox, CommandPalette, ContextMenu, DataGrid, DatePicker, Dialog, DragAndDrop, Drawer, DropdownMenu,
|
|
68
|
+
Compound components include Accordion, Alert, AlertDialog, Breadcrumb, Calendar, Card, Carousel, Chart, ChipGroup, Collapsible, ColorPicker, Combobox, CommandPalette, ContextMenu, DataGrid, DateField, DatePicker, DateRangePicker, DescriptionList, Dialog, DragAndDrop, Drawer, DropdownMenu, Field, Fieldset, FileSelect, FileUpload, FlipCard, FloatButton, HoverCard, InputGroup, LinkPreview, List, Listbox, Map, MegaMenu, Menubar, MultiSelectCombobox, NavigationMenu, NotificationCenter, OptionSwatchGroup, Pagination, PinInput, Popover, RadioGroup, RangeCalendar, RichTextEditor, SegmentedControl, Select, Sidebar, Splitter, StarRating, Stepper, Table, TableOfContents, Tabs, TagsInput, Timeline, Toast, ToggleGroup, Toolbar, Tooltip, Tour, Transfer, Tree, and Typography. See `rules/compound-components.md` for parts lists.
|
|
69
69
|
|
|
70
70
|
### Rule 2: Always import a theme
|
|
71
71
|
|
|
@@ -108,17 +108,20 @@ Bindable props vary by component:
|
|
|
108
108
|
|
|
109
109
|
Select and Combobox support both `bind:value` and `bind:open`. ColorPicker also exposes `bind:alpha`. Transfer uses `bind:sourceItems` and `bind:targetItems`.
|
|
110
110
|
|
|
111
|
-
### Rule 4: Use
|
|
111
|
+
### Rule 4: Use CSS grid for layout, Container for width
|
|
112
112
|
|
|
113
113
|
```svelte
|
|
114
114
|
<!-- Incorrect -->
|
|
115
115
|
<div style="display: flex; gap: 1rem;">...</div>
|
|
116
116
|
|
|
117
|
-
<!-- Correct -->
|
|
118
|
-
<
|
|
117
|
+
<!-- Correct — raw CSS grid in scoped <style> -->
|
|
118
|
+
<div class="layout">...</div>
|
|
119
|
+
<style>
|
|
120
|
+
.layout { display: grid; gap: var(--dry-space-4); }
|
|
121
|
+
</style>
|
|
119
122
|
```
|
|
120
123
|
|
|
121
|
-
|
|
124
|
+
Use `display: grid` with `--dry-space-*` tokens for layout. Use `Container` for constrained content width. Use `@container` queries for responsive sizing — never `@media` for layout breakpoints. Do not use inline styles.
|
|
122
125
|
|
|
123
126
|
### Rule 5: Wrap form inputs in Field.Root
|
|
124
127
|
|