@domphy/ui 0.22.4 → 0.22.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/CHANGELOG.md +19 -0
- package/dist/core-theme-ui.global.js +6 -6
- package/dist/core-theme-ui.global.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -20
- package/dist/index.d.ts +0 -20
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -815,15 +815,6 @@ declare function inputSearch(props?: {
|
|
|
815
815
|
accentColor?: ValueOrState<ThemeColor>;
|
|
816
816
|
}): PartialElement;
|
|
817
817
|
|
|
818
|
-
/**
|
|
819
|
-
* Styles a checkbox as a toggle switch: themed track and sliding knob that
|
|
820
|
-
* animates and recolors on checked, plus a disabled state. Apply to an
|
|
821
|
-
* `<input>` element of type `checkbox` (the patch sets `type: "checkbox"`).
|
|
822
|
-
*
|
|
823
|
-
* @hostTag input
|
|
824
|
-
* @param props.accentColor - Optional theme color tone for the checked track (`ValueOrState<ThemeColor>`). Defaults to `"primary"`.
|
|
825
|
-
* @example { input: null, type: "checkbox", $: [inputSwitch()] }
|
|
826
|
-
*/
|
|
827
818
|
declare function inputSwitch(props?: {
|
|
828
819
|
accentColor?: ValueOrState<ThemeColor>;
|
|
829
820
|
}): PartialElement;
|
|
@@ -1664,17 +1655,6 @@ declare function textarea(props?: {
|
|
|
1664
1655
|
* @example { ol: [...], $: [timeline()] }
|
|
1665
1656
|
*/
|
|
1666
1657
|
declare function timeline(): PartialElement;
|
|
1667
|
-
/**
|
|
1668
|
-
* A single event row in a `timeline`. Uses a 2-column grid: the left column holds
|
|
1669
|
-
* a dot (`::before`) and optional connector line (`::after`); the right column holds
|
|
1670
|
-
* the user's content. Apply to `<li>`.
|
|
1671
|
-
*
|
|
1672
|
-
* @param props.active - Full-opacity dot (accent color). `ValueOrState<boolean>`, defaults to `false`.
|
|
1673
|
-
* @param props.last - Suppress the vertical connector below this item. `boolean`, defaults to `false`.
|
|
1674
|
-
* @param props.color - Dot/connector color tone. `ThemeColor`, defaults to `"neutral"`.
|
|
1675
|
-
* @param props.accentColor - Active dot color tone. `ThemeColor`, defaults to `"primary"`.
|
|
1676
|
-
* @example { li: [{ b: "2024" }, { p: "Event" }], $: [timelineItem({ active: true })] }
|
|
1677
|
-
*/
|
|
1678
1658
|
declare function timelineItem(props?: {
|
|
1679
1659
|
active?: ValueOrState<boolean>;
|
|
1680
1660
|
last?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -815,15 +815,6 @@ declare function inputSearch(props?: {
|
|
|
815
815
|
accentColor?: ValueOrState<ThemeColor>;
|
|
816
816
|
}): PartialElement;
|
|
817
817
|
|
|
818
|
-
/**
|
|
819
|
-
* Styles a checkbox as a toggle switch: themed track and sliding knob that
|
|
820
|
-
* animates and recolors on checked, plus a disabled state. Apply to an
|
|
821
|
-
* `<input>` element of type `checkbox` (the patch sets `type: "checkbox"`).
|
|
822
|
-
*
|
|
823
|
-
* @hostTag input
|
|
824
|
-
* @param props.accentColor - Optional theme color tone for the checked track (`ValueOrState<ThemeColor>`). Defaults to `"primary"`.
|
|
825
|
-
* @example { input: null, type: "checkbox", $: [inputSwitch()] }
|
|
826
|
-
*/
|
|
827
818
|
declare function inputSwitch(props?: {
|
|
828
819
|
accentColor?: ValueOrState<ThemeColor>;
|
|
829
820
|
}): PartialElement;
|
|
@@ -1664,17 +1655,6 @@ declare function textarea(props?: {
|
|
|
1664
1655
|
* @example { ol: [...], $: [timeline()] }
|
|
1665
1656
|
*/
|
|
1666
1657
|
declare function timeline(): PartialElement;
|
|
1667
|
-
/**
|
|
1668
|
-
* A single event row in a `timeline`. Uses a 2-column grid: the left column holds
|
|
1669
|
-
* a dot (`::before`) and optional connector line (`::after`); the right column holds
|
|
1670
|
-
* the user's content. Apply to `<li>`.
|
|
1671
|
-
*
|
|
1672
|
-
* @param props.active - Full-opacity dot (accent color). `ValueOrState<boolean>`, defaults to `false`.
|
|
1673
|
-
* @param props.last - Suppress the vertical connector below this item. `boolean`, defaults to `false`.
|
|
1674
|
-
* @param props.color - Dot/connector color tone. `ThemeColor`, defaults to `"neutral"`.
|
|
1675
|
-
* @param props.accentColor - Active dot color tone. `ThemeColor`, defaults to `"primary"`.
|
|
1676
|
-
* @example { li: [{ b: "2024" }, { p: "Event" }], $: [timelineItem({ active: true })] }
|
|
1677
|
-
*/
|
|
1678
1658
|
declare function timelineItem(props?: {
|
|
1679
1659
|
active?: ValueOrState<boolean>;
|
|
1680
1660
|
last?: boolean;
|