@regardio/brand 0.8.1 → 0.8.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/README.md +7 -4
- package/dist/components/button.stories.d.mts +50 -45
- package/dist/generated/icons/regardio-ensemble-icon-color-full.mjs +114 -136
- package/dist/generated/icons/regardio-ensemble-icon-color.mjs +116 -138
- package/dist/generated/icons/regardio-ensemble-icon-mono.mjs +17 -48
- package/dist/generated/icons/{regardio-system-zest-icon.d.mts → system-layer-bridges-icon.d.mts} +3 -3
- package/dist/generated/icons/{regardio-system-bridge-icon.mjs → system-layer-bridges-icon.mjs} +3 -3
- package/dist/generated/icons/{regardio-system-plan-icon.d.mts → system-layer-circles-icon.d.mts} +3 -3
- package/dist/generated/icons/{regardio-system-circle-icon.mjs → system-layer-circles-icon.mjs} +3 -3
- package/dist/generated/icons/{regardio-system-spark-icon.d.mts → system-layer-facets-icon.d.mts} +3 -3
- package/dist/generated/icons/{regardio-system-facet-icon.mjs → system-layer-facets-icon.mjs} +3 -3
- package/dist/generated/icons/{regardio-system-facet-icon.d.mts → system-layer-needs-icon.d.mts} +3 -3
- package/dist/generated/icons/system-layer-needs-icon.mjs +19 -0
- package/dist/generated/icons/system-layer-plans-icon.d.mts +14 -0
- package/dist/generated/icons/{regardio-system-plan-icon.mjs → system-layer-plans-icon.mjs} +3 -3
- package/dist/generated/icons/system-layer-pursuits-icon.d.mts +14 -0
- package/dist/generated/icons/{regardio-system-pursuit-icon.mjs → system-layer-pursuits-icon.mjs} +3 -3
- package/dist/generated/sprites/compass-sprite-provider.mjs +307 -281
- package/dist/generated/sprites/compass-sprite.d.mts +4 -3
- package/dist/generated/sprites/compass-sprite.mjs +53 -2
- package/dist/styles/grid.css +47 -5
- package/dist/styles/index.css +3 -0
- package/dist/styles/tokens.css +1 -1
- package/dist/styles/typography.css +14 -32
- package/dist/styles/utopia.css +59 -0
- package/package.json +24 -26
- package/src/styles/grid.css +47 -5
- package/src/styles/index.css +3 -0
- package/src/styles/tokens.css +1 -1
- package/src/styles/typography.css +14 -32
- package/src/styles/utopia.css +59 -0
- package/dist/generated/icons/regardio-system-bridge-icon.d.mts +0 -14
- package/dist/generated/icons/regardio-system-circle-icon.d.mts +0 -14
- package/dist/generated/icons/regardio-system-pursuit-icon.d.mts +0 -14
- package/dist/generated/icons/regardio-system-spark-icon.mjs +0 -19
- package/dist/generated/icons/regardio-system-zest-icon.mjs +0 -19
package/README.md
CHANGED
|
@@ -54,13 +54,14 @@ logos, colors, and compass sprites.
|
|
|
54
54
|
Raw SVG assets are available in `src/svg/`:
|
|
55
55
|
|
|
56
56
|
- **`icons/`** — Regardio logos, icons, and system symbols
|
|
57
|
-
- **`compass-base/`** — Compass sprite components (
|
|
57
|
+
- **`compass-base/`** — Compass sprite components (pursuits, needs, plans, circles, facets, bridges)
|
|
58
58
|
|
|
59
59
|
### React Components
|
|
60
60
|
|
|
61
61
|
Generated React components are exported from the package:
|
|
62
62
|
|
|
63
63
|
- **Icons & Logos** — `@regardio/brand/icons/*`
|
|
64
|
+
- **System Layer Icons** — `@regardio/brand/icons/system-layer-*`
|
|
64
65
|
- **Sprites** — `@regardio/brand/sprites/*`
|
|
65
66
|
|
|
66
67
|
## Usage
|
|
@@ -70,6 +71,7 @@ Generated React components are exported from the package:
|
|
|
70
71
|
```tsx
|
|
71
72
|
import { RegardioLogoColor } from "@regardio/brand/icons/regardio-logo-color";
|
|
72
73
|
import { RegardioIconColor } from "@regardio/brand/icons/regardio-icon-color";
|
|
74
|
+
import { SystemLayerNeedsIcon } from "@regardio/brand/icons/system-layer-needs-icon";
|
|
73
75
|
import { CompassSprite } from "@regardio/brand/sprites/compass-sprite";
|
|
74
76
|
import { CompassSpriteProvider } from "@regardio/brand/sprites/compass-sprite-provider";
|
|
75
77
|
|
|
@@ -78,7 +80,8 @@ function App() {
|
|
|
78
80
|
<CompassSpriteProvider>
|
|
79
81
|
<RegardioLogoColor style={{ width: 200 }} />
|
|
80
82
|
<RegardioIconColor style={{ fontSize: 48 }} />
|
|
81
|
-
<
|
|
83
|
+
<SystemLayerNeedsIcon style={{ fontSize: 32 }} />
|
|
84
|
+
<CompassSprite id="need.leisure.calm" width={80} height={80} />
|
|
82
85
|
</CompassSpriteProvider>
|
|
83
86
|
);
|
|
84
87
|
}
|
|
@@ -106,9 +109,9 @@ Then use `CompassSprite` anywhere in your app to reference sprites by ID:
|
|
|
106
109
|
```tsx
|
|
107
110
|
import { CompassSprite } from "@regardio/brand/sprites/compass-sprite";
|
|
108
111
|
|
|
109
|
-
<CompassSprite id="
|
|
112
|
+
<CompassSprite id="need.leisure.calm" width={80} height={80} />
|
|
110
113
|
<CompassSprite id="facet.element.people" width={60} height={80} />
|
|
111
|
-
<CompassSprite id="bridge.
|
|
114
|
+
<CompassSprite id="bridge.stance.enables" width={100} height={70} />
|
|
112
115
|
```
|
|
113
116
|
|
|
114
117
|
### Regardio Color Scheme with Tailwind CSS
|
|
@@ -4005,7 +4005,7 @@ type AddMocks<TArgs, DefaultArgs> = Simplify<{ [T in keyof TArgs]: T extends key
|
|
|
4005
4005
|
mock: {};
|
|
4006
4006
|
}) ? DefaultArgs[T] : TArgs[T] : TArgs[T] }>;
|
|
4007
4007
|
//#endregion
|
|
4008
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
4008
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/hmrPayload.d.ts
|
|
4009
4009
|
type HotPayload = ConnectedPayload | PingPayload | UpdatePayload | FullReloadPayload | CustomPayload | ErrorPayload | PrunePayload;
|
|
4010
4010
|
interface ConnectedPayload {
|
|
4011
4011
|
type: 'connected';
|
|
@@ -4070,7 +4070,7 @@ interface ErrorPayload {
|
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
4072
4072
|
//#endregion
|
|
4073
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
4073
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts
|
|
4074
4074
|
//#region src/shared/invokeMethods.d.ts
|
|
4075
4075
|
interface FetchFunctionOptions {
|
|
4076
4076
|
cached?: boolean;
|
|
@@ -4123,7 +4123,7 @@ interface ViteFetchResult {
|
|
|
4123
4123
|
invalidate: boolean;
|
|
4124
4124
|
}
|
|
4125
4125
|
//#endregion
|
|
4126
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
4126
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/customEvent.d.ts
|
|
4127
4127
|
interface CustomEventMap {
|
|
4128
4128
|
// client events
|
|
4129
4129
|
'vite:beforeUpdate': UpdatePayload;
|
|
@@ -4184,7 +4184,7 @@ type ForwardConsolePayload = {
|
|
|
4184
4184
|
*/
|
|
4185
4185
|
type InferCustomEventPayload<T extends string> = T extends keyof CustomEventMap ? CustomEventMap[T] : any;
|
|
4186
4186
|
//#endregion
|
|
4187
|
-
//#region node_modules/.pnpm/rolldown@1.0.0-rc.
|
|
4187
|
+
//#region node_modules/.pnpm/rolldown@1.0.0-rc.10/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts
|
|
4188
4188
|
//#region src/log/logging.d.ts
|
|
4189
4189
|
/** @inline */
|
|
4190
4190
|
type LogLevel$1 = "info" | "debug" | "warn";
|
|
@@ -4234,7 +4234,7 @@ interface RolldownError extends RolldownLog {
|
|
|
4234
4234
|
}
|
|
4235
4235
|
type LogOrStringHandler = (level: LogLevelWithError, log: RolldownLogWithString) => void; //#endregion
|
|
4236
4236
|
//#endregion
|
|
4237
|
-
//#region node_modules/.pnpm/@oxc-project+types@0.
|
|
4237
|
+
//#region node_modules/.pnpm/@oxc-project+types@0.120.0/node_modules/@oxc-project/types/types.d.ts
|
|
4238
4238
|
// Auto-generated code, DO NOT EDIT DIRECTLY!
|
|
4239
4239
|
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.
|
|
4240
4240
|
interface Program extends Span {
|
|
@@ -5533,7 +5533,7 @@ interface Span {
|
|
|
5533
5533
|
type ModuleKind = "script" | "module" | "commonjs";
|
|
5534
5534
|
type Node$2 = Program | IdentifierName | IdentifierReference | BindingIdentifier | LabelIdentifier | ThisExpression | ArrayExpression | ObjectExpression | ObjectProperty | TemplateLiteral | TaggedTemplateExpression | TemplateElement | ComputedMemberExpression | StaticMemberExpression | PrivateFieldExpression | CallExpression | NewExpression | MetaProperty | SpreadElement | UpdateExpression | UnaryExpression | BinaryExpression | PrivateInExpression | LogicalExpression | ConditionalExpression | AssignmentExpression | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression | Super | AwaitExpression | ChainExpression | ParenthesizedExpression | Directive | Hashbang | BlockStatement | VariableDeclaration | VariableDeclarator | EmptyStatement | ExpressionStatement | IfStatement | DoWhileStatement | WhileStatement | ForStatement | ForInStatement | ForOfStatement | ContinueStatement | BreakStatement | ReturnStatement | WithStatement | SwitchStatement | SwitchCase | LabeledStatement | ThrowStatement | TryStatement | CatchClause | DebuggerStatement | AssignmentPattern | ObjectPattern | BindingProperty | ArrayPattern | BindingRestElement | Function$1 | FunctionBody | ArrowFunctionExpression | YieldExpression | Class | ClassBody | MethodDefinition | PropertyDefinition | PrivateIdentifier | StaticBlock | AccessorProperty | ImportExpression | ImportDeclaration | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute | ExportNamedDeclaration | ExportDefaultDeclaration | ExportAllDeclaration | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral | NullLiteral | NumericLiteral | StringLiteral | BigIntLiteral | RegExpLiteral | JSXElement | JSXOpeningElement | JSXClosingElement | JSXFragment | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName | JSXMemberExpression | JSXExpressionContainer | JSXEmptyExpression | JSXAttribute | JSXSpreadAttribute | JSXIdentifier | JSXSpreadChild | JSXText | TSThisParameter | TSEnumDeclaration | TSEnumBody | TSEnumMember | TSTypeAnnotation | TSLiteralType | TSConditionalType | TSUnionType | TSIntersectionType | TSParenthesizedType | TSTypeOperator | TSArrayType | TSIndexedAccessType | TSTupleType | TSNamedTupleMember | TSOptionalType | TSRestType | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference | TSQualifiedName | TSTypeParameterInstantiation | TSTypeParameter | TSTypeParameterDeclaration | TSTypeAliasDeclaration | TSClassImplements | TSInterfaceDeclaration | TSInterfaceBody | TSPropertySignature | TSIndexSignature | TSCallSignatureDeclaration | TSMethodSignature | TSConstructSignatureDeclaration | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate | TSModuleDeclaration | TSGlobalDeclaration | TSModuleBlock | TSTypeLiteral | TSInferType | TSTypeQuery | TSImportType | TSImportTypeQualifiedName | TSFunctionType | TSConstructorType | TSMappedType | TSTemplateLiteralType | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | Decorator | TSExportAssignment | TSNamespaceExportDeclaration | TSInstantiationExpression | JSDocNullableType | JSDocNonNullableType | JSDocUnknownType | ParamPattern;
|
|
5535
5535
|
//#endregion
|
|
5536
|
-
//#region node_modules/.pnpm/rolldown@1.0.0-rc.
|
|
5536
|
+
//#region node_modules/.pnpm/rolldown@1.0.0-rc.10/node_modules/rolldown/dist/shared/binding-Dsq9Azhm.d.mts
|
|
5537
5537
|
interface CodegenOptions {
|
|
5538
5538
|
/**
|
|
5539
5539
|
* Remove whitespace.
|
|
@@ -6210,10 +6210,11 @@ declare class BindingDecodedMap {
|
|
|
6210
6210
|
*/
|
|
6211
6211
|
get mappings(): Array<Array<Array<number>>>;
|
|
6212
6212
|
}
|
|
6213
|
-
declare class BindingMagicString
|
|
6213
|
+
declare class BindingMagicString {
|
|
6214
6214
|
constructor(source: string, options?: BindingMagicStringOptions | undefined | null);
|
|
6215
6215
|
get original(): string;
|
|
6216
6216
|
get filename(): string | null;
|
|
6217
|
+
get indentExclusionRanges(): Array<Array<number>> | Array<number> | null;
|
|
6217
6218
|
get offset(): number;
|
|
6218
6219
|
set offset(offset: number);
|
|
6219
6220
|
replace(from: string, to: string): this;
|
|
@@ -6238,7 +6239,7 @@ declare class BindingMagicString$1 {
|
|
|
6238
6239
|
* Returns `this` for method chaining.
|
|
6239
6240
|
*/
|
|
6240
6241
|
move(start: number, end: number, index: number): this;
|
|
6241
|
-
indent(indentor?: string | undefined | null): this;
|
|
6242
|
+
indent(indentor?: string | undefined | null, options?: BindingIndentOptions | undefined | null): this;
|
|
6242
6243
|
/** Trims whitespace or specified characters from the start and end. */
|
|
6243
6244
|
trim(charType?: string | undefined | null): this;
|
|
6244
6245
|
/** Trims whitespace or specified characters from the start. */
|
|
@@ -6253,13 +6254,13 @@ declare class BindingMagicString$1 {
|
|
|
6253
6254
|
*/
|
|
6254
6255
|
insert(index: number, content: string): void;
|
|
6255
6256
|
/** Returns a clone of the MagicString instance. */
|
|
6256
|
-
clone(): BindingMagicString
|
|
6257
|
+
clone(): BindingMagicString;
|
|
6257
6258
|
/** Returns the last character of the generated string, or an empty string if empty. */
|
|
6258
6259
|
lastChar(): string;
|
|
6259
6260
|
/** Returns the content after the last newline in the generated string. */
|
|
6260
6261
|
lastLine(): string;
|
|
6261
6262
|
/** Returns a clone with content outside the specified range removed. */
|
|
6262
|
-
snip(start: number, end: number): BindingMagicString
|
|
6263
|
+
snip(start: number, end: number): BindingMagicString;
|
|
6263
6264
|
/**
|
|
6264
6265
|
* Resets the portion of the string from `start` to `end` to its original content.
|
|
6265
6266
|
* This undoes any modifications made to that range.
|
|
@@ -6267,8 +6268,12 @@ declare class BindingMagicString$1 {
|
|
|
6267
6268
|
*/
|
|
6268
6269
|
reset(start: number, end: number): this;
|
|
6269
6270
|
/**
|
|
6270
|
-
* Returns the content between the specified
|
|
6271
|
+
* Returns the content between the specified UTF-16 code unit positions (JS string indices).
|
|
6271
6272
|
* Supports negative indices (counting from the end).
|
|
6273
|
+
*
|
|
6274
|
+
* When an index falls in the middle of a surrogate pair, the lone surrogate is
|
|
6275
|
+
* included in the result (matching the original magic-string / JS behavior).
|
|
6276
|
+
* This is done by returning a UTF-16 encoded JS string via `napi_create_string_utf16`.
|
|
6272
6277
|
*/
|
|
6273
6278
|
slice(start?: number | undefined | null, end?: number | undefined | null): string;
|
|
6274
6279
|
/**
|
|
@@ -6324,17 +6329,7 @@ declare class BindingSourceMap {
|
|
|
6324
6329
|
declare class BindingWatcherBundler {
|
|
6325
6330
|
close(): Promise<void>;
|
|
6326
6331
|
}
|
|
6327
|
-
|
|
6328
|
-
* Cache for tsconfig resolution to avoid redundant file system operations.
|
|
6329
|
-
*
|
|
6330
|
-
* The cache stores resolved tsconfig configurations keyed by their file paths.
|
|
6331
|
-
* When transforming multiple files in the same project, tsconfig lookups are
|
|
6332
|
-
* deduplicated, improving performance.
|
|
6333
|
-
*
|
|
6334
|
-
* @category Utilities
|
|
6335
|
-
* @experimental
|
|
6336
|
-
*/
|
|
6337
|
-
type BindingBuiltinPluginName = 'builtin:bundle-analyzer' | 'builtin:esm-external-require' | 'builtin:isolated-declaration' | 'builtin:replace' | 'builtin:vite-alias' | 'builtin:vite-build-import-analysis' | 'builtin:vite-dynamic-import-vars' | 'builtin:vite-import-glob' | 'builtin:vite-json' | 'builtin:vite-load-fallback' | 'builtin:vite-manifest' | 'builtin:vite-module-preload-polyfill' | 'builtin:vite-react-refresh-wrapper' | 'builtin:vite-reporter' | 'builtin:vite-resolve' | 'builtin:vite-transform' | 'builtin:vite-wasm-fallback' | 'builtin:vite-web-worker-post';
|
|
6332
|
+
type BindingBuiltinPluginName = 'builtin:bundle-analyzer' | 'builtin:esm-external-require' | 'builtin:isolated-declaration' | 'builtin:replace' | 'builtin:vite-alias' | 'builtin:vite-build-import-analysis' | 'builtin:vite-dynamic-import-vars' | 'builtin:vite-import-glob' | 'builtin:vite-json' | 'builtin:vite-load-fallback' | 'builtin:vite-manifest' | 'builtin:vite-module-preload-polyfill' | 'builtin:vite-react-refresh-wrapper' | 'builtin:vite-reporter' | 'builtin:vite-resolve' | 'builtin:vite-transform' | 'builtin:vite-wasm-fallback' | 'builtin:vite-web-worker-post' | 'builtin:oxc-runtime';
|
|
6338
6333
|
/** Enhanced transform options with tsconfig and inputMap support. */
|
|
6339
6334
|
interface BindingEnhancedTransformOptions {
|
|
6340
6335
|
/** Treat the source text as 'js', 'jsx', 'ts', 'tsx', or 'dts'. */
|
|
@@ -6424,9 +6419,13 @@ interface BindingHookResolveIdExtraArgs {
|
|
|
6424
6419
|
*/
|
|
6425
6420
|
kind: 'import-statement' | 'dynamic-import' | 'require-call' | 'import-rule' | 'url-token' | 'new-url' | 'hot-accept';
|
|
6426
6421
|
}
|
|
6422
|
+
interface BindingIndentOptions {
|
|
6423
|
+
exclude?: Array<Array<number>> | Array<number>;
|
|
6424
|
+
}
|
|
6427
6425
|
interface BindingMagicStringOptions {
|
|
6428
6426
|
filename?: string;
|
|
6429
6427
|
offset?: number;
|
|
6428
|
+
indentExclusionRanges?: Array<Array<number>> | Array<number>;
|
|
6430
6429
|
}
|
|
6431
6430
|
interface BindingModules {
|
|
6432
6431
|
values: Array<BindingRenderedModule>;
|
|
@@ -6525,12 +6524,11 @@ interface PreRenderedChunk {
|
|
|
6525
6524
|
/** Exported variable names from this chunk. */
|
|
6526
6525
|
exports: Array<string>;
|
|
6527
6526
|
}
|
|
6528
|
-
/** @hidden This is only expected to be used by Vite */
|
|
6529
6527
|
interface ViteImportGlobMeta {
|
|
6530
6528
|
isSubImportsPattern?: boolean;
|
|
6531
6529
|
} //#endregion
|
|
6532
6530
|
//#endregion
|
|
6533
|
-
//#region node_modules/.pnpm/@rolldown+pluginutils@1.0.0-rc.
|
|
6531
|
+
//#region node_modules/.pnpm/@rolldown+pluginutils@1.0.0-rc.10/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts
|
|
6534
6532
|
type StringOrRegExp$1 = string | RegExp;
|
|
6535
6533
|
type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {});
|
|
6536
6534
|
type FilterExpression = And | Or | Not | Id | ImporterId | ModuleType$1 | Code | Query;
|
|
@@ -6592,7 +6590,7 @@ declare class Exclude$1 {
|
|
|
6592
6590
|
constructor(expr: FilterExpression);
|
|
6593
6591
|
}
|
|
6594
6592
|
//#endregion
|
|
6595
|
-
//#region node_modules/.pnpm/rolldown@1.0.0-rc.
|
|
6593
|
+
//#region node_modules/.pnpm/rolldown@1.0.0-rc.10/node_modules/rolldown/dist/shared/define-config-CV9D_Qea.d.mts
|
|
6596
6594
|
//#region src/types/misc.d.ts
|
|
6597
6595
|
/** @inline */
|
|
6598
6596
|
type SourcemapPathTransformOption = (relativeSourcePath: string, sourcemapPath: string) => string;
|
|
@@ -7842,14 +7840,19 @@ interface RolldownWatcher {
|
|
|
7842
7840
|
*/
|
|
7843
7841
|
//#endregion
|
|
7844
7842
|
//#region src/binding-magic-string.d.ts
|
|
7845
|
-
interface
|
|
7843
|
+
interface RolldownMagicString extends BindingMagicString {
|
|
7846
7844
|
readonly isRolldownMagicString: true;
|
|
7847
7845
|
}
|
|
7848
|
-
type
|
|
7849
|
-
new (...args: ConstructorParameters<typeof BindingMagicString
|
|
7850
|
-
prototype:
|
|
7846
|
+
type RolldownMagicStringConstructor = Omit<typeof BindingMagicString, "prototype"> & {
|
|
7847
|
+
new (...args: ConstructorParameters<typeof BindingMagicString>): RolldownMagicString;
|
|
7848
|
+
prototype: RolldownMagicString;
|
|
7851
7849
|
};
|
|
7852
|
-
|
|
7850
|
+
/**
|
|
7851
|
+
* A native MagicString implementation powered by Rust.
|
|
7852
|
+
*
|
|
7853
|
+
* @experimental
|
|
7854
|
+
*/
|
|
7855
|
+
declare const RolldownMagicString: RolldownMagicStringConstructor; //#endregion
|
|
7853
7856
|
//#region src/log/log-handler.d.ts
|
|
7854
7857
|
type LoggingFunction = (log: RolldownLog | string | (() => RolldownLog | string)) => void;
|
|
7855
7858
|
type LoggingFunctionWithPosition = (log: RolldownLog | string | (() => RolldownLog | string), pos?: number | {
|
|
@@ -9022,7 +9025,7 @@ type ResolveIdResult = string | NullValue | false | PartialResolvedId;
|
|
|
9022
9025
|
type LoadResult = NullValue | string | SourceDescription;
|
|
9023
9026
|
/** @inline @category Plugin APIs */
|
|
9024
9027
|
type TransformResult$1 = NullValue | string | (Omit<SourceDescription, "code"> & {
|
|
9025
|
-
code?: string |
|
|
9028
|
+
code?: string | RolldownMagicString;
|
|
9026
9029
|
});
|
|
9027
9030
|
type RenderedChunkMeta = {
|
|
9028
9031
|
/**
|
|
@@ -9035,7 +9038,7 @@ type RenderedChunkMeta = {
|
|
|
9035
9038
|
* Use this to perform string transformations with automatic source map support.
|
|
9036
9039
|
* This is only available when `experimental.nativeMagicString` is enabled.
|
|
9037
9040
|
*/
|
|
9038
|
-
magicString?:
|
|
9041
|
+
magicString?: RolldownMagicString;
|
|
9039
9042
|
};
|
|
9040
9043
|
/** @category Plugin APIs */
|
|
9041
9044
|
interface FunctionPluginHooks {
|
|
@@ -9142,7 +9145,7 @@ interface FunctionPluginHooks {
|
|
|
9142
9145
|
*/
|
|
9143
9146
|
[DEFINED_HOOK_NAMES.transform]: (this: TransformPluginContext, code: string, id: string, meta: BindingTransformHookExtraArgs & {
|
|
9144
9147
|
moduleType: ModuleType;
|
|
9145
|
-
magicString?:
|
|
9148
|
+
magicString?: RolldownMagicString;
|
|
9146
9149
|
ast?: Program;
|
|
9147
9150
|
}) => TransformResult$1;
|
|
9148
9151
|
/**
|
|
@@ -9195,8 +9198,8 @@ interface FunctionPluginHooks {
|
|
|
9195
9198
|
*
|
|
9196
9199
|
* @group Output Generation Hooks
|
|
9197
9200
|
*/
|
|
9198
|
-
[DEFINED_HOOK_NAMES.renderChunk]: (this: PluginContext, code: string, chunk: RenderedChunk, outputOptions: NormalizedOutputOptions, meta: RenderedChunkMeta) => NullValue | string |
|
|
9199
|
-
code: string |
|
|
9201
|
+
[DEFINED_HOOK_NAMES.renderChunk]: (this: PluginContext, code: string, chunk: RenderedChunk, outputOptions: NormalizedOutputOptions, meta: RenderedChunkMeta) => NullValue | string | RolldownMagicString | {
|
|
9202
|
+
code: string | RolldownMagicString;
|
|
9200
9203
|
map?: SourceMapInput;
|
|
9201
9204
|
};
|
|
9202
9205
|
/**
|
|
@@ -10048,6 +10051,8 @@ interface InputOptions {
|
|
|
10048
10051
|
*
|
|
10049
10052
|
* These options only take effect when running with the [`--watch`](/apis/cli#w-watch) flag, or using {@linkcode watch | watch()} API.
|
|
10050
10053
|
*
|
|
10054
|
+
*
|
|
10055
|
+
*
|
|
10051
10056
|
* @experimental
|
|
10052
10057
|
*/
|
|
10053
10058
|
watch?: WatcherOptions | false;
|
|
@@ -10116,7 +10121,7 @@ interface RolldownOptions extends InputOptions {
|
|
|
10116
10121
|
* @category Config
|
|
10117
10122
|
*/
|
|
10118
10123
|
//#endregion
|
|
10119
|
-
//#region node_modules/.pnpm/rolldown@1.0.0-rc.
|
|
10124
|
+
//#region node_modules/.pnpm/rolldown@1.0.0-rc.10/node_modules/rolldown/dist/shared/transform-B5D1aA1B.d.mts
|
|
10120
10125
|
//#endregion
|
|
10121
10126
|
//#region src/utils/transform.d.ts
|
|
10122
10127
|
/**
|
|
@@ -10152,13 +10157,13 @@ declare global {
|
|
|
10152
10157
|
interface URL {}
|
|
10153
10158
|
}
|
|
10154
10159
|
//#endregion
|
|
10155
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10160
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/internal/esbuildOptions.d.ts
|
|
10156
10161
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
10157
10162
|
type EsbuildTarget = string | string[];
|
|
10158
10163
|
type EsbuildTransformOptions = esbuild.TransformOptions;
|
|
10159
10164
|
type DepsOptimizerEsbuildOptions = Omit<esbuild.BuildOptions, 'bundle' | 'entryPoints' | 'external' | 'write' | 'watch' | 'outdir' | 'outfile' | 'outbase' | 'outExtension' | 'metafile'>;
|
|
10160
10165
|
//#endregion
|
|
10161
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10166
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/metadata.d.ts
|
|
10162
10167
|
interface AssetMetadata {
|
|
10163
10168
|
importedAssets: Set<string>;
|
|
10164
10169
|
importedCss: Set<string>;
|
|
@@ -10201,16 +10206,16 @@ declare module 'rolldown' {
|
|
|
10201
10206
|
}
|
|
10202
10207
|
}
|
|
10203
10208
|
//#endregion
|
|
10204
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10209
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/internal/terserOptions.d.ts
|
|
10205
10210
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
10206
10211
|
type TerserMinifyOptions = Terser.MinifyOptions;
|
|
10207
10212
|
//#endregion
|
|
10208
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10213
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/internal/lightningcssOptions.d.ts
|
|
10209
10214
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
10210
10215
|
type LightningCSSOptions = Omit<Lightningcss.BundleAsyncOptions<Lightningcss.CustomAtRules>, 'filename' | 'resolver' | 'minify' | 'sourceMap' | 'analyzeDependencies' // properties not overridden by Vite, but does not make sense to set by end users
|
|
10211
10216
|
| 'inputSourceMap' | 'projectRoot'>;
|
|
10212
10217
|
//#endregion
|
|
10213
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10218
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts
|
|
10214
10219
|
/* eslint-enable @typescript-eslint/ban-ts-comment */
|
|
10215
10220
|
// https://github.com/type-challenges/type-challenges/issues/29285
|
|
10216
10221
|
type IsAny<T> = boolean extends (T extends never ? true : false) ? true : false;
|
|
@@ -10229,7 +10234,7 @@ declare global {
|
|
|
10229
10234
|
interface HTMLLinkElement {}
|
|
10230
10235
|
}
|
|
10231
10236
|
//#endregion
|
|
10232
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10237
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/types/importGlob.d.ts
|
|
10233
10238
|
/**
|
|
10234
10239
|
* Declare Worker in case DOM is not added to the tsconfig lib causing
|
|
10235
10240
|
* Worker interface is not defined. For developers with DOM lib added,
|
|
@@ -10240,10 +10245,10 @@ declare global {
|
|
|
10240
10245
|
interface Worker {}
|
|
10241
10246
|
}
|
|
10242
10247
|
//#endregion
|
|
10243
|
-
//#region node_modules/.pnpm/vite@8.0.
|
|
10248
|
+
//#region node_modules/.pnpm/vite@8.0.1_@types+node@25.5.0_esbuild@0.27.4_jiti@2.6.1_tsx@4.21.0/node_modules/vite/dist/node/index.d.ts
|
|
10244
10249
|
//#region \0rolldown/runtime.js
|
|
10245
10250
|
//#endregion
|
|
10246
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.
|
|
10251
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.0_typescript@5.9.3_vite@packages+vite_vue@3.5.30_typescript@5.9.3_/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
10247
10252
|
//#region src/node/cli-commands.d.ts
|
|
10248
10253
|
interface StartOptions {
|
|
10249
10254
|
root?: string;
|
|
@@ -10252,7 +10257,7 @@ interface StartOptions {
|
|
|
10252
10257
|
port?: string | number;
|
|
10253
10258
|
open?: boolean;
|
|
10254
10259
|
} //#endregion
|
|
10255
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.
|
|
10260
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.0_typescript@5.9.3_vite@packages+vite_vue@3.5.30_typescript@5.9.3_/node_modules/@vitejs/devtools/dist/config.d.ts
|
|
10256
10261
|
//#region src/node/config.d.ts
|
|
10257
10262
|
interface DevToolsConfig extends Partial<StartOptions> {
|
|
10258
10263
|
enabled: boolean;
|