@yak/react 0.0.0-stage → 10.0.0-rc.1

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.
Files changed (91) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +114 -2
  3. package/dist/context/baseContext.d.ts +5 -0
  4. package/dist/context/baseContext.js +8 -0
  5. package/dist/context/baseContext.js.map +1 -0
  6. package/dist/context/index.d.ts +20 -0
  7. package/dist/context/index.js +15 -0
  8. package/dist/context/index.js.map +1 -0
  9. package/dist/context/index.server.d.ts +9 -0
  10. package/dist/context/index.server.js +17 -0
  11. package/dist/context/index.server.js.map +1 -0
  12. package/dist/cross-file-resolver/index.d.ts +199 -0
  13. package/dist/cross-file-resolver/index.js +569 -0
  14. package/dist/cross-file-resolver/index.js.map +1 -0
  15. package/dist/index.d.ts +320 -0
  16. package/dist/index.js +2 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/internal.d.ts +452 -0
  19. package/dist/internal.js +363 -0
  20. package/dist/internal.js.map +1 -0
  21. package/dist/isolated-source-eval/index.d.ts +30 -0
  22. package/dist/isolated-source-eval/index.js +317 -0
  23. package/dist/isolated-source-eval/index.js.map +1 -0
  24. package/dist/isolated-source-eval/worker.js +59 -0
  25. package/dist/isolated-source-eval/worker.js.map +1 -0
  26. package/dist/jsx-dev-runtime.d.ts +7 -0
  27. package/dist/jsx-dev-runtime.js +2 -0
  28. package/dist/jsx-dev-runtime.js.map +1 -0
  29. package/dist/jsx-runtime.d.ts +38 -0
  30. package/dist/jsx-runtime.js +2 -0
  31. package/dist/jsx-runtime.js.map +1 -0
  32. package/dist/loaders/turbo-loader.d.ts +15 -0
  33. package/dist/loaders/turbo-loader.js +816 -0
  34. package/dist/loaders/turbo-loader.js.map +1 -0
  35. package/dist/loaders/vite-plugin.d.ts +103 -0
  36. package/dist/loaders/vite-plugin.js +885 -0
  37. package/dist/loaders/vite-plugin.js.map +1 -0
  38. package/dist/loaders/webpack-loader.d.ts +12 -0
  39. package/dist/loaders/webpack-loader.js +710 -0
  40. package/dist/loaders/webpack-loader.js.map +1 -0
  41. package/dist/rsbuild/index.d.ts +29 -0
  42. package/dist/rsbuild/index.js +51 -0
  43. package/dist/rsbuild/index.js.map +1 -0
  44. package/dist/static/chunk-DK3Fl9T5.js +1 -0
  45. package/dist/static/index.d.ts +28 -0
  46. package/dist/static/index.js +2 -0
  47. package/dist/static/index.js.map +1 -0
  48. package/dist/withYak/index.d.ts +112 -0
  49. package/dist/withYak/index.js +171 -0
  50. package/dist/withYak/index.js.map +1 -0
  51. package/loaders/lib/resolveCrossFileSelectors.ts +161 -0
  52. package/loaders/turbo-evaluator.ts +134 -0
  53. package/loaders/turbo-loader.ts +184 -0
  54. package/loaders/vite-plugin.ts +28 -0
  55. package/loaders/webpack-loader.ts +41 -0
  56. package/package.json +155 -3
  57. package/rsbuild/index.ts +91 -0
  58. package/runtime/__tests__/atoms.test.tsx +48 -0
  59. package/runtime/__tests__/attrs.test.tsx +490 -0
  60. package/runtime/__tests__/cssLiteral.test.tsx +503 -0
  61. package/runtime/__tests__/cssProp.test.tsx +392 -0
  62. package/runtime/__tests__/cssPropTest.tsx +227 -0
  63. package/runtime/__tests__/foldedJsxParity.test.tsx +117 -0
  64. package/runtime/__tests__/styled.test.tsx +653 -0
  65. package/runtime/__tests__/tsconfig.json +18 -0
  66. package/runtime/__tests__/typeTest.tsx +374 -0
  67. package/runtime/atoms.tsx +36 -0
  68. package/runtime/context/README.md +84 -0
  69. package/runtime/context/baseContext.tsx +5 -0
  70. package/runtime/context/index.server.tsx +22 -0
  71. package/runtime/context/index.tsx +36 -0
  72. package/runtime/cssLiteral.tsx +214 -0
  73. package/runtime/globalStyle.tsx +54 -0
  74. package/runtime/index.ts +37 -0
  75. package/runtime/internal.ts +42 -0
  76. package/runtime/internals/mergeClassNames.ts +23 -0
  77. package/runtime/internals/mergeCssProp.ts +69 -0
  78. package/runtime/internals/propMarkers.ts +20 -0
  79. package/runtime/internals/unitPostFix.ts +34 -0
  80. package/runtime/jsx-dev-runtime.ts +6 -0
  81. package/runtime/jsx-runtime.ts +48 -0
  82. package/runtime/keyframes.tsx +30 -0
  83. package/runtime/mocks/cssLiteral.ts +74 -0
  84. package/runtime/mocks/globalStyle.ts +14 -0
  85. package/runtime/mocks/keyframes.ts +29 -0
  86. package/runtime/mocks/styled.ts +8 -0
  87. package/runtime/publicStyledApi.ts +159 -0
  88. package/runtime/styled.tsx +372 -0
  89. package/runtime/styledDom.tsx +139 -0
  90. package/withYak/allow-global-css.ts +94 -0
  91. package/withYak/index.ts +268 -0
