@yahoo/uds-v5-wip 1.36.0 → 1.37.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/config/dist/component-resolution.js +1 -1
- package/dist/config/dist/createConfig.d.ts +11 -75
- package/dist/config/dist/createConfig.js +67 -161
- package/dist/config/dist/defineComponent.d.ts +1 -0
- package/dist/config/dist/defineStyleProp.js +25 -0
- package/dist/config/dist/index.d.ts +1 -2
- package/dist/config/dist/index.js +3 -1
- package/dist/config/dist/preset-merge.js +0 -12
- package/dist/config/dist/propertyAcceptedTypes.js +17 -4
- package/dist/config/dist/propertyGroups.d.ts +1 -11
- package/dist/config/dist/propertyGroups.js +1 -19
- package/dist/config/dist/refs.js +1 -0
- package/dist/config/dist/resolveStyleProp.js +11 -2
- package/dist/config/dist/serialize.d.ts +10 -2
- package/dist/config/dist/serialize.js +3 -3
- package/dist/config.d.ts +1 -1
- package/dist/core/dist/color-opacity-map.d.ts +13 -0
- package/dist/core/dist/color-opacity-map.js +33 -0
- package/dist/core/dist/compositeStyles.d.ts +2 -1
- package/dist/core/dist/configurable-prop-helpers.d.ts +32 -0
- package/dist/core/dist/configurable-prop-helpers.js +61 -0
- 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/getStyles.js +3 -1
- package/dist/core/dist/index.d.ts +4 -1
- package/dist/core/dist/index.js +4 -1
- package/dist/core/dist/modifier-mappings.d.ts +13 -0
- package/dist/core/dist/modifier-mappings.js +61 -0
- package/dist/core/dist/resolveMotionState.d.ts +2 -1
- package/dist/core/dist/style-prop-data.d.ts +33 -0
- package/dist/{loader/dist/packages/core/dist/propMappings.js → core/dist/style-prop-data.js} +2 -93
- package/dist/core/dist/transformPreset.d.ts +2 -1
- package/dist/core/dist/withDefaultStyleProps.d.ts +2 -1
- package/dist/core.d.ts +4 -1
- package/dist/core.js +4 -1
- package/dist/fixtures.d.ts +3 -1
- package/dist/fixtures.js +3 -1
- package/dist/foundational-presets/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/foundational-presets/dist/boldVibrant.d.ts +350 -0
- package/dist/foundational-presets/dist/brutalist.d.ts +350 -0
- package/dist/foundational-presets/dist/candy.d.ts +350 -0
- package/dist/foundational-presets/dist/cleanMinimalist.d.ts +350 -0
- package/dist/foundational-presets/dist/corporate.d.ts +350 -0
- package/dist/foundational-presets/dist/darkMoody.d.ts +350 -0
- package/dist/foundational-presets/dist/defaultPreset.d.ts +1 -1
- package/dist/foundational-presets/dist/defaultPreset.js +2 -312
- package/dist/foundational-presets/dist/forest.d.ts +350 -0
- package/dist/foundational-presets/dist/highContrast.d.ts +350 -0
- package/dist/foundational-presets/dist/lavender.d.ts +350 -0
- package/dist/foundational-presets/dist/luxury.d.ts +350 -0
- package/dist/foundational-presets/dist/monochrome.d.ts +350 -0
- package/dist/foundational-presets/dist/motion.d.ts +2 -1
- package/dist/foundational-presets/dist/neonCyber.d.ts +350 -0
- package/dist/foundational-presets/dist/newspaper.d.ts +350 -0
- package/dist/foundational-presets/dist/ocean.d.ts +350 -0
- package/dist/foundational-presets/dist/slate.d.ts +547 -196
- package/dist/foundational-presets/dist/style-props.js +1384 -0
- package/dist/foundational-presets/dist/sunset.d.ts +547 -196
- package/dist/foundational-presets/dist/terminal.d.ts +547 -196
- package/dist/foundational-presets/dist/warmOrganic.d.ts +547 -196
- package/dist/loader/dist/loader/style-transform.js +2 -1
- package/dist/loader/dist/packages/core/dist/color-opacity-map.js +33 -0
- package/dist/loader/dist/packages/core/dist/getStyles.js +3 -1
- package/dist/loader/dist/packages/core/dist/modifier-mappings.js +61 -0
- package/dist/{core/dist/propMappings.js → loader/dist/packages/core/dist/style-prop-data.js} +2 -150
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/dist/array-utils/closestItem.d.ts +2 -1
- package/dist/utils/dist/array-utils/removeItem.d.ts +2 -1
- package/dist/utils/dist/component-style-defaults.d.ts +2 -1
- package/dist/utils/dist/math-utils/clamp.d.ts +2 -1
- package/dist/utils/dist/motion-utils/interpolate.d.ts +2 -1
- package/dist/utils/dist/object-utils/entries.d.ts +2 -1
- package/dist/utils/dist/object-utils/flattenObj.d.ts +2 -1
- package/dist/utils/dist/object-utils/fromEntries.d.ts +2 -1
- package/dist/utils/dist/object-utils/keys.d.ts +2 -1
- package/dist/utils/dist/object-utils/mapKeys.d.ts +2 -1
- package/dist/utils/dist/object-utils/mapValues.d.ts +2 -1
- package/dist/utils/dist/string-utils/arrayToUnion.d.ts +2 -1
- package/dist/utils/dist/string-utils/capitalize.d.ts +2 -1
- package/dist/utils/dist/string-utils/componentClassName.d.ts +2 -1
- package/dist/utils/dist/string-utils/createTemplate.d.ts +2 -1
- package/dist/utils/dist/string-utils/cssVar.d.ts +2 -1
- package/dist/utils/dist/string-utils/cssVars.d.ts +2 -1
- package/dist/utils/dist/string-utils/dedent.d.ts +2 -1
- package/dist/utils/dist/string-utils/indent.d.ts +2 -1
- package/dist/utils/dist/string-utils/join.d.ts +2 -1
- package/dist/utils/dist/string-utils/kebabCase.d.ts +2 -1
- package/dist/utils/dist/string-utils/split.d.ts +2 -1
- package/dist/utils/dist/string-utils/tsProperties.d.ts +2 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +3 -3
- package/dist/core/dist/propMappings.d.ts +0 -76
|
@@ -69,8 +69,17 @@ function detectTokenValueType(token, group) {
|
|
|
69
69
|
const sniffed = sniffTokenTypeFromValue(token.value);
|
|
70
70
|
resolved = sniffed ? tokenTypeToValueType(sniffed) : void 0;
|
|
71
71
|
}
|
|
72
|
-
if (resolved === "length-percentage")
|
|
73
|
-
|
|
72
|
+
if (resolved === "length-percentage") {
|
|
73
|
+
const trimmed = token.value.trim();
|
|
74
|
+
if (trimmed.endsWith("%")) return "percentage";
|
|
75
|
+
if (/(deg|rad|grad|turn)$/.test(trimmed)) return "angle";
|
|
76
|
+
if (/(ms|s)$/.test(trimmed)) return "time";
|
|
77
|
+
return "length";
|
|
78
|
+
}
|
|
79
|
+
if (resolved === "string") {
|
|
80
|
+
if (looksLikeShadow(token.value)) return "shadow";
|
|
81
|
+
if (/^\d+(?:\.\d+)?\s*\/\s*\d+(?:\.\d+)?$/.test(token.value.trim())) return "ratio";
|
|
82
|
+
}
|
|
74
83
|
return resolved;
|
|
75
84
|
}
|
|
76
85
|
const REF_RE = /^\{([^.{}]+)(?:\.([^.{}]+))?\}$/;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VarsConfig } from "./types.js";
|
|
2
|
+
import { AtomicToken, ExampleDef, ModeGroup, ModifierDef, MotionPresetsDef, UdsConfig } from "./createConfig.js";
|
|
2
3
|
import { CompositeStylesConfig } from "@uds/types";
|
|
3
4
|
|
|
4
5
|
//#region ../config/dist/serialize.d.ts
|
|
@@ -10,6 +11,14 @@ type TokenRef = {
|
|
|
10
11
|
interface SerializedConfig {
|
|
11
12
|
modes: ModeGroup[];
|
|
12
13
|
modifiers?: ModifierDef[];
|
|
14
|
+
/**
|
|
15
|
+
* Verbatim `defineVars` input. Authoritative source for CSS variable
|
|
16
|
+
* declarations downstream. `atomic` carries derived (property × token)
|
|
17
|
+
* data for utility-class generation; `vars` carries the original
|
|
18
|
+
* namespace-keyed input. New code should rely on `vars`; `atomic` is
|
|
19
|
+
* still emitted for legacy consumers.
|
|
20
|
+
*/
|
|
21
|
+
vars?: VarsConfig;
|
|
13
22
|
atomic: AtomicToken<ModifierNameShape>[];
|
|
14
23
|
compositeStyles?: CompositeStylesConfig;
|
|
15
24
|
/**
|
|
@@ -18,7 +27,6 @@ interface SerializedConfig {
|
|
|
18
27
|
* until they're rewritten. New code should populate `compositeStyles`.
|
|
19
28
|
*/
|
|
20
29
|
macros?: Record<string, Record<string, Record<string, unknown>>>;
|
|
21
|
-
arbitraryTokens?: ArbitraryTokenGroup[];
|
|
22
30
|
motion?: MotionPresetsDef;
|
|
23
31
|
components: SerializedComponentsDef;
|
|
24
32
|
globalStyles?: Record<string, Record<string, SerializedValue>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { safeTokenName } from "../../utils/dist/string-utils/cssVar.js";
|
|
2
2
|
import "../../utils/dist/index.js";
|
|
3
|
-
import { getConfigurablePropMapping } from "../../core/dist/
|
|
3
|
+
import { getConfigurablePropMapping } from "../../core/dist/configurable-prop-helpers.js";
|
|
4
4
|
import "../../core/dist/index.js";
|
|
5
5
|
import { buildTokenReference, createConfigBuilder, resolveConfig } from "./createConfig.js";
|
|
6
6
|
//#region ../config/dist/serialize.js
|
|
@@ -107,9 +107,9 @@ function serializeConfig(config) {
|
|
|
107
107
|
return {
|
|
108
108
|
modes: data.modes,
|
|
109
109
|
modifiers: data.modifiers.length > 0 ? data.modifiers : void 0,
|
|
110
|
+
vars: data.vars && Object.keys(data.vars).length > 0 ? data.vars : void 0,
|
|
110
111
|
atomic: data.atomic,
|
|
111
112
|
compositeStyles: Object.keys(data.compositeStyles).length > 0 ? data.compositeStyles : void 0,
|
|
112
|
-
arbitraryTokens: data.arbitraryTokens && data.arbitraryTokens.length > 0 ? data.arbitraryTokens : void 0,
|
|
113
113
|
motion: Object.keys(data.motion).length > 0 ? data.motion : void 0,
|
|
114
114
|
components,
|
|
115
115
|
globalStyles: Object.keys(globalStyles).length > 0 ? globalStyles : void 0,
|
|
@@ -150,13 +150,13 @@ function deserializeConfig(data) {
|
|
|
150
150
|
let config = createConfigBuilder({
|
|
151
151
|
modes: data.modes,
|
|
152
152
|
modifiers: data.modifiers ?? [],
|
|
153
|
+
vars: data.vars,
|
|
153
154
|
atomic: data.atomic,
|
|
154
155
|
compositeStyles: data.compositeStyles ?? upgradeLegacyMacros(data.macros),
|
|
155
156
|
motion: data.motion ?? {},
|
|
156
157
|
components,
|
|
157
158
|
preflight: data.preflight,
|
|
158
159
|
prefix: data.prefix ?? "uds",
|
|
159
|
-
arbitraryTokens: data.arbitraryTokens,
|
|
160
160
|
remotion: void 0,
|
|
161
161
|
globalStyles: {},
|
|
162
162
|
presetTokenNames: data.presetTokenNames
|
package/dist/config.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region ../core/dist/color-opacity-map.d.ts
|
|
2
|
+
//#region src/color-opacity-map.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Maps each color prop name to its corresponding opacity prop name.
|
|
5
|
+
* Used by the runtime (`getStyles`) and loader (`style-transform`) to merge
|
|
6
|
+
* a color value with its opacity before class generation.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
|
|
10
|
+
*/
|
|
11
|
+
declare const colorPropToOpacityProp: Record<string, string>; //#endregion
|
|
12
|
+
//#endregion
|
|
13
|
+
export { colorPropToOpacityProp };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region ../core/dist/color-opacity-map.js
|
|
2
|
+
/**
|
|
3
|
+
* Maps each color prop name to its corresponding opacity prop name.
|
|
4
|
+
* Used by the runtime (`getStyles`) and loader (`style-transform`) to merge
|
|
5
|
+
* a color value with its opacity before class generation.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
|
|
9
|
+
*/
|
|
10
|
+
const colorPropToOpacityProp = {
|
|
11
|
+
bg: "bgOpacity",
|
|
12
|
+
color: "colorOpacity",
|
|
13
|
+
textDecorationColor: "textDecorationColorOpacity",
|
|
14
|
+
borderColor: "borderColorOpacity",
|
|
15
|
+
borderYColor: "borderYColorOpacity",
|
|
16
|
+
borderXColor: "borderXColorOpacity",
|
|
17
|
+
borderStartColor: "borderStartColorOpacity",
|
|
18
|
+
borderLeftColor: "borderLeftColorOpacity",
|
|
19
|
+
borderEndColor: "borderEndColorOpacity",
|
|
20
|
+
borderRightColor: "borderRightColorOpacity",
|
|
21
|
+
borderTopColor: "borderTopColorOpacity",
|
|
22
|
+
borderBottomColor: "borderBottomColorOpacity",
|
|
23
|
+
divideColor: "divideColorOpacity",
|
|
24
|
+
outlineColor: "outlineColorOpacity",
|
|
25
|
+
ringColor: "ringColorOpacity",
|
|
26
|
+
ringOffsetColor: "ringOffsetColorOpacity",
|
|
27
|
+
fillColor: "fillColorOpacity",
|
|
28
|
+
strokeColor: "strokeColorOpacity",
|
|
29
|
+
shadowColor: "shadowColorOpacity",
|
|
30
|
+
caretColor: "caretColorOpacity"
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { colorPropToOpacityProp };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CompositeStylesConfig } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/compositeStyles.d.ts
|
|
4
|
+
//#region src/compositeStyles.d.ts
|
|
4
5
|
/** Set the composite-styles config (called by loader at build time) */
|
|
5
6
|
declare function setCompositeStylesConfig(config: CompositeStylesConfig): void;
|
|
6
7
|
/** Get the current composite-styles config */
|
|
@@ -16,6 +17,6 @@ declare function getCompositeStylesConfig(): CompositeStylesConfig;
|
|
|
16
17
|
declare function expandCompositeStyles(props: Record<string, unknown>, config?: CompositeStylesConfig): {
|
|
17
18
|
expanded: Record<string, unknown>;
|
|
18
19
|
markerClasses: string[];
|
|
19
|
-
};
|
|
20
|
+
}; //#endregion
|
|
20
21
|
//#endregion
|
|
21
22
|
export { expandCompositeStyles, getCompositeStylesConfig, setCompositeStylesConfig };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PropMapping } from "./style-prop-data.js";
|
|
2
|
+
import { ConfigurableProp } from "@uds/types";
|
|
3
|
+
|
|
4
|
+
//#region ../core/dist/configurable-prop-helpers.d.ts
|
|
5
|
+
//#region src/configurable-prop-helpers.d.ts
|
|
6
|
+
/** Look up a {@link PropMapping} by ConfigurableProp name. */
|
|
7
|
+
declare function getConfigurablePropMapping(prop: ConfigurableProp): PropMapping | undefined;
|
|
8
|
+
interface ConfigurablePropertyEntry {
|
|
9
|
+
property: string;
|
|
10
|
+
subProperties: string[];
|
|
11
|
+
augmentType: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Derives the configurable properties table from {@link propMappings}.
|
|
15
|
+
* Groups props by augmentType — the primary prop is the one matching
|
|
16
|
+
* a ConfigurableProp name, the rest are sub-properties.
|
|
17
|
+
*/
|
|
18
|
+
declare function getConfigurableProperties(): ConfigurablePropertyEntry[];
|
|
19
|
+
interface CssVariablePrefixEntry {
|
|
20
|
+
property: string;
|
|
21
|
+
cssPrefix: string;
|
|
22
|
+
exampleVariable: string;
|
|
23
|
+
exampleUtility: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Derives the CSS variable prefix table from {@link propMappings}.
|
|
27
|
+
* Only includes props that have both `cssProperty` and `defaultVarPrefix`.
|
|
28
|
+
* Deduplicates by `defaultVarPrefix` so each namespace appears once.
|
|
29
|
+
*/
|
|
30
|
+
declare function getCssVariablePrefixes(): CssVariablePrefixEntry[]; //#endregion
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ConfigurablePropertyEntry, CssVariablePrefixEntry, getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { propMappings } from "./style-prop-data.js";
|
|
2
|
+
//#region ../core/dist/configurable-prop-helpers.js
|
|
3
|
+
/** Maps ConfigurableProp names to propMappings keys when they differ. */
|
|
4
|
+
const configurablePropAliases = {};
|
|
5
|
+
/** Look up a {@link PropMapping} by ConfigurableProp name. */
|
|
6
|
+
function getConfigurablePropMapping(prop) {
|
|
7
|
+
return propMappings[configurablePropAliases[prop] ?? prop];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Derives the configurable properties table from {@link propMappings}.
|
|
11
|
+
* Groups props by augmentType — the primary prop is the one matching
|
|
12
|
+
* a ConfigurableProp name, the rest are sub-properties.
|
|
13
|
+
*/
|
|
14
|
+
function getConfigurableProperties() {
|
|
15
|
+
const byAugment = {};
|
|
16
|
+
for (const [prop, mapping] of Object.entries(propMappings)) {
|
|
17
|
+
if (!mapping.augmentType) continue;
|
|
18
|
+
const aug = mapping.augmentType;
|
|
19
|
+
if (!byAugment[aug]) byAugment[aug] = [];
|
|
20
|
+
byAugment[aug].push(prop);
|
|
21
|
+
}
|
|
22
|
+
const entries = [];
|
|
23
|
+
for (const [augmentType, props] of Object.entries(byAugment)) {
|
|
24
|
+
const sorted = [...props].sort((a, b) => a.length - b.length);
|
|
25
|
+
const primary = sorted[0];
|
|
26
|
+
const subs = sorted.slice(1);
|
|
27
|
+
entries.push({
|
|
28
|
+
property: primary,
|
|
29
|
+
subProperties: subs,
|
|
30
|
+
augmentType
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return entries;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Derives the CSS variable prefix table from {@link propMappings}.
|
|
37
|
+
* Only includes props that have both `cssProperty` and `defaultVarPrefix`.
|
|
38
|
+
* Deduplicates by `defaultVarPrefix` so each namespace appears once.
|
|
39
|
+
*/
|
|
40
|
+
function getCssVariablePrefixes() {
|
|
41
|
+
const seen = /* @__PURE__ */ new Set();
|
|
42
|
+
const entries = [];
|
|
43
|
+
for (const [prop, mapping] of Object.entries(propMappings)) {
|
|
44
|
+
if (!mapping.defaultVarPrefix || !mapping.cssProperty) continue;
|
|
45
|
+
if (seen.has(mapping.defaultVarPrefix)) continue;
|
|
46
|
+
seen.add(mapping.defaultVarPrefix);
|
|
47
|
+
const prefix = `--uds-${mapping.defaultVarPrefix}-*`;
|
|
48
|
+
const exampleToken = mapping.defaultVarPrefix.includes("color") ? "brand" : mapping.defaultVarPrefix === "spacing" ? "4" : mapping.defaultVarPrefix === "radius" ? "lg" : mapping.defaultVarPrefix === "border-width" ? "2" : "value";
|
|
49
|
+
const exampleVar = `--uds-${mapping.defaultVarPrefix}-${exampleToken}`;
|
|
50
|
+
const exampleUtility = `${mapping.classPrefix}-${exampleToken}`;
|
|
51
|
+
entries.push({
|
|
52
|
+
property: prop,
|
|
53
|
+
cssPrefix: prefix,
|
|
54
|
+
exampleVariable: exampleVar,
|
|
55
|
+
exampleUtility
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
return entries;
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
export { getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreateComponentConfig, CreateComponentProps, CreateComponentRenderFn, CreateComponentSlotTagConfig, CreateComponentTypeInput } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/createComponent.d.ts
|
|
4
|
+
//#region src/createComponent.d.ts
|
|
4
5
|
type PrimitiveTag = keyof React.JSX.IntrinsicElements;
|
|
5
6
|
type SpecConfig<TSpec> = TSpec extends {
|
|
6
7
|
config: infer TConfig extends CreateComponentTypeInput;
|
|
@@ -51,6 +52,6 @@ declare function createComponent<TSpecOrProps = {}>(tag: PrimitiveTag): React.FC
|
|
|
51
52
|
props: infer TOwnProps;
|
|
52
53
|
} ? CreateComponentProps<TConfig, TOwnProps, PrimitiveTag> : PrimitiveOwnProps<TSpecOrProps>>;
|
|
53
54
|
declare function createComponent<TSpec>(renderFn: CreateComponentRenderFn<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>): React.FC<CreateComponentProps<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>>;
|
|
54
|
-
declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>;
|
|
55
|
+
declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>; //#endregion
|
|
55
56
|
//#endregion
|
|
56
57
|
export { createComponent };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ComponentType } from "react";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/createComponentExample.d.ts
|
|
4
|
+
//#region src/createComponentExample.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Extracts variant fixtures from a Component's props type.
|
|
6
7
|
* If Button has `variant?: 'brand' | 'outline'` and `size?: 'sm' | 'md'`,
|
|
@@ -36,6 +37,6 @@ type ExamplesResult<TComponent extends ComponentType<any>> = {
|
|
|
36
37
|
* }));
|
|
37
38
|
* ```
|
|
38
39
|
*/
|
|
39
|
-
declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>;
|
|
40
|
+
declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>; //#endregion
|
|
40
41
|
//#endregion
|
|
41
42
|
export { ComponentExample, createComponentExample };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../core/dist/createProvider.d.ts
|
|
2
|
+
//#region src/createProvider.d.ts
|
|
2
3
|
type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
3
4
|
children: React.ReactNode;
|
|
4
5
|
} & TProps) => {
|
|
@@ -7,6 +8,6 @@ type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
|
7
8
|
};
|
|
8
9
|
declare function createProvider<TContext, TProps = Record<never, never>>(name: string, renderFn: ProviderRenderFn<TContext, TProps>): [React.FC<{
|
|
9
10
|
children: React.ReactNode;
|
|
10
|
-
} & TProps>, () => TContext];
|
|
11
|
+
} & TProps>, () => TContext]; //#endregion
|
|
11
12
|
//#endregion
|
|
12
13
|
export { createProvider };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../core/dist/generated/stylePropsTwMap.d.ts
|
|
2
|
+
//#region src/generated/stylePropsTwMap.d.ts
|
|
2
3
|
declare const stylePropsTwMap: {
|
|
3
4
|
readonly "border-boolean": {
|
|
4
5
|
readonly border: "boolean";
|
|
@@ -1695,6 +1696,6 @@ declare const stylePropsTwMap: {
|
|
|
1695
1696
|
readonly "hyphens-manual": {
|
|
1696
1697
|
readonly hyphens: "manual";
|
|
1697
1698
|
};
|
|
1698
|
-
};
|
|
1699
|
+
}; //#endregion
|
|
1699
1700
|
//#endregion
|
|
1700
1701
|
export { stylePropsTwMap };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentRegistry, ComponentSlotsOf, ComponentVariantsOf } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/getComponentStyles.d.ts
|
|
4
|
+
//#region src/getComponentStyles.d.ts
|
|
4
5
|
type ResolveSlots<Name extends string> = Name extends keyof ComponentRegistry ? ComponentSlotsOf<Name> : string;
|
|
5
6
|
type ResolveVariants<Name extends string> = Name extends keyof ComponentRegistry ? ComponentVariantsOf<Name> : Record<string, string>;
|
|
6
7
|
interface UdsRuntimeMeta {
|
|
@@ -44,6 +45,6 @@ interface ComponentStyler<Name extends string> {
|
|
|
44
45
|
* @param slots - Array of slot names
|
|
45
46
|
* @param element - Optional HTML element tag for element-specific prop forwarding
|
|
46
47
|
*/
|
|
47
|
-
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
|
|
48
|
+
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>; //#endregion
|
|
48
49
|
//#endregion
|
|
49
50
|
export { createComponentStyler };
|
|
@@ -2,6 +2,7 @@ import { ClassValue } from "clsx";
|
|
|
2
2
|
import { ModifierProp, ModifierProps, StyleAndModifierProps, StyleProps } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../core/dist/getStyles.d.ts
|
|
5
|
+
//#region src/getStyles.d.ts
|
|
5
6
|
/** Convert kebab-case CSS property to camelCase for React inline styles.
|
|
6
7
|
* CSS custom properties (--*) are kept as-is since React supports them verbatim. */
|
|
7
8
|
declare function toCamelCase(str: string): string;
|
|
@@ -37,6 +38,6 @@ interface GetStylesParams extends StyleProps, ModifierProps {
|
|
|
37
38
|
* so they can be included in the CSS safelist.
|
|
38
39
|
*/
|
|
39
40
|
declare function getStyles(props: GetStylesParams): string;
|
|
40
|
-
declare function getVariantClassName(componentName: string, variant: string | undefined): string;
|
|
41
|
+
declare function getVariantClassName(componentName: string, variant: string | undefined): string; //#endregion
|
|
41
42
|
//#endregion
|
|
42
43
|
export { createVariants, cx, getStyles, getVariantClassName, processStyleProps, toCamelCase };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { colorPropToOpacityProp } from "./color-opacity-map.js";
|
|
1
2
|
import { componentSlotClass } from "../../utils/dist/string-utils/componentClassName.js";
|
|
2
3
|
import "../../utils/dist/index.js";
|
|
3
4
|
import { expandCompositeStyles, getCompositeStylesConfig } from "./compositeStyles.js";
|
|
5
|
+
import { propMappings } from "./style-prop-data.js";
|
|
4
6
|
import { stylePropsTwMap } from "./generated/stylePropsTwMap.js";
|
|
5
|
-
import {
|
|
7
|
+
import { modifierMappings } from "./modifier-mappings.js";
|
|
6
8
|
import { clsx } from "clsx";
|
|
7
9
|
//#region ../core/dist/getStyles.js
|
|
8
10
|
/** Convert kebab-case CSS property to camelCase for React inline styles.
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { colorPropToOpacityProp } from "./color-opacity-map.js";
|
|
1
2
|
import { expandCompositeStyles, getCompositeStylesConfig, setCompositeStylesConfig } from "./compositeStyles.js";
|
|
3
|
+
import { PropMapping, propMappings } from "./style-prop-data.js";
|
|
4
|
+
import { ConfigurablePropertyEntry, CssVariablePrefixEntry, getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes } from "./configurable-prop-helpers.js";
|
|
2
5
|
import { createComponent } from "./createComponent.js";
|
|
3
6
|
import { ComponentExample, createComponentExample } from "./createComponentExample.js";
|
|
4
7
|
import { createProvider } from "./createProvider.js";
|
|
5
8
|
import { stylePropsTwMap } from "./generated/stylePropsTwMap.js";
|
|
6
9
|
import { createComponentStyler } from "./getComponentStyles.js";
|
|
7
10
|
import { createVariants, cx, getStyles, getVariantClassName, processStyleProps, toCamelCase } from "./getStyles.js";
|
|
8
|
-
import {
|
|
11
|
+
import { ModifierEntry, modifierMappings } from "./modifier-mappings.js";
|
|
9
12
|
import { resolveMotionState } from "./resolveMotionState.js";
|
|
10
13
|
import { TransformedMotionProps, transformPreset } from "./transformPreset.js";
|
|
11
14
|
import { withDefaultStyleProps } from "./withDefaultStyleProps.js";
|
package/dist/core/dist/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import "./color-opacity-map.js";
|
|
1
2
|
import "./compositeStyles.js";
|
|
3
|
+
import "./style-prop-data.js";
|
|
4
|
+
import "./configurable-prop-helpers.js";
|
|
2
5
|
import "./generated/stylePropsTwMap.js";
|
|
3
|
-
import "./
|
|
6
|
+
import "./modifier-mappings.js";
|
|
4
7
|
import "./getStyles.js";
|
|
5
8
|
import "./getComponentStyles.js";
|
|
6
9
|
import "./createComponent.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ModifierProp } from "@uds/types";
|
|
2
|
+
|
|
3
|
+
//#region ../core/dist/modifier-mappings.d.ts
|
|
4
|
+
//#region src/modifier-mappings.d.ts
|
|
5
|
+
declare const modifierMappings: Record<ModifierProp, string>;
|
|
6
|
+
interface ModifierEntry {
|
|
7
|
+
prop: string;
|
|
8
|
+
cssSelector: string;
|
|
9
|
+
category: string;
|
|
10
|
+
description: string;
|
|
11
|
+
} //#endregion
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ModifierEntry, modifierMappings };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//#region ../core/dist/modifier-mappings.js
|
|
2
|
+
const modifierMappings = {
|
|
3
|
+
_after: "after:",
|
|
4
|
+
_hover: "hover:",
|
|
5
|
+
_focus: "focus:",
|
|
6
|
+
_focusWithin: "focus-within:",
|
|
7
|
+
_focusVisible: "focus-visible:",
|
|
8
|
+
_active: "active:",
|
|
9
|
+
_visited: "visited:",
|
|
10
|
+
_target: "target:",
|
|
11
|
+
_first: "first:",
|
|
12
|
+
_last: "last:",
|
|
13
|
+
_only: "only:",
|
|
14
|
+
_odd: "odd:",
|
|
15
|
+
_even: "even:",
|
|
16
|
+
_firstOfType: "first-of-type:",
|
|
17
|
+
_lastOfType: "last-of-type:",
|
|
18
|
+
_onlyOfType: "only-of-type:",
|
|
19
|
+
_empty: "empty:",
|
|
20
|
+
_disabled: "disabled:",
|
|
21
|
+
_enabled: "enabled:",
|
|
22
|
+
_checked: "checked:",
|
|
23
|
+
_indeterminate: "indeterminate:",
|
|
24
|
+
_default: "default:",
|
|
25
|
+
_required: "required:",
|
|
26
|
+
_valid: "valid:",
|
|
27
|
+
_invalid: "invalid:",
|
|
28
|
+
_inRange: "in-range:",
|
|
29
|
+
_outOfRange: "out-of-range:",
|
|
30
|
+
_placeholderShown: "placeholder-shown:",
|
|
31
|
+
_autofill: "autofill:",
|
|
32
|
+
_readonly: "read-only:",
|
|
33
|
+
_file: "file:",
|
|
34
|
+
_selection: "selection:",
|
|
35
|
+
_backdrop: "backdrop:",
|
|
36
|
+
_motionReduce: "motion-reduce:",
|
|
37
|
+
_motionSafe: "motion-safe:",
|
|
38
|
+
_contrastMore: "contrast-more:",
|
|
39
|
+
_contrastLess: "contrast-less:",
|
|
40
|
+
_forcedColors: "forced-colors:",
|
|
41
|
+
_placeholder: "placeholder:",
|
|
42
|
+
_ariaBusy: "aria-busy:",
|
|
43
|
+
_ariaChecked: "aria-checked:",
|
|
44
|
+
_ariaHidden: "aria-hidden:",
|
|
45
|
+
_ariaPressed: "aria-pressed:",
|
|
46
|
+
_ariaReadonly: "aria-readonly:",
|
|
47
|
+
_ariaRequired: "aria-required:",
|
|
48
|
+
_ariaSelected: "aria-selected:",
|
|
49
|
+
_ariaCurrent: "aria-[current]:",
|
|
50
|
+
_ariaDisabled: "aria-disabled:",
|
|
51
|
+
_ariaExpanded: "aria-expanded:",
|
|
52
|
+
_dataDisabled: "data-[disabled=true]:",
|
|
53
|
+
_dataStateOpen: "data-[state=open]:",
|
|
54
|
+
_dataStateClosed: "data-[state=closed]:",
|
|
55
|
+
_startingStyle: "starting-style:",
|
|
56
|
+
_scrollbar: "*::-webkit-scrollbar:",
|
|
57
|
+
_scrollbarThumb: "*::-webkit-scrollbar-thumb:",
|
|
58
|
+
_scrollbarTrack: "*::-webkit-scrollbar-track:"
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { modifierMappings };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//#region ../core/dist/resolveMotionState.d.ts
|
|
2
|
-
|
|
2
|
+
//#region src/resolveMotionState.d.ts
|
|
3
|
+
declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>; //#endregion
|
|
3
4
|
//#endregion
|
|
4
5
|
export { resolveMotionState };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { StyleProp } from "@uds/types";
|
|
2
|
+
|
|
3
|
+
//#region ../core/dist/style-prop-data.d.ts
|
|
4
|
+
//#region src/style-prop-data.d.ts
|
|
5
|
+
interface PropMapping {
|
|
6
|
+
/** Class name prefix for runtime class generation. 'no-prefix' means value IS the class. */
|
|
7
|
+
classPrefix: string;
|
|
8
|
+
/** CSS property name (for @utility directive generation). Only needed for token-based props. */
|
|
9
|
+
cssProperty?: string;
|
|
10
|
+
/** CSS variable namespace for tokens. Only needed for token-based (configurable) props. */
|
|
11
|
+
defaultVarPrefix?: string;
|
|
12
|
+
/** Module augmentation interface name. Only needed for configurable props. */
|
|
13
|
+
augmentType?: string;
|
|
14
|
+
/** Known literal values for functional @utility generation. Used for props with cssProperty but no defaultVarPrefix. */
|
|
15
|
+
literalValues?: string[];
|
|
16
|
+
/** Alternate CSS property for component configs (directValues mode).
|
|
17
|
+
* Use when the utility cssProperty differs from the CSS shorthand needed for direct values.
|
|
18
|
+
* e.g. transition utility maps to 'transition-property', but direct values need 'transition'. */
|
|
19
|
+
directCssProperty?: string;
|
|
20
|
+
/** Template for generating inline style values from arbitrary bracket values.
|
|
21
|
+
* When present, arbitrary values like `[3.5px]` produce inline styles instead of Tailwind classes.
|
|
22
|
+
* `cssProperty` is the CSS property name (kebab-case), `valueTemplate` uses `%s` as value placeholder.
|
|
23
|
+
* e.g. { cssProperty: 'transform', valueTemplate: 'translateX(%s)' } */
|
|
24
|
+
arbitraryValueTemplate?: {
|
|
25
|
+
cssProperty: string;
|
|
26
|
+
valueTemplate: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/** Exclude className — it's passed through, not mapped to a utility class */
|
|
30
|
+
type MappedStyleProp = Exclude<StyleProp, 'className'>;
|
|
31
|
+
declare const propMappings: Record<MappedStyleProp, PropMapping>; //#endregion
|
|
32
|
+
//#endregion
|
|
33
|
+
export { PropMapping, propMappings };
|
package/dist/{loader/dist/packages/core/dist/propMappings.js → core/dist/style-prop-data.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../
|
|
1
|
+
//#region ../core/dist/style-prop-data.js
|
|
2
2
|
const propMappings = {
|
|
3
3
|
animation: {
|
|
4
4
|
classPrefix: "animation",
|
|
@@ -1253,96 +1253,5 @@ const propMappings = {
|
|
|
1253
1253
|
augmentType: "CustomTextShadow"
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
|
-
/**
|
|
1257
|
-
* Built-in modifier mappings (pseudo-classes, pseudo-elements, etc.).
|
|
1258
|
-
* Custom modifiers from defineModes() are handled dynamically in the runtime.
|
|
1259
|
-
*/
|
|
1260
|
-
const modifierMappings = {
|
|
1261
|
-
_after: "after:",
|
|
1262
|
-
_hover: "hover:",
|
|
1263
|
-
_focus: "focus:",
|
|
1264
|
-
_focusWithin: "focus-within:",
|
|
1265
|
-
_focusVisible: "focus-visible:",
|
|
1266
|
-
_active: "active:",
|
|
1267
|
-
_visited: "visited:",
|
|
1268
|
-
_target: "target:",
|
|
1269
|
-
_first: "first:",
|
|
1270
|
-
_last: "last:",
|
|
1271
|
-
_only: "only:",
|
|
1272
|
-
_odd: "odd:",
|
|
1273
|
-
_even: "even:",
|
|
1274
|
-
_firstOfType: "first-of-type:",
|
|
1275
|
-
_lastOfType: "last-of-type:",
|
|
1276
|
-
_onlyOfType: "only-of-type:",
|
|
1277
|
-
_empty: "empty:",
|
|
1278
|
-
_disabled: "disabled:",
|
|
1279
|
-
_enabled: "enabled:",
|
|
1280
|
-
_checked: "checked:",
|
|
1281
|
-
_indeterminate: "indeterminate:",
|
|
1282
|
-
_default: "default:",
|
|
1283
|
-
_required: "required:",
|
|
1284
|
-
_valid: "valid:",
|
|
1285
|
-
_invalid: "invalid:",
|
|
1286
|
-
_inRange: "in-range:",
|
|
1287
|
-
_outOfRange: "out-of-range:",
|
|
1288
|
-
_placeholderShown: "placeholder-shown:",
|
|
1289
|
-
_autofill: "autofill:",
|
|
1290
|
-
_readonly: "read-only:",
|
|
1291
|
-
_file: "file:",
|
|
1292
|
-
_selection: "selection:",
|
|
1293
|
-
_backdrop: "backdrop:",
|
|
1294
|
-
_motionReduce: "motion-reduce:",
|
|
1295
|
-
_motionSafe: "motion-safe:",
|
|
1296
|
-
_contrastMore: "contrast-more:",
|
|
1297
|
-
_contrastLess: "contrast-less:",
|
|
1298
|
-
_forcedColors: "forced-colors:",
|
|
1299
|
-
_placeholder: "placeholder:",
|
|
1300
|
-
_ariaBusy: "aria-busy:",
|
|
1301
|
-
_ariaChecked: "aria-checked:",
|
|
1302
|
-
_ariaHidden: "aria-hidden:",
|
|
1303
|
-
_ariaPressed: "aria-pressed:",
|
|
1304
|
-
_ariaReadonly: "aria-readonly:",
|
|
1305
|
-
_ariaRequired: "aria-required:",
|
|
1306
|
-
_ariaSelected: "aria-selected:",
|
|
1307
|
-
_ariaCurrent: "aria-[current]:",
|
|
1308
|
-
_ariaDisabled: "aria-disabled:",
|
|
1309
|
-
_ariaExpanded: "aria-expanded:",
|
|
1310
|
-
_dataDisabled: "data-[disabled=true]:",
|
|
1311
|
-
_dataStateOpen: "data-[state=open]:",
|
|
1312
|
-
_dataStateClosed: "data-[state=closed]:",
|
|
1313
|
-
_startingStyle: "starting-style:",
|
|
1314
|
-
_scrollbar: "*::-webkit-scrollbar:",
|
|
1315
|
-
_scrollbarThumb: "*::-webkit-scrollbar-thumb:",
|
|
1316
|
-
_scrollbarTrack: "*::-webkit-scrollbar-track:"
|
|
1317
|
-
};
|
|
1318
|
-
/**
|
|
1319
|
-
* Maps each color prop name to its corresponding opacity prop name.
|
|
1320
|
-
* Used by runtime (getStyles) and loader (style-transform) to merge
|
|
1321
|
-
* a color value with its opacity before class generation.
|
|
1322
|
-
*
|
|
1323
|
-
* e.g. `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
|
|
1324
|
-
*/
|
|
1325
|
-
const colorPropToOpacityProp = {
|
|
1326
|
-
bg: "bgOpacity",
|
|
1327
|
-
color: "colorOpacity",
|
|
1328
|
-
textDecorationColor: "textDecorationColorOpacity",
|
|
1329
|
-
borderColor: "borderColorOpacity",
|
|
1330
|
-
borderYColor: "borderYColorOpacity",
|
|
1331
|
-
borderXColor: "borderXColorOpacity",
|
|
1332
|
-
borderStartColor: "borderStartColorOpacity",
|
|
1333
|
-
borderLeftColor: "borderLeftColorOpacity",
|
|
1334
|
-
borderEndColor: "borderEndColorOpacity",
|
|
1335
|
-
borderRightColor: "borderRightColorOpacity",
|
|
1336
|
-
borderTopColor: "borderTopColorOpacity",
|
|
1337
|
-
borderBottomColor: "borderBottomColorOpacity",
|
|
1338
|
-
divideColor: "divideColorOpacity",
|
|
1339
|
-
outlineColor: "outlineColorOpacity",
|
|
1340
|
-
ringColor: "ringColorOpacity",
|
|
1341
|
-
ringOffsetColor: "ringOffsetColorOpacity",
|
|
1342
|
-
fillColor: "fillColorOpacity",
|
|
1343
|
-
strokeColor: "strokeColorOpacity",
|
|
1344
|
-
shadowColor: "shadowColorOpacity",
|
|
1345
|
-
caretColor: "caretColorOpacity"
|
|
1346
|
-
};
|
|
1347
1256
|
//#endregion
|
|
1348
|
-
export {
|
|
1257
|
+
export { propMappings };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MotionPreset } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/transformPreset.d.ts
|
|
4
|
+
//#region src/transformPreset.d.ts
|
|
4
5
|
interface TransformedMotionProps {
|
|
5
6
|
initial?: Record<string, unknown>;
|
|
6
7
|
animate?: Record<string, unknown>;
|
|
@@ -12,6 +13,6 @@ interface TransformedMotionProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* Convert a JS-runtime MotionPreset to a motion/react-compatible props object.
|
|
14
15
|
*/
|
|
15
|
-
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
16
|
+
declare function transformPreset(preset: MotionPreset): TransformedMotionProps; //#endregion
|
|
16
17
|
//#endregion
|
|
17
18
|
export { TransformedMotionProps, transformPreset };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BorderRadius, GridSpan, GridStartEnd, GridTemplate, StyleAndModifierProps } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/withDefaultStyleProps.d.ts
|
|
4
|
+
//#region src/withDefaultStyleProps.d.ts
|
|
4
5
|
interface StackDefaultsInput extends StyleAndModifierProps {
|
|
5
6
|
gap?: StyleAndModifierProps['gap'];
|
|
6
7
|
}
|
|
@@ -38,6 +39,6 @@ declare const withDefaultStyleProps: {
|
|
|
38
39
|
shape?: BorderRadius;
|
|
39
40
|
}) => StyleAndModifierProps;
|
|
40
41
|
Svg: (props: SvgDefaultsInput) => StyleAndModifierProps;
|
|
41
|
-
};
|
|
42
|
+
}; //#endregion
|
|
42
43
|
//#endregion
|
|
43
44
|
export { withDefaultStyleProps };
|