Skip to content

Releases

@artisanpack-ui/tokens@2.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #95 002f570 Thanks @ViewFromTheBox! - Rebuild the tokens on W3C DTCG JSON (#18, #19, #20, #22). The source lives in tokens/ in three tiers (primitive, semantic, component) with theme and density modes, and one build writes CSS custom properties in the apui.tokens layer, a typed TypeScript map and a PHP array. Every custom property moves to the --apui-* namespace (D-002) and the values follow the Strata + edges spec. The 1.x exports (cn, resolveColor, the glass helpers, the DaisyUI color maps and the Tailwind plugin) are removed.

Minor Changes

  • #98 b00ea76 Thanks @ViewFromTheBox! - Add Figma variables (#28). npm run tokens also writes generated/figma/variables.json (exported as @artisanpack-ui/tokens/figma): three collections (Tokens by preset, Theme, Density) covering every token in all three tiers, with aliases kept, role-based scopes and the custom property as WEB code syntax. A generated development plugin and npm run figma:chunks sync it into a Figma file one-way and idempotently.

  • #105 47c44ca Thanks @ViewFromTheBox! - Add the Layout, Feedback and Data Display waves, Tooltip and Table (#58 to #62, D-029 to D-044).

    • @artisanpack-ui/tokens adds border.soft-edge-width (--apui-border-soft-edge-width): 0 in light and dark, 1px in high contrast, the edge soft Badges and Alerts draw there (D-035).
    • @artisanpack-ui/manifest adds 33 manifests with docs examples: Accordion, Collapse, AppShell, PageHeader, Divider, Grid, Stack, Drawer, Popover, Tooltip, Heading, Text, ListItem, UserMenu, Avatar, Badge, Alert, Loading, Progress, ProgressRadial, Skeleton, EmptyState, ErrorState, StreamableContent, Stat, KpiCard, Sparkline, Timeline, Diff, ImageGallery, ImageSlider, ImageLibrary and Table. StreamableContent and ImageLibrary are Livewire only (D-003, D-037).
    • @artisanpack-ui/css ships each of them in apui.components.
    • @artisanpack-ui/behavior adds the Drawer, Popover, Tooltip, Accordion, Collapse, carousel (ImageSlider) and lightbox (ImageGallery) widgets on Zag (@zag-js/popover, @zag-js/tooltip, @zag-js/accordion, @zag-js/collapsible, @zag-js/carousel), each with an Alpine component and React and Vue hooks, plus apuiImageLibrary. The new data helpers (sparklineGeometry, sparklineLabel, diffText, splitRows, wordDiff) draw Sparkline and Diff with no library (D-038). More Lucide icons for the new components.
    • @artisanpack-ui/testing: ManifestParity knows the new widgets' events (apuiDrawer, apuiPopover, apuiTooltip, apuiCollapse, apuiLightbox, apuiCarousel, apuiImageLibrary).
  • #96 13485d1 Thanks @ViewFromTheBox! - Add presets (#23, D-010): named token reassignments switched by data-preset on any element, with the Ledger and Harbor presets from the spec and a forest example brand preset. Each preset is validated like the token source, passes every contrast pair in every theme, and builds to @artisanpack-ui/tokens/presets/<name>.css plus presets in the TypeScript and PHP maps. Add font-family.display, used by the display, large heading and stat styles. Add the apui-generate-preset brand preset generator (#27): it rebuilds the color ramps around a primary (and optional secondary and accent) color with luminance-matched steps, so generated presets keep the default theme's contrast, and outputs CSS, DTCG source, PHP or JSON.

@artisanpack-ui/testing@1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #123 311eccc Thanks @ViewFromTheBox! - First stable release of the design system packages: the behavior engine, the CSS, the component manifest, the testing kit and the upgrade codemods. They power Livewire UI Components 3.0, @artisanpack-ui/react 2.0 and @artisanpack-ui/vue 2.0.

