@domphy/ui 0.18.3 → 0.18.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/index.d.cts CHANGED
@@ -746,6 +746,19 @@ declare function link(props?: {
746
746
  accentColor?: ValueOrState<ThemeColor>;
747
747
  }): PartialElement;
748
748
 
749
+ /**
750
+ * An `<a>` element styled to look like a button — same visual appearance as
751
+ * `button()` but preserves link semantics (href, middle-click, right-click).
752
+ * Apply to an `<a>` element.
753
+ *
754
+ * @hostTag a
755
+ * @param props.color - Button color tone. Optional `ValueOrState<ThemeColor>`, default "primary".
756
+ * @example { a: "Open app", href: "/app", $: [linkButton({ color: "primary" })] }
757
+ */
758
+ declare function linkButton(props?: {
759
+ color?: ValueOrState<ThemeColor>;
760
+ }): PartialElement;
761
+
749
762
  /**
750
763
  * Styles a navigation/display list container. Sets `list-style: none` and
751
764
  * zero padding; pairs with `listItem` and `listItemButton`. Apply to `<ul>`.
@@ -1520,4 +1533,4 @@ declare function unorderedList(props?: {
1520
1533
  color?: ValueOrState<ThemeColor>;
1521
1534
  }): PartialElement;
1522
1535
 
1523
- export { type DatePickerProps, type DatePickerValue, type MotionKeyframe, type MotionProps, abbreviation, accordion, alert, avatar, badge, blockquote, breadcrumb, breadcrumbEllipsis, button, buttonGhost, buttonSwitch, card, code, combobox, command, commandItem, commandSearch, datePicker, descriptionList, details, dialog, divider, drawer, emphasis, empty, errorBoundary, fab, figure, formGroup, heading, horizontalRule, icon, image, inputCheckbox, inputColor, inputDateTime, inputFile, inputNumber, inputOTP, inputPassword, inputRadio, inputRange, inputSearch, inputSwitch, inputText, keyboard, label, link, list, listItem, listItemButton, mark, menu, menuItem, motion, orderedList, pagination, paragraph, popover, popoverArrow, preformated, progress, rating, ringProgress, scrollArea, segmented, segmentedItem, select, selectBox, selectItem, selectList, skeleton, small, spinner, splitter, splitterHandle, splitterPanel, stepItem, steps, strong, subscript, superscript, tab, tabPanel, table, tabs, tag, textarea, timeline, timelineItem, toast, toggle, toggleGroup, toolbar, toolbarSpacer, tooltip, transitionGroup, unorderedList };
1536
+ export { type DatePickerProps, type DatePickerValue, type MotionKeyframe, type MotionProps, abbreviation, accordion, alert, avatar, badge, blockquote, breadcrumb, breadcrumbEllipsis, button, buttonGhost, buttonSwitch, card, code, combobox, command, commandItem, commandSearch, datePicker, descriptionList, details, dialog, divider, drawer, emphasis, empty, errorBoundary, fab, figure, formGroup, heading, horizontalRule, icon, image, inputCheckbox, inputColor, inputDateTime, inputFile, inputNumber, inputOTP, inputPassword, inputRadio, inputRange, inputSearch, inputSwitch, inputText, keyboard, label, link, linkButton, list, listItem, listItemButton, mark, menu, menuItem, motion, orderedList, pagination, paragraph, popover, popoverArrow, preformated, progress, rating, ringProgress, scrollArea, segmented, segmentedItem, select, selectBox, selectItem, selectList, skeleton, small, spinner, splitter, splitterHandle, splitterPanel, stepItem, steps, strong, subscript, superscript, tab, tabPanel, table, tabs, tag, textarea, timeline, timelineItem, toast, toggle, toggleGroup, toolbar, toolbarSpacer, tooltip, transitionGroup, unorderedList };
package/dist/index.d.ts CHANGED
@@ -746,6 +746,19 @@ declare function link(props?: {
746
746
  accentColor?: ValueOrState<ThemeColor>;
747
747
  }): PartialElement;
748
748
 
749
+ /**
750
+ * An `<a>` element styled to look like a button — same visual appearance as
751
+ * `button()` but preserves link semantics (href, middle-click, right-click).
752
+ * Apply to an `<a>` element.
753
+ *
754
+ * @hostTag a
755
+ * @param props.color - Button color tone. Optional `ValueOrState<ThemeColor>`, default "primary".
756
+ * @example { a: "Open app", href: "/app", $: [linkButton({ color: "primary" })] }
757
+ */
758
+ declare function linkButton(props?: {
759
+ color?: ValueOrState<ThemeColor>;
760
+ }): PartialElement;
761
+
749
762
  /**
750
763
  * Styles a navigation/display list container. Sets `list-style: none` and
751
764
  * zero padding; pairs with `listItem` and `listItemButton`. Apply to `<ul>`.
@@ -1520,4 +1533,4 @@ declare function unorderedList(props?: {
1520
1533
  color?: ValueOrState<ThemeColor>;
1521
1534
  }): PartialElement;
1522
1535
 
1523
- export { type DatePickerProps, type DatePickerValue, type MotionKeyframe, type MotionProps, abbreviation, accordion, alert, avatar, badge, blockquote, breadcrumb, breadcrumbEllipsis, button, buttonGhost, buttonSwitch, card, code, combobox, command, commandItem, commandSearch, datePicker, descriptionList, details, dialog, divider, drawer, emphasis, empty, errorBoundary, fab, figure, formGroup, heading, horizontalRule, icon, image, inputCheckbox, inputColor, inputDateTime, inputFile, inputNumber, inputOTP, inputPassword, inputRadio, inputRange, inputSearch, inputSwitch, inputText, keyboard, label, link, list, listItem, listItemButton, mark, menu, menuItem, motion, orderedList, pagination, paragraph, popover, popoverArrow, preformated, progress, rating, ringProgress, scrollArea, segmented, segmentedItem, select, selectBox, selectItem, selectList, skeleton, small, spinner, splitter, splitterHandle, splitterPanel, stepItem, steps, strong, subscript, superscript, tab, tabPanel, table, tabs, tag, textarea, timeline, timelineItem, toast, toggle, toggleGroup, toolbar, toolbarSpacer, tooltip, transitionGroup, unorderedList };
1536
+ export { type DatePickerProps, type DatePickerValue, type MotionKeyframe, type MotionProps, abbreviation, accordion, alert, avatar, badge, blockquote, breadcrumb, breadcrumbEllipsis, button, buttonGhost, buttonSwitch, card, code, combobox, command, commandItem, commandSearch, datePicker, descriptionList, details, dialog, divider, drawer, emphasis, empty, errorBoundary, fab, figure, formGroup, heading, horizontalRule, icon, image, inputCheckbox, inputColor, inputDateTime, inputFile, inputNumber, inputOTP, inputPassword, inputRadio, inputRange, inputSearch, inputSwitch, inputText, keyboard, label, link, linkButton, list, listItem, listItemButton, mark, menu, menuItem, motion, orderedList, pagination, paragraph, popover, popoverArrow, preformated, progress, rating, ringProgress, scrollArea, segmented, segmentedItem, select, selectBox, selectItem, selectList, skeleton, small, spinner, splitter, splitterHandle, splitterPanel, stepItem, steps, strong, subscript, superscript, tab, tabPanel, table, tabs, tag, textarea, timeline, timelineItem, toast, toggle, toggleGroup, toolbar, toolbarSpacer, tooltip, transitionGroup, unorderedList };