@likec4/styles 1.48.0 → 1.50.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.
@@ -22,140 +22,9 @@ export type Assign<T, U> = {
22
22
  * Native css properties
23
23
  * -----------------------------------------------------------------------------*/
24
24
 
25
- type DashedIdent = `--${string}`
26
-
27
- type StringToMultiple<T extends string> = T | `${T}, ${T}`
28
-
29
- export type PositionAreaAxis =
30
- | 'left'
31
- | 'center'
32
- | 'right'
33
- | 'x-start'
34
- | 'x-end'
35
- | 'span-x-start'
36
- | 'span-x-end'
37
- | 'x-self-start'
38
- | 'x-self-end'
39
- | 'span-x-self-start'
40
- | 'span-x-self-end'
41
- | 'span-all'
42
- | 'top'
43
- | 'bottom'
44
- | 'span-top'
45
- | 'span-bottom'
46
- | 'y-start'
47
- | 'y-end'
48
- | 'span-y-start'
49
- | 'span-y-end'
50
- | 'y-self-start'
51
- | 'y-self-end'
52
- | 'span-y-self-start'
53
- | 'span-y-self-end'
54
- | 'block-start'
55
- | 'block-end'
56
- | 'span-block-start'
57
- | 'span-block-end'
58
- | 'inline-start'
59
- | 'inline-end'
60
- | 'span-inline-start'
61
- | 'span-inline-end'
62
- | 'self-block-start'
63
- | 'self-block-end'
64
- | 'span-self-block-start'
65
- | 'span-self-block-end'
66
- | 'self-inline-start'
67
- | 'self-inline-end'
68
- | 'span-self-inline-start'
69
- | 'span-self-inline-end'
70
- | 'start'
71
- | 'end'
72
- | 'span-start'
73
- | 'span-end'
74
- | 'self-start'
75
- | 'self-end'
76
- | 'span-self-start'
77
- | 'span-self-end'
78
-
79
- type PositionTry =
80
- | 'normal'
81
- | 'flip-block'
82
- | 'flip-inline'
83
- | 'top'
84
- | 'bottom'
85
- | 'left'
86
- | 'right'
87
- | 'block-start'
88
- | 'block-end'
89
- | 'inline-start'
90
- | 'inline-end'
91
- | DashedIdent
25
+ type CornerShapeValue = 'round' | 'square' | 'bevel' | 'scoop' | 'notch' | 'squircle' | `superellipse(${number})`
92
26
 
93
27
  export interface ModernCssProperties {
94
- /**
95
- * Defines a name for the anchor element that can be referenced by positioned elements.
96
- */
97
- anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>
98
-
99
- /**
100
- * Defines the scope of anchor names within the element.
101
- */
102
- anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>
103
-
104
- /**
105
- * Controls how form elements size themselves.
106
- */
107
- fieldSizing?: Globals | 'fixed' | 'content'
108
-
109
- /**
110
- * Controls whether interpolation of size values should allow keywords.
111
- */
112
- interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'
113
-
114
- /**
115
- * Specifies the anchor element that this positioned element should be positioned relative to.
116
- */
117
- positionAnchor?: Globals | 'auto' | DashedIdent
118
-
119
- /**
120
- * Specifies the area within the anchor element where this positioned element should be placed.
121
- */
122
- positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String
123
-
124
- /**
125
- * Specifies the position try options for the element.
126
- */
127
- positionTry?: Globals | StringToMultiple<PositionTry> | String
128
-
129
- /**
130
- * Specifies fallback position try options when the primary position fails.
131
- */
132
- positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String
133
-
134
- /**
135
- * Specifies the order in which position try options should be attempted.
136
- */
137
- positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'
138
-
139
- /**
140
- * Controls when the positioned element should be visible.
141
- */
142
- positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'
143
-
144
- /**
145
- * Controls whether text should wrap or not.
146
- */
147
- textWrapMode?: Globals | 'wrap' | 'nowrap'
148
-
149
- /**
150
- * Controls trimming of spacing in text.
151
- */
152
- textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'
153
-
154
- /**
155
- * Controls the style of text wrapping.
156
- */
157
- textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'
158
-
159
28
  /**
160
29
  * Controls whether the entire element should be draggable instead of its contents.
161
30
  */
@@ -180,6 +49,19 @@ export interface ModernCssProperties {
180
49
  * Controls the display of text content for security purposes (e.g., password fields).
181
50
  */
182
51
  WebkitTextSecurity?: Globals | 'none' | 'circle' | 'disc' | 'square'
52
+
53
+ /**
54
+ * Specifies the shape of a box's corners within the area defined by the border-radius property.
55
+ * @experimental
56
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape
57
+ */
58
+ cornerShape?:
59
+ | Globals
60
+ | CornerShapeValue
61
+ | `${CornerShapeValue} ${CornerShapeValue}`
62
+ | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`
63
+ | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`
64
+ | String
183
65
  }
184
66
 
185
67
  export type CssProperty = keyof PropertiesFallback
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@likec4/styles",
3
3
  "description": "Shared PandaCSS preset and generated styles, used in LikeC4",
4
4
  "license": "MIT",
5
- "version": "1.48.0",
5
+ "version": "1.50.0",
6
6
  "bugs": "https://github.com/likec4/likec4/issues",
7
7
  "homepage": "https://likec4.dev",
8
8
  "author": "Denis Davydkov <denis@davydkov.com>",
9
9
  "files": [
10
10
  "dist",
11
- "*.mts",
12
- "*.mjs",
11
+ "**/*.mts",
12
+ "**/*.mjs",
13
13
  "**/package.json",
14
14
  "!build.config.ts"
15
15
  ],
@@ -23,8 +23,6 @@
23
23
  "access": "public"
24
24
  },
25
25
  "type": "module",
26
- "types": "dist/types/index.d.mts",
27
- "module": "dist/types/index.mjs",
28
26
  "sideEffects": false,
29
27
  "exports": {
30
28
  ".": {
@@ -60,58 +58,55 @@
60
58
  "default": "./dist/recipes/index.mjs"
61
59
  },
62
60
  "./preset": {
63
- "types": "./dist/preset.d.mts",
64
- "default": "./dist/preset.mjs"
61
+ "sources": "./preset.ts",
62
+ "default": {
63
+ "types": "./preset/preset.d.mts",
64
+ "default": "./preset/preset.mjs"
65
+ }
65
66
  },
66
67
  "./vars": {
67
- "types": "./dist/vars/index.d.mts",
68
- "default": "./dist/vars/index.mjs"
68
+ "sources": "./vars.ts",
69
+ "default": {
70
+ "types": "./vars/vars.d.mts",
71
+ "default": "./vars/vars.mjs"
72
+ }
69
73
  },
70
74
  "./dev": {
71
75
  "types": "./dev.d.mts",
72
76
  "default": "./dev.mjs"
73
77
  }
74
78
  },
79
+ "dependencies": {
80
+ "@pandacss/types": "^1.8.2"
81
+ },
75
82
  "peerDependencies": {
76
- "@pandacss/dev": "^1.8.1",
77
- "@pandacss/types": "^1.8.1",
78
- "react": "^18.x || ^19.x",
79
- "react-dom": "^18.x || ^19.x",
80
- "@types/react": "^18.x || ^19.x",
81
- "@types/react-dom": "^18.x || ^19.x"
83
+ "@pandacss/dev": "^1.8.2",
84
+ "react": "^18.x || ^19.x"
82
85
  },
83
86
  "peerDependenciesMeta": {
84
- "react": {
85
- "optional": true
86
- },
87
- "react-dom": {
87
+ "@pandacss/dev": {
88
88
  "optional": true
89
89
  },
90
- "@types/react": {
91
- "optional": true
92
- },
93
- "@types/react-dom": {
90
+ "react": {
94
91
  "optional": true
95
92
  }
96
93
  },
97
94
  "devDependencies": {
98
- "@types/node": "~22.19.7",
95
+ "@types/node": "~22.19.11",
99
96
  "@pandabox/panda-plugins": "^0.0.8",
100
97
  "@pandabox/utils": "^0.0.5",
101
98
  "@pandabox/unplugin": "^0.2.2",
102
- "@pandacss/dev": "^1.8.1",
103
- "@pandacss/types": "^1.8.1",
99
+ "@pandacss/dev": "^1.8.2",
104
100
  "@types/picomatch": "^4.0.2",
105
- "@types/react": "19.2.9",
106
- "@types/react-dom": "19.2.3",
101
+ "@types/react": "19.2.14",
107
102
  "postcss": "8.5.6",
108
- "remeda": "^2.32.0",
103
+ "remeda": "^2.33.5",
109
104
  "nano-spawn": "^2.0.0",
110
- "obuild": "^0.4.20",
105
+ "obuild": "^0.4.31",
111
106
  "typescript": "5.9.3",
107
+ "@likec4/style-preset": "1.50.0",
112
108
  "@likec4/devops": "1.42.0",
113
- "@likec4/tsconfig": "1.48.0",
114
- "@likec4/style-preset": "1.48.0"
109
+ "@likec4/tsconfig": "1.50.0"
115
110
  },
116
111
  "scripts": {
117
112
  "typecheck": "tsc --noEmit",
@@ -120,5 +115,7 @@
120
115
  "clean": "likec4ops clean",
121
116
  "pack": "pnpm pack",
122
117
  "lint:package": "pnpx publint ./package.tgz"
123
- }
118
+ },
119
+ "types": "dist/types/index.d.mts",
120
+ "module": "dist/types/index.mjs"
124
121
  }
@@ -1,6 +1,4 @@
1
1
  import { t as __exportAll } from "../../rolldown-runtime.mjs";
2
-
3
- //#region ../../node_modules/.pnpm/@radix-ui+colors@3.0.0/node_modules/@radix-ui/colors/index.mjs
4
2
  var colors_exports = /* @__PURE__ */ __exportAll({
5
3
  amber: () => amber,
6
4
  amberA: () => amberA,
@@ -3783,6 +3781,4 @@ const whiteP3A = {
3783
3781
  whiteA11: "color(display-p3 1 1 1 / 0.9)",
3784
3782
  whiteA12: "color(display-p3 1 1 1 / 0.95)"
3785
3783
  };
3786
-
3787
- //#endregion
3788
- export { colors_exports as t };
3784
+ export { grass as a, orange as c, red as d, ruby as f, yellow as g, violet as h, crimson as i, pink as l, tomato as m, blue as n, indigo as o, teal as p, colors_exports as r, lime as s, amber as t, purple as u };
@@ -0,0 +1,147 @@
1
+ import { r as colors_exports } from "./@radix-ui/colors.mjs";
2
+ import { definePreset } from "@pandacss/dev";
3
+ var SCALE_TAGS_REGEX = new RegExp(`(${["P3"].join("|")})|(?=[A-Z0-9])`, "g");
4
+ function getScaleTags(fullName) {
5
+ return fullName.split(SCALE_TAGS_REGEX).filter(Boolean).map((x) => x.toLowerCase());
6
+ }
7
+ function getScalePath(tags) {
8
+ return tags.join(".");
9
+ }
10
+ function isScaleAlpha(tags) {
11
+ return tags.includes("a");
12
+ }
13
+ function isScaleDark(tags) {
14
+ return tags.includes("dark");
15
+ }
16
+ function isScaleP3(tags) {
17
+ return tags.includes("p3");
18
+ }
19
+ function getScaleName(tags) {
20
+ return tags[0];
21
+ }
22
+ function getScaleShades(value) {
23
+ return Object.assign({}, ...Object.values(value).map((shade, i) => ({ [++i]: shade })));
24
+ }
25
+ function getScales(lightPrefix) {
26
+ return Object.entries(colors_exports).map(([fullName, value]) => {
27
+ const tags = getScaleTags(fullName);
28
+ const dark = isScaleDark(tags);
29
+ if (!dark && lightPrefix) tags.splice(1, 0, "light");
30
+ return {
31
+ fullName,
32
+ tags,
33
+ name: getScaleName(tags),
34
+ path: getScalePath(tags),
35
+ dark,
36
+ alpha: isScaleAlpha(tags),
37
+ p3: isScaleP3(tags),
38
+ shades: getScaleShades(value)
39
+ };
40
+ });
41
+ }
42
+ function keysToObj(keys, value) {
43
+ if (keys.length === 0) return value;
44
+ const key = keys[0];
45
+ const obj = keysToObj(keys.slice(1), value);
46
+ return { [key]: obj };
47
+ }
48
+ function isObject(value) {
49
+ return value !== null && value !== void 0 && typeof value === "object" && !Array.isArray(value);
50
+ }
51
+ function mergeObjs(target, ...sources) {
52
+ if (!sources.length) return target;
53
+ const source = sources.shift();
54
+ if (isObject(target) && isObject(source)) for (const key in source) if (isObject(source[key])) {
55
+ if (!target[key]) Object.assign(target, { [key]: {} });
56
+ mergeObjs(target[key], source[key]);
57
+ } else Object.assign(target, { [key]: source[key] });
58
+ return mergeObjs(target, ...sources);
59
+ }
60
+ function findDarkScale(scale, scales) {
61
+ return scales.find((x) => x.name === scale.name && x.alpha === scale.alpha && x.p3 === scale.p3 && x.dark);
62
+ }
63
+ function findP3Scale(scale, scales) {
64
+ return scales.find((x) => x.name === scale.name && x.alpha === scale.alpha && x.dark === scale.dark && x.p3);
65
+ }
66
+ function findLightScale(scale, scales) {
67
+ return scales.find((x) => x.name === scale.name && x.alpha === scale.alpha && x.dark === scale.dark && x.p3 === scale.p3 && x.tags.includes("light"));
68
+ }
69
+ function findRelatedScales(scale, scales, enableDarkMode, enableAutoP3) {
70
+ const result = { current: scale };
71
+ if (enableDarkMode && !scale.dark && !scale.tags.includes("light")) result.dark = findDarkScale(scale, scales);
72
+ if (!result.dark && enableAutoP3 && !scale.p3) result.p3 = findP3Scale(scale, scales);
73
+ if (result.dark) result.light = scale.tags.includes("light") ? scale : findLightScale(scale, scales);
74
+ return result;
75
+ }
76
+ function buildTokenValue(shade, shadeIndex, relatedScales) {
77
+ if (relatedScales.dark) return {
78
+ base: `{colors.${relatedScales.light?.path}.${shadeIndex}}`,
79
+ _dark: `{colors.${relatedScales.dark.path}.${shadeIndex}}`
80
+ };
81
+ if (relatedScales.p3) return {
82
+ base: shade,
83
+ _p3: `{colors.${relatedScales.p3.path}.${shadeIndex}}`
84
+ };
85
+ return shade;
86
+ }
87
+ function getSemanticTokens(darkMode, autoP3, colorScales = []) {
88
+ let scales = getScales(darkMode);
89
+ if (darkMode) scales = scales.concat(getScales(false).filter((x) => !x.dark));
90
+ const filteredScales = scales.filter((scale) => shouldIncludeScale(scale, colorScales));
91
+ return mergeObjs({}, ...filteredScales.map((scale) => generateScaleTokens(scale, filteredScales, darkMode, autoP3)));
92
+ }
93
+ function shouldIncludeScale(scale, colorScales) {
94
+ if (colorScales.length === 0) return true;
95
+ return colorScales.some((colorScale) => {
96
+ return scale.path === colorScale || scale.path.startsWith(colorScale + ".");
97
+ });
98
+ }
99
+ function generateScaleTokens(scale, allScales, enableDarkMode = false, enableAutoP3 = false) {
100
+ const relatedScales = findRelatedScales(scale, allScales, enableDarkMode, enableAutoP3);
101
+ const mergedShades = mergeObjs({}, ...Object.entries(scale.shades).map(([shadeIndex, color]) => {
102
+ const tokenValue = buildTokenValue(color, shadeIndex, relatedScales);
103
+ return { [shadeIndex]: { value: tokenValue } };
104
+ }));
105
+ return keysToObj(scale.tags, mergedShades);
106
+ }
107
+ var name = "pandacss-preset-radix-colors";
108
+ var DEFAULT_DARK_MODE_CONDITION = ".dark &";
109
+ function getConditions(darkModeCondition) {
110
+ const conditions = {};
111
+ if (darkModeCondition) conditions["dark"] = darkModeCondition;
112
+ conditions["p3"] = "@media (color-gamut: p3)";
113
+ return conditions;
114
+ }
115
+ function normalizeDarkMode(darkModeOption) {
116
+ if (!darkModeOption) return { enabled: false };
117
+ if (typeof darkModeOption === "boolean") return {
118
+ enabled: true,
119
+ condition: DEFAULT_DARK_MODE_CONDITION
120
+ };
121
+ return {
122
+ enabled: darkModeOption.enabled ?? true,
123
+ condition: darkModeOption.condition
124
+ };
125
+ }
126
+ function validateColorScales(colorScales) {
127
+ if (!colorScales || colorScales.length === 0) return;
128
+ const scales = getScales();
129
+ const unmatchedScales = colorScales.filter((colorScale) => {
130
+ return !scales.some((scale) => scale.path === colorScale || scale.path.startsWith(colorScale + "."));
131
+ });
132
+ if (unmatchedScales.length > 0) console.warn(`[pandacss-preset-radix-colors] Color scale paths don't match any available scales: ${unmatchedScales.join(", ")}. Valid examples: "amber", "blue.dark", "gray.p3", "red.dark.a". Available base colors: ${Array.from(new Set(scales.map((s) => s.name))).join(", ")}.`);
133
+ }
134
+ function createPreset(options) {
135
+ const darkModeConfig = normalizeDarkMode(options?.darkMode);
136
+ validateColorScales(options?.colorScales);
137
+ return definePreset({
138
+ name,
139
+ conditions: { extend: getConditions(darkModeConfig.enabled ? darkModeConfig.condition : void 0) },
140
+ theme: { extend: { semanticTokens: { colors: getSemanticTokens(darkModeConfig.enabled, options?.autoP3, options?.colorScales) } } }
141
+ });
142
+ }
143
+ function transformScaleName(scale) {
144
+ return scale.split(/(Dark|P3|A)/).map((x) => x.toLowerCase()).filter(Boolean).join(".");
145
+ }
146
+ Object.keys(colors_exports).filter((scale) => !scale.includes("default")).map(transformScaleName);
147
+ export { createPreset as t };
@@ -1,45 +1,24 @@
1
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js
2
- function e$3(e, t, n) {
1
+ function e$4(e, t, n) {
3
2
  let r = (n) => e(n, ...t);
4
3
  return n === void 0 ? r : Object.assign(r, {
5
4
  lazy: n,
6
5
  lazyArgs: t
7
6
  });
8
7
  }
9
-
10
- //#endregion
11
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/purry-DH9cw9sy.js
12
- function t$9(t, n, r) {
8
+ function t$10(t, n, r) {
13
9
  let i = t.length - n.length;
14
10
  if (i === 0) return t(...n);
15
- if (i === 1) return e$3(t, n, r);
11
+ if (i === 1) return e$4(t, n, r);
16
12
  throw Error(`Wrong number of arguments`);
17
13
  }
18
-
19
- //#endregion
20
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/capitalize-DktTi0gl.js
21
- function t$8(...t) {
22
- return t$9(n$6, t);
23
- }
24
- const n$6 = (e) => `${e[0]?.toUpperCase() ?? ``}${e.slice(1)}`;
25
-
26
- //#endregion
27
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/utilityEvaluators-DORpnx39.js
28
- const e$2 = {
29
- done: !0,
30
- hasNext: !1
31
- }, t$7 = {
14
+ function t$9(...t) {
15
+ return t$10(n$6, t);
16
+ }
17
+ const n$6 = (e) => `${e[0]?.toUpperCase() ?? ``}${e.slice(1)}`, t$8 = {
32
18
  done: !1,
33
19
  hasNext: !1
34
- }, n$5 = () => e$2, r$1 = (e) => ({
35
- hasNext: !0,
36
- next: e,
37
- done: !1
38
- });
39
-
40
- //#endregion
41
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/pipe-jLehR9-P.js
42
- function t$6(e, ...t) {
20
+ };
21
+ function t$7(e, ...t) {
43
22
  let a = e, o = t.map((e) => `lazy` in e ? r(e) : void 0), s = 0;
44
23
  for (; s < t.length;) {
45
24
  if (o[s] === void 0 || !i(a)) {
@@ -61,7 +40,7 @@ function t$6(e, ...t) {
61
40
  }
62
41
  function n$4(t, r, i) {
63
42
  if (i.length === 0) return r.push(t), !1;
64
- let a = t, o = t$7, s = !1;
43
+ let a = t, o = t$8, s = !1;
65
44
  for (let [e, t] of i.entries()) {
66
45
  let { index: c, items: l } = t;
67
46
  if (l.push(a), o = t(a, c, l), t.index += 1, o.hasNext) {
@@ -87,30 +66,18 @@ function r(e) {
87
66
  function i(e) {
88
67
  return typeof e == `string` || typeof e == `object` && !!e && Symbol.iterator in e;
89
68
  }
90
-
91
- //#endregion
92
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js
93
- function t$5(...t) {
94
- return t$9(n$3, t);
69
+ function t$6(...t) {
70
+ return t$10(n$3, t);
95
71
  }
96
72
  const n$3 = (e, t) => e.length >= t;
97
-
98
- //#endregion
99
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/isString-BPlksnnG.js
100
- function e$1(e) {
73
+ function e$2(e) {
101
74
  return typeof e == `string`;
102
75
  }
103
-
104
- //#endregion
105
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/keys-CT72t2DB.js
106
- function t$4(...t) {
107
- return t$9(Object.keys, t);
76
+ function t$5(...t) {
77
+ return t$10(Object.keys, t);
108
78
  }
109
-
110
- //#endregion
111
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/mapKeys-CKFpUwVc.js
112
- function t$3(...t) {
113
- return t$9(n$2, t);
79
+ function t$4(...t) {
80
+ return t$10(n$2, t);
114
81
  }
115
82
  function n$2(e, t) {
116
83
  let n = {};
@@ -120,11 +87,8 @@ function n$2(e, t) {
120
87
  }
121
88
  return n;
122
89
  }
123
-
124
- //#endregion
125
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/mapToObj-8STtUbFK.js
126
- function t$2(...t) {
127
- return t$9(n$1, t);
90
+ function t$3(...t) {
91
+ return t$10(n$1, t);
128
92
  }
129
93
  function n$1(e, t) {
130
94
  let n = {};
@@ -134,24 +98,18 @@ function n$1(e, t) {
134
98
  }
135
99
  return n;
136
100
  }
137
-
138
- //#endregion
139
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/mapValues-D8ywfrE_.js
140
- function t$1(...t) {
141
- return t$9(n, t);
101
+ function t$2(...t) {
102
+ return t$10(n, t);
142
103
  }
143
104
  function n(e, t) {
144
105
  let n = {};
145
106
  for (let [r, i] of Object.entries(e)) n[r] = t(i, r, e);
146
107
  return n;
147
108
  }
148
-
149
- //#endregion
150
- //#region ../../node_modules/.pnpm/remeda@2.32.0/node_modules/remeda/dist/prop-Cv_AVBuA.js
151
- function e(e, ...n) {
152
- return typeof e == `string` || typeof e == `number` || typeof e == `symbol` ? (r) => t(r, e, ...n) : t(e, ...n);
109
+ function e$1(e, ...n) {
110
+ return typeof e == `string` || typeof e == `number` || typeof e == `symbol` ? (r) => t$1(r, e, ...n) : t$1(e, ...n);
153
111
  }
154
- function t(e, ...t) {
112
+ function t$1(e, ...t) {
155
113
  let n = e;
156
114
  for (let e of t) {
157
115
  if (n == null) return;
@@ -159,6 +117,10 @@ function t(e, ...t) {
159
117
  }
160
118
  return n;
161
119
  }
162
-
163
- //#endregion
164
- export { t$4 as a, t$6 as c, t$3 as i, t$8 as l, t$1 as n, e$1 as o, t$2 as r, t$5 as s, e as t };
120
+ new Set([
121
+ `-`,
122
+ `_`,
123
+ ...` .
124
+ .\v.\f.\r. .….\xA0. . . . . . . . . . . . .\u2028.\u2029. . . .`.split(`.`)
125
+ ]);
126
+ export { t$5 as a, t$7 as c, t$4 as i, t$9 as l, t$2 as n, e$2 as o, t$3 as r, t$6 as s, e$1 as t };
@@ -0,0 +1,11 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __exportAll = (all, no_symbols) => {
3
+ let target = {};
4
+ for (var name in all) __defProp(target, name, {
5
+ get: all[name],
6
+ enumerable: true
7
+ });
8
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
9
+ return target;
10
+ };
11
+ export { __exportAll as t };
@@ -1,4 +1,4 @@
1
1
  {
2
- "types": "../dist/preset.d.mts",
3
- "module": "../dist/preset.mjs"
2
+ "types": "preset.d.mts",
3
+ "module": "preset.mjs"
4
4
  }