Minor Changes

  • #106 97c2ee5 Thanks @ViewFromTheBox! - Add Chart, Calendar and the Utility wave (#63 to #65, D-045 to D-055).

    • @artisanpack-ui/manifest adds 11 manifests with docs examples: Chart, Calendar, Icon, ThemeToggle, ThemePreview, Markdown, Code, Kbd, Swap, Carousel and Clipboard. ThemePreview is Livewire only (D-003, D-055).
    • @artisanpack-ui/css ships each of them in apui.components, plus the shared .apui-prose styles.
    • @artisanpack-ui/behavior adds the data helpers chartGeometry and attachChartTooltip (Chart draws its own SVG; no chart library, D-045), calendarModel and calendarGridKeydown, renderMarkdown on marked (the same HTML as league/commonmark, D-049), and the Code and Kbd helpers; the copy helper (createClipboard) with useClipboard; the theme helpers (applyTheme, watchTheme, themeScript, D-054); registerDirectionalIcons (D-051); and perView and reduced-motion autoplay for the carousel widget (D-053). The Alpine plugin registers apuiChart, apuiCalendar, apuiClipboard, apuiKbd and apuiThemeToggle. Adds the contrast Lucide icon.
    • @artisanpack-ui/testing regenerates fixtures for the new manifests.
    • Fixes from review: Chart tooltips are positioned within the chart's body part, small values and ticks keep the decimals they need, compact values step up a unit when rounding reaches 1,000 (999,950 → 1.0M), and chartSeries reads ApexCharts-style points ({ x, y }, [x, y]) with the new chartPointLabels. ArrowUp and ArrowDown stop at the Calendar grid's edge. The carousel's snap points before it measures match carouselPageCount. A bound apuiThemeToggle applies values set from outside.
    • Fixes from the PR reviews: the chart y axis handles any finite range (clamped to ±1e300, tick step at least 1e-10) and prints values of 1e21 and above in full; impossible calendar times are skipped and focusCalendarCell keeps "+N more" focus; renderMarkdown bounds untrusted input like commonmark (MARKDOWN_MAX_NESTING 100, MARKDOWN_MAX_DELIMITERS 500) and raw <img> takes only PNG/GIF/JPEG/WebP data: URLs; the head snippet and applyTheme record data-theme-choice (pageThemeChoice, startThemeChoice); new Alpine apuiMarkdown; apuiClipboard resets when its value changes and offers a manual-copy field after a failure; Code lines keep newline separators; the carousel's autoplay control comes first in the Tab order.
  • #103 691852c Thanks @ViewFromTheBox! - Add the Form and Navigation waves, the Combobox family, DatePicker and Spotlight (#53 to #57, D-020 to D-028).

    • @artisanpack-ui/manifest adds 26 manifests with docs examples: Textarea, Password, Pin, Range, Toggle, Fieldset, Form, ValidationSummary, RadioGroup, CheckboxGroup, Rating, ColorPicker, File, Signature, RichTextEditor, CodeEditor, Combobox, DatePicker, Breadcrumbs, Link, Pagination, Steps, Tabs, Menu, Navbar and Spotlight. Select's options takes { label, options } groups (D-025).
    • @artisanpack-ui/css ships each of them in apui.components. Combobox and DatePicker reuse the shared field anatomy in field.css.
    • @artisanpack-ui/behavior adds the Tabs, DatePicker (with a time mode) and ColorPicker widgets on Zag (@zag-js/tabs, @zag-js/date-picker, @zag-js/color-picker), Spotlight on the dialog and combobox machines, and the form helpers for Signature, RichTextEditor and CodeEditor. Each has an Alpine component (apuiTabs, apuiDatePicker, apuiColorPicker, apuiSpotlight, apuiSignature, apuiRichTextEditor, apuiCodeEditor) and React and Vue hooks where there's a machine. The combobox widget gains chips, create, max, loading, debounced remote search, match marks, hidden inputs for name and translatable labels; its control and input parts render as box and control through the new repart(). More Lucide icons for the new components.
    • @artisanpack-ui/testing: the Vue host passes a fixture's value as modelValue when the component declares it; the manifest a11y check reads Chromium's image role as img; ManifestParity knows the new widgets' events (apuiCombobox, apuiSpotlight, apuiDatePicker, apuiColorPicker); and the PHP twins test reads the example list instead of the pilot names.
  • #105 47c44ca Thanks @ViewFromTheBox! - Add the Layout, Feedback and Data Display waves, Tooltip and Table (#58 to #62, D-029 to D-044).

    • @artisanpack-ui/tokens adds border.soft-edge-width (--apui-border-soft-edge-width): 0 in light and dark, 1px in high contrast, the edge soft Badges and Alerts draw there (D-035).
    • @artisanpack-ui/manifest adds 33 manifests with docs examples: Accordion, Collapse, AppShell, PageHeader, Divider, Grid, Stack, Drawer, Popover, Tooltip, Heading, Text, ListItem, UserMenu, Avatar, Badge, Alert, Loading, Progress, ProgressRadial, Skeleton, EmptyState, ErrorState, StreamableContent, Stat, KpiCard, Sparkline, Timeline, Diff, ImageGallery, ImageSlider, ImageLibrary and Table. StreamableContent and ImageLibrary are Livewire only (D-003, D-037).
    • @artisanpack-ui/css ships each of them in apui.components.
    • @artisanpack-ui/behavior adds the Drawer, Popover, Tooltip, Accordion, Collapse, carousel (ImageSlider) and lightbox (ImageGallery) widgets on Zag (@zag-js/popover, @zag-js/tooltip, @zag-js/accordion, @zag-js/collapsible, @zag-js/carousel), each with an Alpine component and React and Vue hooks, plus apuiImageLibrary. The new data helpers (sparklineGeometry, sparklineLabel, diffText, splitRows, wordDiff) draw Sparkline and Diff with no library (D-038). More Lucide icons for the new components.
    • @artisanpack-ui/testing: ManifestParity knows the new widgets' events (apuiDrawer, apuiPopover, apuiTooltip, apuiCollapse, apuiLightbox, apuiCarousel, apuiImageLibrary).
  • #101 bd9d62c Thanks @ViewFromTheBox! - Add the first five pilot components (#44 to #48). @artisanpack-ui/css ships Button, Input, Select, Checkbox and Card in apui.components, with the form-field anatomy they share in field.css (D-018). @artisanpack-ui/manifest adds the Input, Select, Checkbox and Card manifests and docs examples, moves Button to draft, adds Button's type prop, and spells Checkbox's checked-change as wire:model, onCheckedChange and update:checked. @artisanpack-ui/behavior adds the icon registry (@artisanpack-ui/behavior/icons, D-017) with a default Lucide set, also exported as icons.json. @artisanpack-ui/testing renders every non-default surface in the fixtures, forces pseudo-states on a field's native control instead of its wrapper root, and counts a native control that receives $attributes as wire:model binding in the Blade parity checks.

  • #102 d758392 Thanks @ViewFromTheBox! - Add the Dialog, DropdownMenu and Toast pilots (#49 to #51, D-019). @artisanpack-ui/behavior adds the DropdownMenu widget (Zag's menu, scoped dropdown-menu) and the toast stack (createToaster, toast, toastGroup, staticToastParts), with apuiDropdownMenu, apuiToaster and apuiToast for Alpine, useDropdownMenu, useToaster and useToast for React and Vue, ApuiBehavior.toast() in the classic script, and five more Lucide icons. @artisanpack-ui/css ships Dialog, DropdownMenu and Toast. @artisanpack-ui/manifest adds their manifests and docs examples. @artisanpack-ui/testing compares Zag's kebab-case part names with the manifests' camelCase ones, and renders overlays' positioner and backdrop inside their fixture case.