@@ -0,0 +1,452 @@
1
+ import React$1 from "react";
2
+ import { YakThemeProvider, useTheme } from "@yak/react/context";
3
+ //#region runtime/context/index.d.ts
4
+ interface YakTheme {}
5
+ //#endregion
6
+ //#region runtime/publicStyledApi.d.ts
7
+ /**
8
+ * Main styled interface that combines HTML tag mappings with the styled function.
9
+ * This is the primary entry point for creating styled components.
10
+ */
11
+ interface Styled extends MappedHtmlTags, StyledFn {}
12
+ /**
13
+ * Function interface for creating styled components from any component or HTML tag.
14
+ * Supports React components, HTML tags, and custom web components.
15
+ */
16
+ interface StyledFn {
17
+ <TProps extends object = React$1.DOMAttributes<Element> & React$1.RefAttributes<Element>>(Component: HtmlTags | React$1.FunctionComponent<TProps> | CustomWebComponentTag): LiteralWithAttrs<TProps>;
18
+ }
19
+ /**
20
+ * A yak component with a special symbol that allows component targeting
21
+ * and proper attrs function handling.
22
+ * @example styled.svg`${Button}:hover & { fill: red; }` or styled(Button)`color: red;`
23
+ */
24
+ interface YakComponent<T> extends React$1.FunctionComponent<T> {
25
+ [yakComponentSymbol]: [unknown, unknown, unknown, unknown];
26
+ }
27
+ /**
28
+ * Styled component with attrs method for adding default props.
29
+ * Extends StyledLiteral with the ability to specify default attributes.
30
+ */
31
+ interface LiteralWithAttrs<T extends object> extends StyledLiteral<T> {
32
+ attrs: <TAttrsIn extends object = {}, TAttrsOut extends AttrsMerged<T, TAttrsIn> = AttrsMerged<T, TAttrsIn>>(attrs: Attrs<T, TAttrsIn, TAttrsOut>) => StyledLiteral<Substitute<T, TAttrsIn>>;
33
+ }
34
+ /**
35
+ * Template literal function for defining CSS styles with interpolation support.
36
+ * Accepts CSS template strings and interpolated values with proper typing.
37
+ */
38
+ interface StyledLiteral<T> {
39
+ <TCSSProps>(styles: TemplateStringsArray, ...values: Array<CSSInterpolation<T & NoInfer<TCSSProps> & {
40
+ theme: YakTheme;
41
+ }>>): YakComponent<TCSSProps & T>;
42
+ }
43
+ /**
44
+ * Function variant of attrs that receives current props and returns additional props.
45
+ * Allows for dynamic prop generation based on component state.
46
+ */
47
+ interface AttrsFunction<TBaseProps, TIn extends object = {}, TOut extends AttrsMerged<TBaseProps, TIn> = AttrsMerged<TBaseProps, TIn>> {
48
+ (p: Substitute<TBaseProps & {
49
+ theme: YakTheme;
50
+ }, TIn>): Partial<TOut>;
51
+ }
52
+ /**
53
+ * Merges provided props with initial props, making specified props optional.
54
+ * Includes theme support for styled components.
55
+ */
56
+ type AttrsMerged<TBaseProps, TIn extends object = {}> = Substitute<TBaseProps & {
57
+ theme?: YakTheme;
58
+ }, TIn>;
59
+ /**
60
+ * Maps all HTML tag names to their corresponding styled component types with attributes support.
61
+ * Provides typed access to all standard HTML elements through the styled interface.
62
+ */
63
+ type MappedHtmlTags = { [Tag in HtmlTags]: LiteralWithAttrs<React$1.JSX.IntrinsicElements[Tag]>; };
64
+ /**
65
+ * The attrs function allows adding additional props to a styled component.
66
+ * Props can be specified as an object or as a function that receives current props.
67
+ */
68
+ type Attrs<TBaseProps, TIn extends object = {}, TOut extends AttrsMerged<TBaseProps, TIn> = AttrsMerged<TBaseProps, TIn>> = Partial<TOut> | AttrsFunction<TBaseProps, TIn, TOut>;
69
+ /**
70
+ * Utility type to merge two object types, with properties from B taking precedence.
71
+ * If a property exists in both A and B, the property from B is used.
72
+ */
73
+ type Substitute<A extends object, B extends object> = FastOmit<A, keyof B> & B;
74
+ /**
75
+ * Union type of all valid HTML element tag names.
76
+ * Derived from React's JSX intrinsic elements.
77
+ */
78
+ type HtmlTags = keyof React$1.JSX.IntrinsicElements;
79
+ /**
80
+ * Custom web component tag pattern that must contain at least one hyphen.
81
+ * Follows the web component naming convention.
82
+ */
83
+ type CustomWebComponentTag = `${string}-${string}`;
84
+ /**
85
+ * Utility type to efficiently remove properties from an object type.
86
+ * More performant than the built-in Omit type for large object types.
87
+ */
88
+ type FastOmit<T extends object, U extends string | number | symbol> = { [K in keyof T as K extends U ? never : K]: T[K]; };
89
+ /**
90
+ * Set-like collector for class names
91
+ *
92
+ * The runtime implements this as a string builder, a real `Set<string>`
93
+ * satisfies it as well
94
+ */
95
+ type ClassNameCollector = {
96
+ add(className: string): void;
97
+ has(className: string): boolean;
98
+ delete(className: string): void;
99
+ };
100
+ /**
101
+ * Type of all functions that can be passed to manipulate styles
102
+ *
103
+ * `$dynamic` marks processors that execute user functions or write style
104
+ * values at render time; purely static processors (class names only) can
105
+ * skip theme lookup and style-object allocation.
106
+ */
107
+ type RuntimeStyleProcessor<T> = ((props: T, classNames: ClassNameCollector, style: React$1.CSSProperties) => void) & {
108
+ $dynamic?: boolean;
109
+ };
110
+ //#endregion
111
+ //#region runtime/atoms.d.ts
112
+ /**
113
+ * Allows to use atomic CSS classes in a styled or css block
114
+ *
115
+ * @usage
116
+ *
117
+ * ```tsx
118
+ * import { styled, atoms } from "@yak/react";
119
+ *
120
+ * const Button = styled.button<{ $primary?: boolean }>`
121
+ * ${atoms("text-teal-600", "text-base", "rounded-md")}
122
+ * ${props => props.$primary && atoms("shadow-md")}
123
+ * `;
124
+ * ```
125
+ */
126
+ export declare const atoms: <T>(...atoms: (string | RuntimeStyleProcessor<T> | false)[]) => ComponentStyles<T>;
127
+ //#endregion
128
+ //#region runtime/keyframes.d.ts
129
+ /**
130
+ * Allows to use CSS keyframe animations in a styled or css block
131
+ *
132
+ * @usage
133
+ *
134
+ * ```tsx
135
+ * import { styled, keyframes } from "@yak/react";
136
+ *
137
+ * const rotate = keyframes`
138
+ * from {
139
+ * transform: rotate(0deg);
140
+ * }
141
+ * to {
142
+ * transform: rotate(360deg);
143
+ * }
144
+ * `;
145
+ *
146
+ * const Spinner = styled.div`
147
+ * animation: ${rotate} 1s linear infinite;
148
+ * `;
149
+ * ```
150
+ */
151
+ export declare const keyframes: <T extends (string | number | bigint)[] = never>(styles: TemplateStringsArray, ..._dynamic: T) => string;
152
+ //#endregion
153
+ //#region runtime/styled.d.ts
154
+ /**
155
+ * The `styled` method works perfectly on all of your own or any third-party component,
156
+ * as long as they attach the passed className prop to a DOM element.
157
+ *
158
+ * @usage
159
+ *
160
+ * ```tsx
161
+ * const StyledLink = styled(Link)`
162
+ * color: #BF4F74;
163
+ * font-weight: bold;
164
+ * `;
165
+ * ```
166
+ */
167
+ export declare const styled: Styled;
168
+ //#endregion
169
+ //#region runtime/globalStyle.d.ts
170
+ /**
171
+ * Values that may be interpolated into a `globalStyle` template.
172
+ *
173
+ * Only build-time values are allowed — constants, `keyframes` animation names,
174
+ * static `css` mixins and styled-component selectors. Runtime functions
175
+ * (`${(props) => ...}`) are intentionally excluded: a global rule has no element
176
+ * to attach a CSS variable to. Declare a CSS custom property instead and toggle
177
+ * it via an attribute/class on the root element.
178
+ */
179
+ type GlobalStyleInterpolation = string | number | ComponentStyles<{}> | YakComponent<any>;
180
+ /**
181
+ * Declares global, unscoped styles that ride the same zero-runtime extraction
182
+ * pipeline as `styled` and `keyframes`.
183
+ *
184
+ * Global styles are **part of the stylesheet, not part of the render tree**.
185
+ * They apply exactly when the module declaring them is included in the bundle —
186
+ * typically by importing it from a layout or entry point. They cannot be
187
+ * conditionally mounted; express conditions in CSS (`@media`, `@supports`,
188
+ * `:root[data-theme]`, `:has()`) or through CSS custom properties.
189
+ *
190
+ * @usage
191
+ *
192
+ * ```tsx
193
+ * import { globalStyle, keyframes } from "@yak/react";
194
+ *
195
+ * const fadeIn = keyframes`
196
+ * from { opacity: 0; }
197
+ * `;
198
+ *
199
+ * globalStyle`
200
+ * :root {
201
+ * --spacing: 4px;
202
+ * }
203
+ *
204
+ * body {
205
+ * margin: 0;
206
+ * }
207
+ *
208
+ * ::view-transition-new(root) {
209
+ * animation: ${fadeIn} 200ms ease;
210
+ * }
211
+ * `;
212
+ * ```
213
+ */
214
+ export declare const globalStyle: (_styles: TemplateStringsArray, ..._values: Array<GlobalStyleInterpolation>) => void;
215
+ //#endregion
216
+ //#region runtime/cssLiteral.d.ts
217
+ declare const yakComponentSymbol: unique symbol;
218
+ type ComponentStyles<TProps> = (props: TProps) => {
219
+ className: string;
220
+ style?: {
221
+ [key: string]: string;
222
+ };
223
+ };
224
+ type CSSInterpolation<TProps> = string | number | undefined | null | false | ComponentStyles<TProps> | {
225
+ [yakComponentSymbol]: any;
226
+ } | ((props: TProps) => CSSInterpolation<TProps>);
227
+ /**
228
+ * css() runtime factory of css``
229
+ *
230
+ * /!\ @yak/react transpiles css`` and styled``
231
+ *
232
+ * This changes the typings of the css`` and styled`` functions.
233
+ * During development the user of @yak/react wants to work with the
234
+ * typings BEFORE compilation.
235
+ *
236
+ * Therefore this is only an internal function only and it must be cast to any
237
+ * before exported to the user.
238
+ *
239
+ * The internal functioning of css`` is to return a single callback function that runs all functions
240
+ * (or creates new ones if needed) that are passed as arguments. These functions receive the props, classNames, and style object as arguments
241
+ * and operate directly on the classNames and style objects.
242
+ */
243
+ export declare function css<TProps>(styles: TemplateStringsArray, ...values: CSSInterpolation<NoInfer<TProps> & {
244
+ theme: YakTheme;
245
+ }>[]): ComponentStyles<TProps>;
246
+ //#endregion
247
+ //#region runtime/internals/unitPostFix.d.ts
248
+ /**
249
+ * Internal helper called by transformed code - Do not use directly
250
+ *
251
+ * Takes a function and a css unit and returns the result of the function concatenated with the unit
252
+ *
253
+ * ```tsx
254
+ * import { styled } from "@yak/react";
255
+ *
256
+ * const Button = styled.button<{ $width?: boolean }>`
257
+ * width: ${({ $width }) => $width}px;
258
+ * `;
259
+ * ```
260
+ *
261
+ * Which will be transformed to:
262
+ * ```tsx
263
+ * import { styled } from "@yak/react/internals";
264
+ *
265
+ * const Button = styled.button<{ $width?: boolean }>(
266
+ * "button", {
267
+ * width: unitPostFix({ $width }) => $width, "px")
268
+ * });
269
+ */
270
+ declare const unitPostFix: (arg: unknown, unit: string) => string | ((props: any) => string | /*elided*/ any | undefined) | undefined;
271
+ //#endregion
272
+ //#region runtime/internals/mergeCssProp.d.ts
273
+ /**
274
+ * This is an internal helper function to merge relevant props of a native element with a css prop.
275
+ * It's automatically added when using the `css` prop in a JSX element.
276
+ * e.g.:
277
+ * ```tsx
278
+ * <p
279
+ * className="foo"
280
+ * css={css`
281
+ * color: green;
282
+ * `}
283
+ * {...{ style: { padding: "30px" }}}
284
+ * />
285
+ * ```
286
+ * compiles to
287
+ * ```tsx
288
+ * <p {...__yak_mergeCssProp(css("yakCss1"), { className: "foo" }, { style: { padding: "30px" } })} />
289
+ * ```
290
+ * The css value comes first, then every merged source in JSX order, so a
291
+ * later source wins as it would in one object literal.
292
+ */
293
+ declare const mergeCssProp: (cssProp: RuntimeStyleProcessor<unknown> | false | null | undefined, ...sources: (Record<string, unknown> | null | undefined)[]) => Record<string, unknown> & {
294
+ className?: string;
295
+ style?: Record<string, string>;
296
+ };
297
+ //#endregion
298
+ //#region runtime/internals/mergeClassNames.d.ts
299
+ /**
300
+ * Merges two optional class name values with a space.
301
+ *
302
+ * Used by the styled runtime to combine incoming and generated class names,
303
+ * and injected by the compiler (as `__yak_mergeClassNames`) when it replaces
304
+ * a JSX usage of a fully static styled component with a plain DOM element:
305
+ * ```tsx
306
+ * const Card = styled.div`color: red;`;
307
+ * <Card className={active && "active"} />
308
+ * ```
309
+ * becomes
310
+ * ```tsx
311
+ * <div className={__yak_mergeClassNames("yX", active && "active")} />
312
+ * ```
313
+ */
314
+ declare const mergeClassNames: (a: string | false | null | undefined, b: string | false | null | undefined) => string | undefined;
315
+ //#endregion
316
+ //#region runtime/styledDom.d.ts
317
+ export declare const __yak_a: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
318
+ export declare const __yak_abbr: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
319
+ export declare const __yak_address: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
320
+ export declare const __yak_area: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
321
+ export declare const __yak_article: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
322
+ export declare const __yak_aside: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
323
+ export declare const __yak_audio: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
324
+ export declare const __yak_b: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
325
+ export declare const __yak_base: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
326
+ export declare const __yak_bdi: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
327
+ export declare const __yak_bdo: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
328
+ export declare const __yak_big: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
329
+ export declare const __yak_blockquote: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
330
+ export declare const __yak_body: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
331
+ export declare const __yak_br: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
332
+ export declare const __yak_button: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
333
+ export declare const __yak_canvas: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
334
+ export declare const __yak_caption: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
335
+ export declare const __yak_cite: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
336
+ export declare const __yak_code: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
337
+ export declare const __yak_col: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
338
+ export declare const __yak_colgroup: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
339
+ export declare const __yak_data: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
340
+ export declare const __yak_datalist: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
341
+ export declare const __yak_dd: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
342
+ export declare const __yak_del: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
343
+ export declare const __yak_details: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
344
+ export declare const __yak_dfn: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
345
+ export declare const __yak_dialog: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
346
+ export declare const __yak_div: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
347
+ export declare const __yak_dl: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
348
+ export declare const __yak_dt: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
349
+ export declare const __yak_em: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
350
+ export declare const __yak_embed: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
351
+ export declare const __yak_fieldset: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
352
+ export declare const __yak_figcaption: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
353
+ export declare const __yak_figure: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
354
+ export declare const __yak_footer: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
355
+ export declare const __yak_form: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
356
+ export declare const __yak_h1: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
357
+ export declare const __yak_h2: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
358
+ export declare const __yak_h3: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
359
+ export declare const __yak_h4: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
360
+ export declare const __yak_h5: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
361
+ export declare const __yak_h6: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
362
+ export declare const __yak_header: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
363
+ export declare const __yak_hgroup: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
364
+ export declare const __yak_hr: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
365
+ export declare const __yak_html: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
366
+ export declare const __yak_i: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
367
+ export declare const __yak_iframe: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
368
+ export declare const __yak_img: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
369
+ export declare const __yak_input: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
370
+ export declare const __yak_ins: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
371
+ export declare const __yak_kbd: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
372
+ export declare const __yak_keygen: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
373
+ export declare const __yak_label: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
374
+ export declare const __yak_legend: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
375
+ export declare const __yak_li: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
376
+ export declare const __yak_link: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
377
+ export declare const __yak_main: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
378
+ export declare const __yak_map: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
379
+ export declare const __yak_mark: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
380
+ export declare const __yak_menu: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
381
+ export declare const __yak_menuitem: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
382
+ export declare const __yak_meta: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
383
+ export declare const __yak_meter: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
384
+ export declare const __yak_nav: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
385
+ export declare const __yak_noscript: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
386
+ export declare const __yak_object: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
387
+ export declare const __yak_ol: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
388
+ export declare const __yak_optgroup: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
389
+ export declare const __yak_option: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
390
+ export declare const __yak_output: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
391
+ export declare const __yak_p: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
392
+ export declare const __yak_param: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
393
+ export declare const __yak_picture: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
394
+ export declare const __yak_pre: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
395
+ export declare const __yak_progress: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
396
+ export declare const __yak_q: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
397
+ export declare const __yak_rp: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
398
+ export declare const __yak_rt: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
399
+ export declare const __yak_ruby: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
400
+ export declare const __yak_s: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
401
+ export declare const __yak_samp: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
402
+ export declare const __yak_script: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
403
+ export declare const __yak_section: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
404
+ export declare const __yak_select: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
405
+ export declare const __yak_small: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
406
+ export declare const __yak_source: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
407
+ export declare const __yak_span: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
408
+ export declare const __yak_strong: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
409
+ export declare const __yak_style: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
410
+ export declare const __yak_sub: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
411
+ export declare const __yak_summary: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
412
+ export declare const __yak_sup: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
413
+ export declare const __yak_table: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
414
+ export declare const __yak_tbody: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
415
+ export declare const __yak_td: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
416
+ export declare const __yak_textarea: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
417
+ export declare const __yak_tfoot: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
418
+ export declare const __yak_th: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
419
+ export declare const __yak_thead: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
420
+ export declare const __yak_time: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
421
+ export declare const __yak_tr: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
422
+ export declare const __yak_track: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
423
+ export declare const __yak_u: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
424
+ export declare const __yak_ul: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
425
+ export declare const __yak_use: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
426
+ export declare const __yak_var: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
427
+ export declare const __yak_video: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
428
+ export declare const __yak_wbr: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
429
+ export declare const __yak_circle: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
430
+ export declare const __yak_clipPath: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
431
+ export declare const __yak_defs: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
432
+ export declare const __yak_ellipse: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
433
+ export declare const __yak_foreignObject: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
434
+ export declare const __yak_g: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
435
+ export declare const __yak_image: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
436
+ export declare const __yak_line: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
437
+ export declare const __yak_linearGradient: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
438
+ export declare const __yak_marker: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
439
+ export declare const __yak_mask: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
440
+ export declare const __yak_path: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
441
+ export declare const __yak_pattern: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
442
+ export declare const __yak_polygon: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
443
+ export declare const __yak_polyline: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
444
+ export declare const __yak_radialGradient: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
445
+ export declare const __yak_rect: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
446
+ export declare const __yak_stop: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
447
+ export declare const __yak_svg: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
448
+ export declare const __yak_text: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
449
+ export declare const __yak_tspan: LiteralWithAttrs<import("react").DOMAttributes<Element> & import("react").RefAttributes<Element>>;
450
+ //#endregion
451
+ export { YakThemeProvider, mergeClassNames as __yak_mergeClassNames, mergeCssProp as __yak_mergeCssProp, unitPostFix as __yak_unitPostFix, useTheme };
452
+ //# sourceMappingURL=internal.d.ts.map