@yahoo/uds-v5-wip 1.10.1 → 1.10.2
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 +1 -2
- package/dist/components/dist/collapsible.d.ts +1 -2
- package/dist/components/dist/collapsible.js +3 -3
- package/dist/components/dist/presets/index.d.ts +2 -3
- 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/loader/dist/loader.d.ts +1 -2
- package/dist/loader/dist/next.d.ts +1 -2
- package/dist/presets/dist/defaultPreset.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,5 @@
|
|
|
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
|
|
4
3
|
declare const collapsibleConfig: ComponentConfig<{
|
|
5
4
|
Collapsible: {
|
|
6
5
|
readonly base: {
|
|
@@ -41,6 +40,6 @@ declare const collapsibleConfig: ComponentConfig<{
|
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
}, {}>;
|
|
44
|
-
type CollapsibleConfig = typeof collapsibleConfig;
|
|
43
|
+
type CollapsibleConfig = typeof collapsibleConfig;
|
|
45
44
|
//#endregion
|
|
46
45
|
export { CollapsibleConfig, collapsibleConfig };
|
|
@@ -3,7 +3,6 @@ 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
|
|
7
6
|
/**
|
|
8
7
|
* @description A headless collapsible primitive with animated expand/collapse
|
|
9
8
|
*/
|
|
@@ -57,6 +56,6 @@ declare const Collapsible: _$react.FC<_$_uds_types0.CreateComponentProps<Compone
|
|
|
57
56
|
trigger: "button";
|
|
58
57
|
content: "div";
|
|
59
58
|
}>>;
|
|
60
|
-
type CollapsibleProps = React.ComponentProps<typeof Collapsible>;
|
|
59
|
+
type CollapsibleProps = React.ComponentProps<typeof Collapsible>;
|
|
61
60
|
//#endregion
|
|
62
61
|
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
|
|
23
|
+
return jsxs("div", {
|
|
24
24
|
...props.root,
|
|
25
|
-
children: [
|
|
25
|
+
children: [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 &&
|
|
31
|
+
}), isOpen && jsx("div", {
|
|
32
32
|
...props.content,
|
|
33
33
|
children
|
|
34
34
|
})]
|
|
@@ -28,7 +28,6 @@ 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";
|
|
32
31
|
import { progressConfig } from "../progress.config.js";
|
|
33
32
|
import { selectConfig } from "../select.config.js";
|
|
34
33
|
import { sheetConfig } from "../sheet.config.js";
|
|
@@ -40,10 +39,10 @@ import { switchConfig } from "../switch.config.js";
|
|
|
40
39
|
import { tabsConfig } from "../tabs.config.js";
|
|
41
40
|
import { textConfig } from "../text.config.js";
|
|
42
41
|
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
|
|
47
46
|
declare const defaultComponentConfigs: readonly [ComponentConfig<{
|
|
48
47
|
Anchor: {
|
|
49
48
|
readonly base: {
|
|
@@ -17670,6 +17669,6 @@ declare const defaultComponentConfigs: readonly [ComponentConfig<{
|
|
|
17670
17669
|
};
|
|
17671
17670
|
};
|
|
17672
17671
|
};
|
|
17673
|
-
}, {}>];
|
|
17672
|
+
}, {}>];
|
|
17674
17673
|
//#endregion
|
|
17675
17674
|
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 { avatarGroupConfig } from "../avatar-group.config.js";
|
|
6
5
|
import { avatarConfig } from "../avatar.config.js";
|
|
6
|
+
import { avatarGroupConfig } from "../avatar-group.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,7 +27,6 @@ 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";
|
|
31
30
|
import { progressConfig } from "../dist/progress.config.js";
|
|
32
31
|
import { selectConfig } from "../dist/select.config.js";
|
|
33
32
|
import { sheetConfig } from "../dist/sheet.config.js";
|
|
@@ -39,6 +38,7 @@ import { switchConfig } from "../dist/switch.config.js";
|
|
|
39
38
|
import { tabsConfig } from "../dist/tabs.config.js";
|
|
40
39
|
import { textConfig } from "../dist/text.config.js";
|
|
41
40
|
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 { avatarGroupConfig } from "../dist/avatar-group.config.js";
|
|
6
5
|
import { avatarConfig } from "../dist/avatar.config.js";
|
|
6
|
+
import { avatarGroupConfig } from "../dist/avatar-group.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";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { LoaderDefinitionFunction } from "webpack";
|
|
2
2
|
|
|
3
3
|
//#region ../loader/dist/loader.d.ts
|
|
4
|
-
//#region src/loader.d.ts
|
|
5
4
|
declare const transformLoader: LoaderDefinitionFunction;
|
|
6
|
-
declare const normal: LoaderDefinitionFunction<{}, {}>;
|
|
5
|
+
declare const normal: LoaderDefinitionFunction<{}, {}>;
|
|
7
6
|
//#endregion
|
|
8
7
|
export { normal, transformLoader };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NextConfig } from "next";
|
|
2
2
|
|
|
3
3
|
//#region ../loader/dist/next.d.ts
|
|
4
|
-
//#region src/next.d.ts
|
|
5
4
|
interface WithUdsOptions {
|
|
6
5
|
/** Output directory for generated files (default: '.uds') */
|
|
7
6
|
outputDir?: string;
|
|
@@ -12,6 +11,6 @@ interface WithUdsOptions {
|
|
|
12
11
|
type NextConfigFn = (phase: string, ctx: {
|
|
13
12
|
defaultConfig: NextConfig;
|
|
14
13
|
}) => NextConfig | Promise<NextConfig>;
|
|
15
|
-
declare function withUds(nextConfigOrFn: NextConfig | NextConfigFn, options?: WithUdsOptions): NextConfig | NextConfigFn;
|
|
14
|
+
declare function withUds(nextConfigOrFn: NextConfig | NextConfigFn, options?: WithUdsOptions): NextConfig | NextConfigFn;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { WithUdsOptions, withUds };
|
|
@@ -4,8 +4,8 @@ import { textConfig } from "../../components/dist/text.config.js";
|
|
|
4
4
|
import { accordionConfig } from "../../components/dist/accordion.config.js";
|
|
5
5
|
import { alertConfig } from "../../components/dist/alert.config.js";
|
|
6
6
|
import { anchorConfig } from "../../components/dist/anchor.config.js";
|
|
7
|
-
import { avatarGroupConfig } from "../../components/dist/avatar-group.config.js";
|
|
8
7
|
import { avatarConfig } from "../../components/dist/avatar.config.js";
|
|
8
|
+
import { avatarGroupConfig } from "../../components/dist/avatar-group.config.js";
|
|
9
9
|
import { badgeConfig } from "../../components/dist/badge.config.js";
|
|
10
10
|
import { breadcrumbConfig } from "../../components/dist/breadcrumb.config.js";
|
|
11
11
|
import { buttonConfig } from "../../components/dist/button.config.js";
|