Patch Changes

  • Updated dependencies [97c2ee5, 8ce0456, [002f570](https://github.com/ArtisanPack-UI/design-syste...
Read more

@artisanpack-ui/manifest@1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #123 311eccc Thanks @ViewFromTheBox! - First stable release of the design system packages: the behavior engine, the CSS, the component manifest, the testing kit and the upgrade codemods. They power Livewire UI Components 3.0, @artisanpack-ui/react 2.0 and @artisanpack-ui/vue 2.0.

Minor Changes

  • #106 97c2ee5 Thanks @ViewFromTheBox! - Add Chart, Calendar and the Utility wave (#63 to #65, D-045 to D-055).

    • @artisanpack-ui/manifest adds 11 manifests with docs examples: Chart, Calendar, Icon, ThemeToggle, ThemePreview, Markdown, Code, Kbd, Swap, Carousel and Clipboard. ThemePreview is Livewire only (D-003, D-055).
    • @artisanpack-ui/css ships each of them in apui.components, plus the shared .apui-prose styles.
    • @artisanpack-ui/behavior adds the data helpers chartGeometry and attachChartTooltip (Chart draws its own SVG; no chart library, D-045), calendarModel and calendarGridKeydown, renderMarkdown on marked (the same HTML as league/commonmark, D-049), and the Code and Kbd helpers; the copy helper (createClipboard) with useClipboard; the theme helpers (applyTheme, watchTheme, themeScript, D-054); registerDirectionalIcons (D-051); and perView and reduced-motion autoplay for the carousel widget (D-053). The Alpine plugin registers apuiChart, apuiCalendar, apuiClipboard, apuiKbd and apuiThemeToggle. Adds the contrast Lucide icon.
    • @artisanpack-ui/testing regenerates fixtures for the new manifests.
    • Fixes from review: Chart tooltips are positioned within the chart's body part, small values and ticks keep the decimals they need, compact values step up a unit when rounding reaches 1,000 (999,950 → 1.0M), and chartSeries reads ApexCharts-style points ({ x, y }, [x, y]) with the new chartPointLabels. ArrowUp and ArrowDown stop at the Calendar grid's edge. The carousel's snap points before it measures match carouselPageCount. A bound apuiThemeToggle applies values set from outside.
    • Fixes from the PR reviews: the chart y axis handles any finite range (clamped to ±1e300, tick step at least 1e-10) and prints values of 1e21 and above in full; impossible calendar times are skipped and focusCalendarCell keeps "+N more" focus; renderMarkdown bounds untrusted input like commonmark (MARKDOWN_MAX_NESTING 100, MARKDOWN_MAX_DELIMITERS 500) and raw <img> takes only PNG/GIF/JPEG/WebP data: URLs; the head snippet and applyTheme record data-theme-choice (pageThemeChoice, startThemeChoice); new Alpine apuiMarkdown; apuiClipboard resets when its value changes and offers a manual-copy field after a failure; Code lines keep newline separators; the carousel's autoplay control comes first in the Tab order.
  • #96 8ce0456 Thanks @ViewFromTheBox! - Add the component manifest (#26): a JSON Schema (draft 2020-12) for one component's props, variants, sizes, parts, slots, events, accessibility requirements, tokens and the stacks it ships in (D-003), with a Button sample. Includes a validator with the vocabulary rules, the apui-manifest validate and diff CLI, a typed loader for test harnesses, a manifest diff with Markdown output for upgrade guides, and a PHP loader over a generated manifests.php.

  • #103 691852c Thanks @ViewFromTheBox! - Add the Form and Navigation waves, the Combobox family, DatePicker and Spotlight (#53 to #57, D-020 to D-028).

    • @artisanpack-ui/manifest adds 26 manifests with docs examples: Textarea, Password, Pin, Range, Toggle, Fieldset, Form, ValidationSummary, RadioGroup, CheckboxGroup, Rating, ColorPicker, File, Signature, RichTextEditor, CodeEditor, Combobox, DatePicker, Breadcrumbs, Link, Pagination, Steps, Tabs, Menu, Navbar and Spotlight. Select's options takes { label, options } groups (D-025).
    • @artisanpack-ui/css ships each of them in apui.components. Combobox and DatePicker reuse the shared field anatomy in field.css.
    • @artisanpack-ui/behavior adds the Tabs, DatePicker (with a time mode) and ColorPicker widgets on Zag (@zag-js/tabs, @zag-js/date-picker, @zag-js/color-picker), Spotlight on the dialog and combobox machines, and the form helpers for Signature, RichTextEditor and CodeEditor. Each has an Alpine component (apuiTabs, apuiDatePicker, apuiColorPicker, apuiSpotlight, apuiSignature, apuiRichTextEditor, apuiCodeEditor) and React and Vue hooks where there's a machine. The combobox widget gains chips, create, max, loading, debounced remote search, match marks, hidden inputs for name and translatable labels; its control and input parts render as box and control through the new repart(). More Lucide icons for the new components.
    • @artisanpack-ui/testing: the Vue host passes a fixture's value as modelValue when the component declares it; the manifest a11y check reads Chromium's image role as img; ManifestParity knows the new widgets' events (apuiCombobox, apuiSpotlight, apuiDatePicker, apuiColorPicker); and the PHP twins test reads the example list instead of the pilot names.
  • #105 47c44ca Thanks @ViewFromTheBox! - Add the Layout, Feedback and Data Display waves, Tooltip and Table (#58 to #62, D-029 to D-044).

    • @artisanpack-ui/tokens adds border.soft-edge-width (--apui-border-soft-edge-width): 0 in light and dark, 1px in high contrast, the edge soft Badges and Alerts draw there (D-035).
    • @artisanpack-ui/manifest adds 33 manifests with docs examples: Accordion, Collapse, AppShell, PageHeader, Divider, Grid, Stack, Drawer, Popover, Tooltip, Heading, Text, ListItem, UserMenu, Avatar, Badge, Alert, Loading, Progress, ProgressRadial, Skeleton, EmptyState, ErrorState, StreamableContent, Stat, KpiCard, Sparkline, Timeline, Diff, ImageGallery, ImageSlider, ImageLibrary and Table. StreamableContent and ImageLibrary are Livewire only (D-003, D-037).
    • @artisanpack-ui/css ships each of them in apui.components.
    • @artisanpack-ui/behavior adds the Drawer, Popover, Tooltip, Accordion, Collapse, carousel (ImageSlider) and lightbox (ImageGallery) widgets on Zag (@zag-js/popover, @zag-js/tooltip, @zag-js/accordion, @zag-js/collapsible, @zag-js/carousel), each with an Alpine component and React and Vue hooks, plus apuiImageLibrary. The new data helpers (sparklineGeometry, sparklineLabel, diffText, splitRows, wordDiff) draw Sparkline and Diff with no library (D-038). More Lucide icons for the new components.
    • @artisanpack-ui/testing: ManifestParity knows the new widgets' events (apuiDrawer, apuiPopover, apuiTooltip, apuiCollapse, apuiLightbox, apuiCarousel, apuiImageLibrary).
  • #101 bd9d62c Thanks @ViewFromTheBox! - Add the first five pilot components (#44 to #48). @artisanpack-ui/css ships Button, Input, Select, Checkbox and Card in apui.components, with the form-field anatomy they share in field.css (D-018). @artisanpack-ui/manifest adds the Input, Select, Checkbox and Card manifests and docs examples, moves Button to draft, adds Button's type prop, and spells Checkbox's checked-change as wire:model, onCheckedChange and update:checked. @artisanpack-ui/behavior adds the icon registry (@artisanpack-ui/behavior/icons, D-017) with a default Lucide set, also exported as icons.json. @artisanpack-ui/testing renders every non-default surface in the fixtures, forces pseudo-states on a field's native control instead of its wrapper root, and counts a native control that receives $attributes as wire:model binding in the Blade parity checks.

  • #102 d758392 Thanks @ViewFromTheBox! - Add the Dialog, DropdownMenu and Toast pilots (#49 to #51, D-019). @artisanpack-ui/behavior adds the DropdownMenu widget (Zag's menu, scoped dropdown-menu) and the toast stack (createToaster, toast, toastGroup, staticToastParts), with apuiDropdownMenu, apuiToaster and apuiToast for Alpine, `us...

Read more

@artisanpack-ui/css@1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #123 311eccc Thanks @ViewFromTheBox! - First stable release of the design system packages: the behavior engine, the CSS, the component manifest, the testing kit and the upgrade codemods. They power Livewire UI Components 3.0, @artisanpack-ui/react 2.0 and @artisanpack-ui/vue 2.0.

Minor Changes

  • #106 97c2ee5 Thanks @ViewFromTheBox! - Add Chart, Calendar and the Utility wave (#63 to #65, D-045 to D-055).

    • @artisanpack-ui/manifest adds 11 manifests with docs examples: Chart, Calendar, Icon, ThemeToggle, ThemePreview, Markdown, Code, Kbd, Swap, Carousel and Clipboard. ThemePreview is Livewire only (D-003, D-055).
    • @artisanpack-ui/css ships each of them in apui.components, plus the shared .apui-prose styles.
    • @artisanpack-ui/behavior adds the data helpers chartGeometry and attachChartTooltip (Chart draws its own SVG; no chart library, D-045), calendarModel and calendarGridKeydown, renderMarkdown on marked (the same HTML as league/commonmark, D-049), and the Code and Kbd helpers; the copy helper (createClipboard) with useClipboard; the theme helpers (applyTheme, watchTheme, themeScript, D-054); registerDirectionalIcons (D-051); and perView and reduced-motion autoplay for the carousel widget (D-053). The Alpine plugin registers apuiChart, apuiCalendar, apuiClipboard, apuiKbd and apuiThemeToggle. Adds the contrast Lucide icon.
    • @artisanpack-ui/testing regenerates fixtures for the new manifests.
    • Fixes from review: Chart tooltips are positioned within the chart's body part, small values and ticks keep the decimals they need, compact values step up a unit when rounding reaches 1,000 (999,950 → 1.0M), and chartSeries reads ApexCharts-style points ({ x, y }, [x, y]) with the new chartPointLabels. ArrowUp and ArrowDown stop at the Calendar grid's edge. The carousel's snap points before it measures match carouselPageCount. A bound apuiThemeToggle applies values set from outside.
    • Fixes from the PR reviews: the chart y axis handles any finite range (clamped to ±1e300, tick step at least 1e-10) and prints values of 1e21 and above in full; impossible calendar times are skipped and focusCalendarCell keeps "+N more" focus; renderMarkdown bounds untrusted input like commonmark (MARKDOWN_MAX_NESTING 100, MARKDOWN_MAX_DELIMITERS 500) and raw <img> takes only PNG/GIF/JPEG/WebP data: URLs; the head snippet and applyTheme record data-theme-choice (pageThemeChoice, startThemeChoice); new Alpine apuiMarkdown; apuiClipboard resets when its value changes and offers a manual-copy field after a failure; Code lines keep newline separators; the carousel's autoplay control comes first in the Tab order.
  • #95 98dd23a Thanks @ViewFromTheBox! - Add the cascade layer scaffold (#21): a scoped reset, the design tokens, and the apui-sr-only and apui-focus-ring utilities, bundled into one dist/index.css. App CSS overrides every layer without !important. Theme and density switch on any element with data-theme and data-density (#22).

  • #96 7e933d7 Thanks @ViewFromTheBox! - Include the Ledger and Harbor presets in the bundle (#23). Add @artisanpack-ui/css/headless, the bundle without the apui.components layer (#25, D-012), and @artisanpack-ui/css/tailwind, an optional Tailwind v4 preset generated from the tokens that only adds utilities such as bg-primary, text-muted and rounded-control (#24, D-011). @artisanpack-ui/css/assets.php lists the entry points for the Livewire package.

  • #103 691852c Thanks @ViewFromTheBox! - Add the Form and Navigation waves, the Combobox family, DatePicker and Spotlight (#53 to #57, D-020 to D-028).

    • @artisanpack-ui/manifest adds 26 manifests with docs examples: Textarea, Password, Pin, Range, Toggle, Fieldset, Form, ValidationSummary, RadioGroup, CheckboxGroup, Rating, ColorPicker, File, Signature, RichTextEditor, CodeEditor, Combobox, DatePicker, Breadcrumbs, Link, Pagination, Steps, Tabs, Menu, Navbar and Spotlight. Select's options takes { label, options } groups (D-025).
    • @artisanpack-ui/css ships each of them in apui.components. Combobox and DatePicker reuse the shared field anatomy in field.css.
    • @artisanpack-ui/behavior adds the Tabs, DatePicker (with a time mode) and ColorPicker widgets on Zag (@zag-js/tabs, @zag-js/date-picker, @zag-js/color-picker), Spotlight on the dialog and combobox machines, and the form helpers for Signature, RichTextEditor and CodeEditor. Each has an Alpine component (apuiTabs, apuiDatePicker, apuiColorPicker, apuiSpotlight, apuiSignature, apuiRichTextEditor, apuiCodeEditor) and React and Vue hooks where there's a machine. The combobox widget gains chips, create, max, loading, debounced remote search, match marks, hidden inputs for name and translatable labels; its control and input parts render as box and control through the new repart(). More Lucide icons for the new components.
    • @artisanpack-ui/testing: the Vue host passes a fixture's value as modelValue when the component declares it; the manifest a11y check reads Chromium's image role as img; ManifestParity knows the new widgets' events (apuiCombobox, apuiSpotlight, apuiDatePicker, apuiColorPicker); and the PHP twins test reads the example list instead of the pilot names.
  • #105 47c44ca Thanks @ViewFromTheBox! - Add the Layout, Feedback and Data Display waves, Tooltip and Table (#58 to #62, D-029 to D-044).

    • @artisanpack-ui/tokens adds border.soft-edge-width (--apui-border-soft-edge-width): 0 in light and dark, 1px in high contrast, the edge soft Badges and Alerts draw there (D-035).
    • @artisanpack-ui/manifest adds 33 manifests with docs examples: Accordion, Collapse, AppShell, PageHeader, Divider, Grid, Stack, Drawer, Popover, Tooltip, Heading, Text, ListItem, UserMenu, Avatar, Badge, Alert, Loading, Progress, ProgressRadial, Skeleton, EmptyState, ErrorState, StreamableContent, Stat, KpiCard, Sparkline, Timeline, Diff, ImageGallery, ImageSlider, ImageLibrary and Table. StreamableContent and ImageLibrary are Livewire only (D-003, D-037).
    • @artisanpack-ui/css ships each of them in apui.components.
    • @artisanpack-ui/behavior adds the Drawer, Popover, Tooltip, Accordion, Collapse, carousel (ImageSlider) and lightbox (ImageGallery) widgets on Zag (@zag-js/popover, @zag-js/tooltip, @zag-js/accordion, @zag-js/collapsible, @zag-js/carousel), each with an Alpine component and React and Vue hooks, plus apuiImageLibrary. The new data helpers (sparklineGeometry, sparklineLabel, diffText, splitRows, wordDiff) draw Sparkline and Diff with no library (D-038). More Lucide icons for the new components.
    • @artisanpack-ui/testing: ManifestParity knows the new widgets' events (apuiDrawer, apuiPopover, apuiTooltip, apuiCollapse, apuiLightbox, apuiCarousel, apuiImageLibrary).
  • #101 bd9d62c Thanks @ViewFromTheBox! - Add the first five pilot components (#44 to #48). @artisanpack-ui/css ships Button, Input, Select, Checkbox and Card in apui.components, with the form-field anatomy they share in field.css (D-018). @artisanpack-ui/manifest adds the Input, Select, Checkbox and Card manifests and docs examples, moves Button to draft, adds Button's type prop, and spells Checkbox's checked-change as wire:model, onCheckedChange and update:checked. @artisanpack-ui/behavior adds the icon registry (@artisanpack-ui/behavior/icons, D-017) with a default Lucide set, also exported as icons.json. @artisanpack-ui/testing renders every non-default surface in the fixtures, forces pseudo-states on a field's native control instead of its wrapper root, and counts a native control that...

Read more

@artisanpack-ui/codemods@1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #123 311eccc Thanks @ViewFromTheBox! - First stable release of the design system packages: the behavior engine, the CSS, the component manifest, the testing kit and the upgrade codemods. They power Livewire UI Components 3.0, @artisanpack-ui/react 2.0 and @artisanpack-ui/vue 2.0.

Minor Changes

  • #107 a3ca0aa Thanks @ViewFromTheBox! - Add @artisanpack-ui/codemods: the migration tooling for the majors built on the design system (#67 to #70, D-056).

    • Upgrade rules for Livewire, React and Vue, generated from the Phase 0 API catalogue and the component manifests, with curated rules for what names can't say. The build rejects a rule whose target the manifest doesn't have. generated/upgrade-rules.php is the Livewire half, for php artisan artisanpack:upgrade-ui in Livewire UI Components 3.0.
    • React and Vue codemods, run with npx @artisanpack-ui/codemods react|vue [paths] [--dry-run]. They rename imports, components, props, events, slots and v-model arguments, turn flags into values, map values that changed and merge per-part class props into classes, keeping formatting and comments. What they can't decide is reported with its file, line and column.
    • A DaisyUI report: raw DaisyUI classes, theme variables and configuration are listed and never rewritten.
    • Upgrade guides per stack in docs/upgrade/, with their component and prop tables generated from the rules.

@artisanpack-ui/behavior@1.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:49
Immutable release. Only release title and notes can be modified.
29bc0b6

Major Changes

  • #123 311eccc Thanks @ViewFromTheBox! - First stable release of the design system packages: the behavior engine, the CSS, the component manifest, the testing kit and the upgrade codemods. They power Livewire UI Components 3.0, @artisanpack-ui/react 2.0 and @artisanpack-ui/vue 2.0.

Minor Changes

  • #98 4df39cb Thanks @ViewFromTheBox! - Add the behavior engine (#32 to #35, D-015): Zag state machines with a framework-agnostic adapter interface (createWidget, WidgetDefinition), Dialog and Combobox definitions, Floating UI positioning with logical start/end placements, and keepClientState for server morphs. Add the Alpine adapter (@artisanpack-ui/behavior/alpine): apuiDialog, apuiCombobox and x-apui:<part> directives, with open and value bindable through $wire.entangle(), local and remote filtering, and a classic-script build (alpine.global.js) that registers on alpine:init. Tested on Livewire 3 and 4.

  • #99 fbc7481 Thanks @ViewFromTheBox! - Add the React and Vue adapters (#36): useDialog and useCombobox from @artisanpack-ui/behavior/react (hooks) and @artisanpack-ui/behavior/vue (composables). They run the same Dialog and Combobox definitions through Zag's framework adapters, so parts, ARIA, data-scope and data-part match the Alpine adapter, which a parity test checks. State is controlled (open, value with onOpenChange, onValueChange) or uncontrolled (defaultOpen, defaultValue). @zag-js/react, @zag-js/vue, react and vue are optional peer dependencies.

  • #106 97c2ee5 Thanks @ViewFromTheBox! - Add Chart, Calendar and the Utility wave (#63 to #65, D-045 to D-055).

    • @artisanpack-ui/manifest adds 11 manifests with docs examples: Chart, Calendar, Icon, ThemeToggle, ThemePreview, Markdown, Code, Kbd, Swap, Carousel and Clipboard. ThemePreview is Livewire only (D-003, D-055).
    • @artisanpack-ui/css ships each of them in apui.components, plus the shared .apui-prose styles.
    • @artisanpack-ui/behavior adds the data helpers chartGeometry and attachChartTooltip (Chart draws its own SVG; no chart library, D-045), calendarModel and calendarGridKeydown, renderMarkdown on marked (the same HTML as league/commonmark, D-049), and the Code and Kbd helpers; the copy helper (createClipboard) with useClipboard; the theme helpers (applyTheme, watchTheme, themeScript, D-054); registerDirectionalIcons (D-051); and perView and reduced-motion autoplay for the carousel widget (D-053). The Alpine plugin registers apuiChart, apuiCalendar, apuiClipboard, apuiKbd and apuiThemeToggle. Adds the contrast Lucide icon.
    • @artisanpack-ui/testing regenerates fixtures for the new manifests.
    • Fixes from review: Chart tooltips are positioned within the chart's body part, small values and ticks keep the decimals they need, compact values step up a unit when rounding reaches 1,000 (999,950 → 1.0M), and chartSeries reads ApexCharts-style points ({ x, y }, [x, y]) with the new chartPointLabels. ArrowUp and ArrowDown stop at the Calendar grid's edge. The carousel's snap points before it measures match carouselPageCount. A bound apuiThemeToggle applies values set from outside.
    • Fixes from the PR reviews: the chart y axis handles any finite range (clamped to ±1e300, tick step at least 1e-10) and prints values of 1e21 and above in full; impossible calendar times are skipped and focusCalendarCell keeps "+N more" focus; renderMarkdown bounds untrusted input like commonmark (MARKDOWN_MAX_NESTING 100, MARKDOWN_MAX_DELIMITERS 500) and raw <img> takes only PNG/GIF/JPEG/WebP data: URLs; the head snippet and applyTheme record data-theme-choice (pageThemeChoice, startThemeChoice); new Alpine apuiMarkdown; apuiClipboard resets when its value changes and offers a manual-copy field after a failure; Code lines keep newline separators; the carousel's autoplay control comes first in the Tab order.
  • #103 691852c Thanks @ViewFromTheBox! - Add the Form and Navigation waves, the Combobox family, DatePicker and Spotlight (#53 to #57, D-020 to D-028).

    • @artisanpack-ui/manifest adds 26 manifests with docs examples: Textarea, Password, Pin, Range, Toggle, Fieldset, Form, ValidationSummary, RadioGroup, CheckboxGroup, Rating, ColorPicker, File, Signature, RichTextEditor, CodeEditor, Combobox, DatePicker, Breadcrumbs, Link, Pagination, Steps, Tabs, Menu, Navbar and Spotlight. Select's options takes { label, options } groups (D-025).
    • @artisanpack-ui/css ships each of them in apui.components. Combobox and DatePicker reuse the shared field anatomy in field.css.
    • @artisanpack-ui/behavior adds the Tabs, DatePicker (with a time mode) and ColorPicker widgets on Zag (@zag-js/tabs, @zag-js/date-picker, @zag-js/color-picker), Spotlight on the dialog and combobox machines, and the form helpers for Signature, RichTextEditor and CodeEditor. Each has an Alpine component (apuiTabs, apuiDatePicker, apuiColorPicker, apuiSpotlight, apuiSignature, apuiRichTextEditor, apuiCodeEditor) and React and Vue hooks where there's a machine. The combobox widget gains chips, create, max, loading, debounced remote search, match marks, hidden inputs for name and translatable labels; its control and input parts render as box and control through the new repart(). More Lucide icons for the new components.
    • @artisanpack-ui/testing: the Vue host passes a fixture's value as modelValue when the component declares it; the manifest a11y check reads Chromium's image role as img; ManifestParity knows the new widgets' events (apuiCombobox, apuiSpotlight, apuiDatePicker, apuiColorPicker); and the PHP twins test reads the example list instead of the pilot names.
  • #105 47c44ca Thanks @ViewFromTheBox! - Add the Layout, Feedback and Data Display waves, Tooltip and Table (#58 to #62, D-029 to D-044).

    • @artisanpack-ui/tokens adds border.soft-edge-width (--apui-border-soft-edge-width): 0 in light and dark, 1px in high contrast, the edge soft Badges and Alerts draw there (D-035).
    • @artisanpack-ui/manifest adds 33 manifests with docs examples: Accordion, Collapse, AppShell, PageHeader, Divider, Grid, Stack, Drawer, Popover, Tooltip, Heading, Text, ListItem, UserMenu, Avatar, Badge, Alert, Loading, Progress, ProgressRadial, Skeleton, EmptyState, ErrorState, StreamableContent, Stat, KpiCard, Sparkline, Timeline, Diff, ImageGallery, ImageSlider, ImageLibrary and Table. StreamableContent and ImageLibrary are Livewire only (D-003, D-037).
    • @artisanpack-ui/css ships each of them in apui.components.
    • @artisanpack-ui/behavior adds the Drawer, Popover, Tooltip, Accordion, Collapse, carousel (ImageSlider) and lightbox (ImageGallery) widgets on Zag (@zag-js/popover, @zag-js/tooltip, @zag-js/accordion, @zag-js/collapsible, @zag-js/carousel), each with an Alpine component and React and Vue hooks, plus apuiImageLibrary. The new data helpers (sparklineGeometry, sparklineLabel, diffText, splitRows, wordDiff) draw Sparkline and Diff with no library (D-038). More Lucide icons for the new components.
    • @artisanpack-ui/testing: ManifestParity knows the new widgets' events (apuiDrawer, apuiPopover, apuiTooltip, apuiCollapse, apuiLightbox, apuiCarousel, apuiImageLibrary).
  • #101 bd9d62c Thanks @ViewFromTheBox! - Add the first five pilot components (#44 to #48). @artisanpack-ui/css ships Button, Input, Select, Checkbox and Card in apui.components, with the form-field anatomy they share in field.css (D-018). @artisanpack-ui/manifest adds the Input, Select, Checkbox and Card manifests and docs examples, moves Button to draft, adds Button's type prop, and spells Checkbox's checked-change as wire:model, onCheckedChange and update:checked. @artisanpack-ui/behavior adds the i...

Read more