@yahoo/uds-v5-wip 1.10.2 → 1.12.0
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/components/dist/collapsible.config.d.ts +2 -1
- package/dist/components/dist/collapsible.d.ts +2 -1
- package/dist/components/dist/collapsible.js +3 -3
- package/dist/components/dist/presets/index.d.ts +3 -2
- package/dist/components/dist/presets/index.js +1 -1
- package/dist/components/presets/index.d.ts +1 -1
- package/dist/components/presets/index.js +1 -1
- package/dist/config.d.ts +821 -821
- package/dist/core/dist/createComponent.d.ts +2 -1
- package/dist/core/dist/createComponentExample.d.ts +2 -1
- package/dist/core/dist/createProvider.d.ts +2 -1
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +2 -1
- package/dist/core/dist/getComponentStyles.d.ts +2 -1
- package/dist/core/dist/getStyles.d.ts +2 -1
- package/dist/core/dist/macros.d.ts +2 -1
- package/dist/core/dist/propMappings.d.ts +2 -1
- package/dist/core/dist/resolveMotionState.d.ts +2 -1
- package/dist/core/dist/transformPreset.d.ts +2 -1
- package/dist/core/dist/withDefaultStyleProps.d.ts +2 -1
- package/dist/foundational-presets/dist/boldVibrant.d.ts +822 -821
- package/dist/foundational-presets/dist/brutalist.d.ts +822 -821
- package/dist/foundational-presets/dist/candy.d.ts +822 -821
- package/dist/foundational-presets/dist/cleanMinimalist.d.ts +822 -821
- package/dist/foundational-presets/dist/corporate.d.ts +822 -821
- package/dist/foundational-presets/dist/darkMoody.d.ts +822 -821
- package/dist/foundational-presets/dist/defaultPreset.d.ts +822 -821
- package/dist/foundational-presets/dist/forest.d.ts +822 -821
- package/dist/foundational-presets/dist/highContrast.d.ts +822 -821
- package/dist/foundational-presets/dist/lavender.d.ts +822 -821
- package/dist/foundational-presets/dist/luxury.d.ts +822 -821
- package/dist/foundational-presets/dist/monochrome.d.ts +822 -821
- package/dist/foundational-presets/dist/motion.d.ts +2 -1
- package/dist/foundational-presets/dist/neonCyber.d.ts +822 -821
- package/dist/foundational-presets/dist/newspaper.d.ts +822 -821
- package/dist/foundational-presets/dist/ocean.d.ts +822 -821
- package/dist/foundational-presets/dist/slate.d.ts +822 -821
- package/dist/foundational-presets/dist/sunset.d.ts +822 -821
- package/dist/foundational-presets/dist/terminal.d.ts +822 -821
- package/dist/foundational-presets/dist/warmOrganic.d.ts +822 -821
- package/dist/loader/dist/loader.d.ts +2 -1
- package/dist/loader/dist/next.d.ts +2 -1
- package/dist/presets/dist/defaultPreset.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/collapsible.config.d.ts
|
|
3
|
+
//#region src/collapsible.config.d.ts
|
|
3
4
|
declare const collapsibleConfig: ComponentConfig<{
|
|
4
5
|
Collapsible: {
|
|
5
6
|
readonly base: {
|
|
@@ -40,6 +41,6 @@ declare const collapsibleConfig: ComponentConfig<{
|
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
43
|
}, {}>;
|
|
43
|
-
type CollapsibleConfig = typeof collapsibleConfig;
|
|
44
|
+
type CollapsibleConfig = typeof collapsibleConfig; //#endregion
|
|
44
45
|
//#endregion
|
|
45
46
|
export { CollapsibleConfig, collapsibleConfig };
|
|
@@ -3,6 +3,7 @@ import * as _$react from "react";
|
|
|
3
3
|
import * as _$_uds_types0 from "@uds/types";
|
|
4
4
|
|
|
5
5
|
//#region ../components/dist/collapsible.d.ts
|
|
6
|
+
//#region src/collapsible.d.ts
|
|
6
7
|
/**
|
|
7
8
|
* @description A headless collapsible primitive with animated expand/collapse
|
|
8
9
|
*/
|
|
@@ -56,6 +57,6 @@ declare const Collapsible: _$react.FC<_$_uds_types0.CreateComponentProps<Compone
|
|
|
56
57
|
trigger: "button";
|
|
57
58
|
content: "div";
|
|
58
59
|
}>>;
|
|
59
|
-
type CollapsibleProps = React.ComponentProps<typeof Collapsible>;
|
|
60
|
+
type CollapsibleProps = React.ComponentProps<typeof Collapsible>; //#endregion
|
|
60
61
|
//#endregion
|
|
61
62
|
export { Collapsible, CollapsibleProps };
|
|
@@ -20,15 +20,15 @@ const Collapsible = createComponent(({ props, trigger, children, defaultOpen = f
|
|
|
20
20
|
isControlled,
|
|
21
21
|
onOpenChange
|
|
22
22
|
]);
|
|
23
|
-
return jsxs("div", {
|
|
23
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24
24
|
...props.root,
|
|
25
|
-
children: [jsx("button", {
|
|
25
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
26
26
|
...props.trigger,
|
|
27
27
|
type: "button",
|
|
28
28
|
onClick: toggle,
|
|
29
29
|
"aria-expanded": isOpen,
|
|
30
30
|
children: trigger
|
|
31
|
-
}), isOpen && jsx("div", {
|
|
31
|
+
}), isOpen && /* @__PURE__ */ jsx("div", {
|
|
32
32
|
...props.content,
|
|
33
33
|
children
|
|
34
34
|
})]
|
|
@@ -28,6 +28,7 @@ import { itemConfig } from "../item.config.js";
|
|
|
28
28
|
import { modalConfig } from "../modal.config.js";
|
|
29
29
|
import { navHeaderConfig } from "../nav-header.config.js";
|
|
30
30
|
import { presetBarConfig } from "../preset-bar.config.js";
|
|
31
|
+
import { toastConfig } from "../toast.config.js";
|
|
31
32
|
import { progressConfig } from "../progress.config.js";
|
|
32
33
|
import { selectConfig } from "../select.config.js";
|
|
33
34
|
import { sheetConfig } from "../sheet.config.js";
|
|
@@ -39,10 +40,10 @@ import { switchConfig } from "../switch.config.js";
|
|
|
39
40
|
import { tabsConfig } from "../tabs.config.js";
|
|
40
41
|
import { textConfig } from "../text.config.js";
|
|
41
42
|
import { textareaConfig } from "../textarea.config.js";
|
|
42
|
-
import { toastConfig } from "../toast.config.js";
|
|
43
43
|
import { tooltipConfig } from "../tooltip.config.js";
|
|
44
44
|
|
|
45
45
|
//#region ../components/dist/presets/index.d.ts
|
|
46
|
+
//#region src/presets/index.d.ts
|
|
46
47
|
declare const defaultComponentConfigs: readonly [ComponentConfig<{
|
|
47
48
|
Anchor: {
|
|
48
49
|
readonly base: {
|
|
@@ -17669,6 +17670,6 @@ declare const defaultComponentConfigs: readonly [ComponentConfig<{
|
|
|
17669
17670
|
};
|
|
17670
17671
|
};
|
|
17671
17672
|
};
|
|
17672
|
-
}, {}>];
|
|
17673
|
+
}, {}>]; //#endregion
|
|
17673
17674
|
//#endregion
|
|
17674
17675
|
export { defaultComponentConfigs };
|
|
@@ -2,8 +2,8 @@ import { textConfig } from "../text.config.js";
|
|
|
2
2
|
import { accordionConfig } from "../accordion.config.js";
|
|
3
3
|
import { alertConfig } from "../alert.config.js";
|
|
4
4
|
import { anchorConfig } from "../anchor.config.js";
|
|
5
|
-
import { avatarConfig } from "../avatar.config.js";
|
|
6
5
|
import { avatarGroupConfig } from "../avatar-group.config.js";
|
|
6
|
+
import { avatarConfig } from "../avatar.config.js";
|
|
7
7
|
import { badgeConfig } from "../badge.config.js";
|
|
8
8
|
import { breadcrumbConfig } from "../breadcrumb.config.js";
|
|
9
9
|
import { buttonConfig } from "../button.config.js";
|
|
@@ -27,6 +27,7 @@ import { itemConfig } from "../dist/item.config.js";
|
|
|
27
27
|
import { modalConfig } from "../dist/modal.config.js";
|
|
28
28
|
import { navHeaderConfig } from "../dist/nav-header.config.js";
|
|
29
29
|
import { presetBarConfig } from "../dist/preset-bar.config.js";
|
|
30
|
+
import { toastConfig } from "../dist/toast.config.js";
|
|
30
31
|
import { progressConfig } from "../dist/progress.config.js";
|
|
31
32
|
import { selectConfig } from "../dist/select.config.js";
|
|
32
33
|
import { sheetConfig } from "../dist/sheet.config.js";
|
|
@@ -38,7 +39,6 @@ import { switchConfig } from "../dist/switch.config.js";
|
|
|
38
39
|
import { tabsConfig } from "../dist/tabs.config.js";
|
|
39
40
|
import { textConfig } from "../dist/text.config.js";
|
|
40
41
|
import { textareaConfig } from "../dist/textarea.config.js";
|
|
41
|
-
import { toastConfig } from "../dist/toast.config.js";
|
|
42
42
|
import { tooltipConfig } from "../dist/tooltip.config.js";
|
|
43
43
|
import { defaultComponentConfigs } from "../dist/presets/index.js";
|
|
44
44
|
export { accordionConfig, alertConfig, anchorConfig, avatarConfig, avatarGroupConfig, badgeConfig, breadcrumbConfig, buttonConfig, cardConfig, collapsibleConfig, commandConfig, commandDialogConfig, commandEmptyConfig, commandGroupConfig, commandInputConfig, commandItemConfig, commandListConfig, commandSeparatorConfig, commandShortcutConfig, controlColorConfig, controlCurveConfig, controlFolderConfig, controlGroupConfig, controlKnobConfig, controlPanelConfig, controlSelectConfig, controlSliderConfig, controlSpringConfig, controlStepperConfig, controlToggleConfig, defaultComponentConfigs, dropdownConfig, emptyStateConfig, inputConfig, itemConfig, modalConfig, navHeaderConfig, presetBarConfig, progressConfig, selectConfig, sheetConfig, sidebarConfig, skeletonConfig, sliderConfig, spinnerConfig, switchConfig, tabsConfig, textConfig, textareaConfig, toastConfig, tooltipConfig };
|
|
@@ -2,8 +2,8 @@ import { textConfig } from "../dist/text.config.js";
|
|
|
2
2
|
import { accordionConfig } from "../dist/accordion.config.js";
|
|
3
3
|
import { alertConfig } from "../dist/alert.config.js";
|
|
4
4
|
import { anchorConfig } from "../dist/anchor.config.js";
|
|
5
|
-
import { avatarConfig } from "../dist/avatar.config.js";
|
|
6
5
|
import { avatarGroupConfig } from "../dist/avatar-group.config.js";
|
|
6
|
+
import { avatarConfig } from "../dist/avatar.config.js";
|
|
7
7
|
import { badgeConfig } from "../dist/badge.config.js";
|
|
8
8
|
import { breadcrumbConfig } from "../dist/breadcrumb.config.js";
|
|
9
9
|
import { buttonConfig } from "../dist/button.config.js";
|