@yahoo/uds-v5-wip 1.10.2 → 1.11.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.js +3 -3
- package/dist/components/dist/presets/index.js +1 -1
- package/dist/components/presets/index.js +1 -1
- package/dist/loader/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/loader/dist/loader/style-transform.js +4 -4
- package/dist/loader/dist/loader.d.ts +2 -1
- package/dist/loader/dist/next.d.ts +2 -1
- package/dist/presets/dist/boldVibrant.d.ts +1 -2
- package/dist/presets/dist/brutalist.d.ts +1 -2
- package/dist/presets/dist/candy.d.ts +1 -2
- package/dist/presets/dist/cleanMinimalist.d.ts +1 -2
- package/dist/presets/dist/corporate.d.ts +1 -2
- package/dist/presets/dist/darkMoody.d.ts +1 -2
- package/dist/presets/dist/defaultPreset.d.ts +1 -2
- package/dist/presets/dist/defaultPreset.js +1 -1
- package/dist/presets/dist/forest.d.ts +1 -2
- package/dist/presets/dist/highContrast.d.ts +1 -2
- package/dist/presets/dist/lavender.d.ts +1 -2
- package/dist/presets/dist/luxury.d.ts +1 -2
- package/dist/presets/dist/monochrome.d.ts +1 -2
- package/dist/presets/dist/neonCyber.d.ts +1 -2
- package/dist/presets/dist/newspaper.d.ts +1 -2
- package/dist/presets/dist/ocean.d.ts +1 -2
- package/dist/presets/dist/slate.d.ts +1 -2
- package/dist/presets/dist/sunset.d.ts +1 -2
- package/dist/presets/dist/terminal.d.ts +1 -2
- package/dist/presets/dist/warmOrganic.d.ts +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -203
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -25
- package/dist/loader/dist/node_modules/react/cjs/react.development.js +0 -762
- package/dist/loader/dist/node_modules/react/cjs/react.production.js +0 -351
- package/dist/loader/dist/node_modules/react/index.js +0 -10
- package/dist/loader/dist/node_modules/react/jsx-runtime.js +0 -10
- package/dist/loader/dist/packages/core/dist/createComponent.js +0 -6
- package/dist/loader/dist/packages/core/dist/createProvider.js +0 -7
- package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +0 -570
- package/dist/loader/dist/packages/core/dist/getComponentStyles.js +0 -2
- package/dist/loader/dist/packages/core/dist/getStyles.js +0 -58
- package/dist/loader/dist/packages/core/dist/index.js +0 -6
- package/dist/loader/dist/packages/core/dist/macros.js +0 -41
- package/dist/loader/dist/packages/core/dist/propMappings.js +0 -1348
- package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +0 -1
|
@@ -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
|
})]
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
//#region ../loader/dist/_virtual/_rolldown/runtime.js
|
|
3
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
4
3
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
5
4
|
//#endregion
|
|
6
|
-
export {
|
|
5
|
+
export { __require };
|
|
@@ -2,10 +2,10 @@ import { applyComponentStyleDefaults } from "../../../utils/dist/component-style
|
|
|
2
2
|
import { kebabCase } from "../../../utils/dist/string-utils/kebabCase.js";
|
|
3
3
|
import { componentVariantClass } from "../../../utils/dist/string-utils/componentClassName.js";
|
|
4
4
|
import "../../../utils/dist/index.js";
|
|
5
|
-
import { expandMacros } from "
|
|
6
|
-
import { colorPropToOpacityProp, propMappings } from "
|
|
7
|
-
import { toCamelCase } from "
|
|
8
|
-
import "
|
|
5
|
+
import { expandMacros } from "../../../core/dist/macros.js";
|
|
6
|
+
import { colorPropToOpacityProp, propMappings } from "../../../core/dist/propMappings.js";
|
|
7
|
+
import { toCamelCase } from "../../../core/dist/getStyles.js";
|
|
8
|
+
import "../../../core/dist/index.js";
|
|
9
9
|
import { buildDynamicClassExpression, parseHandlerString } from "./dynamic-style-codegen.js";
|
|
10
10
|
import * as t from "@babel/types";
|
|
11
11
|
//#region ../loader/dist/loader/style-transform.js
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { LoaderDefinitionFunction } from "webpack";
|
|
2
2
|
|
|
3
3
|
//#region ../loader/dist/loader.d.ts
|
|
4
|
+
//#region src/loader.d.ts
|
|
4
5
|
declare const transformLoader: LoaderDefinitionFunction;
|
|
5
|
-
declare const normal: LoaderDefinitionFunction<{}, {}>;
|
|
6
|
+
declare const normal: LoaderDefinitionFunction<{}, {}>; //#endregion
|
|
6
7
|
//#endregion
|
|
7
8
|
export { normal, transformLoader };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NextConfig } from "next";
|
|
2
2
|
|
|
3
3
|
//#region ../loader/dist/next.d.ts
|
|
4
|
+
//#region src/next.d.ts
|
|
4
5
|
interface WithUdsOptions {
|
|
5
6
|
/** Output directory for generated files (default: '.uds') */
|
|
6
7
|
outputDir?: string;
|
|
@@ -11,6 +12,6 @@ interface WithUdsOptions {
|
|
|
11
12
|
type NextConfigFn = (phase: string, ctx: {
|
|
12
13
|
defaultConfig: NextConfig;
|
|
13
14
|
}) => NextConfig | Promise<NextConfig>;
|
|
14
|
-
declare function withUds(nextConfigOrFn: NextConfig | NextConfigFn, options?: WithUdsOptions): NextConfig | NextConfigFn;
|
|
15
|
+
declare function withUds(nextConfigOrFn: NextConfig | NextConfigFn, options?: WithUdsOptions): NextConfig | NextConfigFn; //#endregion
|
|
15
16
|
//#endregion
|
|
16
17
|
export { WithUdsOptions, withUds };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { boldVibrantFoundationPreset } from "../../foundational-presets/dist/boldVibrant.js";
|
|
2
2
|
//#region ../presets/dist/boldVibrant.d.ts
|
|
3
|
-
|
|
4
|
-
declare const boldVibrantPreset: typeof boldVibrantFoundationPreset; //#endregion
|
|
3
|
+
declare const boldVibrantPreset: typeof boldVibrantFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { boldVibrantPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { brutalistFoundationPreset } from "../../foundational-presets/dist/brutalist.js";
|
|
2
2
|
//#region ../presets/dist/brutalist.d.ts
|
|
3
|
-
|
|
4
|
-
declare const brutalistPreset: typeof brutalistFoundationPreset; //#endregion
|
|
3
|
+
declare const brutalistPreset: typeof brutalistFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { brutalistPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { candyFoundationPreset } from "../../foundational-presets/dist/candy.js";
|
|
2
2
|
//#region ../presets/dist/candy.d.ts
|
|
3
|
-
|
|
4
|
-
declare const candyPreset: typeof candyFoundationPreset; //#endregion
|
|
3
|
+
declare const candyPreset: typeof candyFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { candyPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { cleanMinimalistFoundationPreset } from "../../foundational-presets/dist/cleanMinimalist.js";
|
|
2
2
|
//#region ../presets/dist/cleanMinimalist.d.ts
|
|
3
|
-
|
|
4
|
-
declare const cleanMinimalistPreset: typeof cleanMinimalistFoundationPreset; //#endregion
|
|
3
|
+
declare const cleanMinimalistPreset: typeof cleanMinimalistFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { cleanMinimalistPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { corporateFoundationPreset } from "../../foundational-presets/dist/corporate.js";
|
|
2
2
|
//#region ../presets/dist/corporate.d.ts
|
|
3
|
-
|
|
4
|
-
declare const corporatePreset: typeof corporateFoundationPreset; //#endregion
|
|
3
|
+
declare const corporatePreset: typeof corporateFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { corporatePreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { darkMoodyFoundationPreset } from "../../foundational-presets/dist/darkMoody.js";
|
|
2
2
|
//#region ../presets/dist/darkMoody.d.ts
|
|
3
|
-
|
|
4
|
-
declare const darkMoodyPreset: typeof darkMoodyFoundationPreset; //#endregion
|
|
3
|
+
declare const darkMoodyPreset: typeof darkMoodyFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { darkMoodyPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defaultFoundationPreset } from "../../foundational-presets/dist/defaultPreset.js";
|
|
2
2
|
//#region ../presets/dist/defaultPreset.d.ts
|
|
3
|
-
|
|
4
|
-
declare const defaultPreset: typeof defaultFoundationPreset; //#endregion
|
|
3
|
+
declare const defaultPreset: typeof defaultFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { defaultPreset };
|
|
@@ -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 { avatarConfig } from "../../components/dist/avatar.config.js";
|
|
8
7
|
import { avatarGroupConfig } from "../../components/dist/avatar-group.config.js";
|
|
8
|
+
import { avatarConfig } from "../../components/dist/avatar.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";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { forestFoundationPreset } from "../../foundational-presets/dist/forest.js";
|
|
2
2
|
//#region ../presets/dist/forest.d.ts
|
|
3
|
-
|
|
4
|
-
declare const forestPreset: typeof forestFoundationPreset; //#endregion
|
|
3
|
+
declare const forestPreset: typeof forestFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { forestPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { highContrastFoundationPreset } from "../../foundational-presets/dist/highContrast.js";
|
|
2
2
|
//#region ../presets/dist/highContrast.d.ts
|
|
3
|
-
|
|
4
|
-
declare const highContrastPreset: typeof highContrastFoundationPreset; //#endregion
|
|
3
|
+
declare const highContrastPreset: typeof highContrastFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { highContrastPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { lavenderFoundationPreset } from "../../foundational-presets/dist/lavender.js";
|
|
2
2
|
//#region ../presets/dist/lavender.d.ts
|
|
3
|
-
|
|
4
|
-
declare const lavenderPreset: typeof lavenderFoundationPreset; //#endregion
|
|
3
|
+
declare const lavenderPreset: typeof lavenderFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { lavenderPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { luxuryFoundationPreset } from "../../foundational-presets/dist/luxury.js";
|
|
2
2
|
//#region ../presets/dist/luxury.d.ts
|
|
3
|
-
|
|
4
|
-
declare const luxuryPreset: typeof luxuryFoundationPreset; //#endregion
|
|
3
|
+
declare const luxuryPreset: typeof luxuryFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { luxuryPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { monochromeFoundationPreset } from "../../foundational-presets/dist/monochrome.js";
|
|
2
2
|
//#region ../presets/dist/monochrome.d.ts
|
|
3
|
-
|
|
4
|
-
declare const monochromePreset: typeof monochromeFoundationPreset; //#endregion
|
|
3
|
+
declare const monochromePreset: typeof monochromeFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { monochromePreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { neonCyberFoundationPreset } from "../../foundational-presets/dist/neonCyber.js";
|
|
2
2
|
//#region ../presets/dist/neonCyber.d.ts
|
|
3
|
-
|
|
4
|
-
declare const neonCyberPreset: typeof neonCyberFoundationPreset; //#endregion
|
|
3
|
+
declare const neonCyberPreset: typeof neonCyberFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { neonCyberPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { newspaperFoundationPreset } from "../../foundational-presets/dist/newspaper.js";
|
|
2
2
|
//#region ../presets/dist/newspaper.d.ts
|
|
3
|
-
|
|
4
|
-
declare const newspaperPreset: typeof newspaperFoundationPreset; //#endregion
|
|
3
|
+
declare const newspaperPreset: typeof newspaperFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { newspaperPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { oceanFoundationPreset } from "../../foundational-presets/dist/ocean.js";
|
|
2
2
|
//#region ../presets/dist/ocean.d.ts
|
|
3
|
-
|
|
4
|
-
declare const oceanPreset: typeof oceanFoundationPreset; //#endregion
|
|
3
|
+
declare const oceanPreset: typeof oceanFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { oceanPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { slateFoundationPreset } from "../../foundational-presets/dist/slate.js";
|
|
2
2
|
//#region ../presets/dist/slate.d.ts
|
|
3
|
-
|
|
4
|
-
declare const slatePreset: typeof slateFoundationPreset; //#endregion
|
|
3
|
+
declare const slatePreset: typeof slateFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { slatePreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { sunsetFoundationPreset } from "../../foundational-presets/dist/sunset.js";
|
|
2
2
|
//#region ../presets/dist/sunset.d.ts
|
|
3
|
-
|
|
4
|
-
declare const sunsetPreset: typeof sunsetFoundationPreset; //#endregion
|
|
3
|
+
declare const sunsetPreset: typeof sunsetFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { sunsetPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { terminalFoundationPreset } from "../../foundational-presets/dist/terminal.js";
|
|
2
2
|
//#region ../presets/dist/terminal.d.ts
|
|
3
|
-
|
|
4
|
-
declare const terminalPreset: typeof terminalFoundationPreset; //#endregion
|
|
3
|
+
declare const terminalPreset: typeof terminalFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { terminalPreset };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { warmOrganicFoundationPreset } from "../../foundational-presets/dist/warmOrganic.js";
|
|
2
2
|
//#region ../presets/dist/warmOrganic.d.ts
|
|
3
|
-
|
|
4
|
-
declare const warmOrganicPreset: typeof warmOrganicFoundationPreset; //#endregion
|
|
3
|
+
declare const warmOrganicPreset: typeof warmOrganicFoundationPreset;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { warmOrganicPreset };
|