tenara-ui-components 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/molecules/primax/Banner/Banner.d.ts +2 -4
- package/dist/components/molecules/primax/Banner/Banner.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/assets/angle-divider-solid.svg +0 -4
- package/dist/assets/angle-divider.svg +0 -5
- package/dist/assets/banner_image.jpg +0 -0
- package/dist/assets/card-insights.png +0 -0
- package/dist/assets/card-team-member.png +0 -0
- package/dist/assets/file.svg +0 -1
- package/dist/assets/globe.svg +0 -1
- package/dist/assets/media-block.jpg +0 -0
- package/dist/assets/media_block.png +0 -0
- package/dist/assets/next.svg +0 -1
- package/dist/assets/play-button.svg +0 -14
- package/dist/assets/primax-play-button.png +0 -0
- package/dist/assets/spark-icon-large.svg +0 -3
- package/dist/assets/spark-icon-small.svg +0 -3
- package/dist/assets/spark-mask.svg +0 -3
- package/dist/assets/spark-pattern.png +0 -0
- package/dist/assets/spark-small-sparks.svg +0 -4
- package/dist/assets/sparkle-overlay.svg +0 -9
- package/dist/assets/vercel.svg +0 -1
- package/dist/assets/video-thumbnail.jpg +0 -0
- package/dist/assets/window.svg +0 -1
- package/dist/components/atoms/BackgroundMedia/BackgroundMedia.d.ts +0 -19
- package/dist/components/atoms/BackgroundMedia/BackgroundMedia.d.ts.map +0 -1
- package/dist/components/atoms/BackgroundMedia/index.d.ts +0 -3
- package/dist/components/atoms/BackgroundMedia/index.d.ts.map +0 -1
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts +0 -14
- package/dist/components/atoms/Breadcrumb/Breadcrumb.d.ts.map +0 -1
- package/dist/components/atoms/Breadcrumb/index.d.ts +0 -3
- package/dist/components/atoms/Breadcrumb/index.d.ts.map +0 -1
- package/dist/components/atoms/BulletList/BulletList.d.ts +0 -22
- package/dist/components/atoms/BulletList/BulletList.d.ts.map +0 -1
- package/dist/components/atoms/BulletList/index.d.ts +0 -3
- package/dist/components/atoms/BulletList/index.d.ts.map +0 -1
- package/dist/components/atoms/Button/Button.d.ts +0 -36
- package/dist/components/atoms/Button/Button.d.ts.map +0 -1
- package/dist/components/atoms/Button/buttonIcons.d.ts +0 -24
- package/dist/components/atoms/Button/buttonIcons.d.ts.map +0 -1
- package/dist/components/atoms/Button/index.d.ts +0 -3
- package/dist/components/atoms/Button/index.d.ts.map +0 -1
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts +0 -34
- package/dist/components/atoms/ButtonLink/ButtonLink.d.ts.map +0 -1
- package/dist/components/atoms/ButtonLink/index.d.ts +0 -3
- package/dist/components/atoms/ButtonLink/index.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -24
- package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/atoms/Checkbox/index.d.ts +0 -3
- package/dist/components/atoms/Checkbox/index.d.ts.map +0 -1
- package/dist/components/atoms/ColorTable/ColorTable.d.ts +0 -12
- package/dist/components/atoms/ColorTable/ColorTable.d.ts.map +0 -1
- package/dist/components/atoms/ColorTable/index.d.ts +0 -3
- package/dist/components/atoms/ColorTable/index.d.ts.map +0 -1
- package/dist/components/atoms/Container/Container.d.ts +0 -15
- package/dist/components/atoms/Container/Container.d.ts.map +0 -1
- package/dist/components/atoms/Container/index.d.ts +0 -3
- package/dist/components/atoms/Container/index.d.ts.map +0 -1
- package/dist/components/atoms/Divider/Divider.d.ts +0 -20
- package/dist/components/atoms/Divider/Divider.d.ts.map +0 -1
- package/dist/components/atoms/Divider/index.d.ts +0 -3
- package/dist/components/atoms/Divider/index.d.ts.map +0 -1
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +0 -32
- package/dist/components/atoms/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/components/atoms/Dropdown/index.d.ts +0 -3
- package/dist/components/atoms/Dropdown/index.d.ts.map +0 -1
- package/dist/components/atoms/Grid/Grid.d.ts +0 -113
- package/dist/components/atoms/Grid/Grid.d.ts.map +0 -1
- package/dist/components/atoms/Grid/index.d.ts +0 -3
- package/dist/components/atoms/Grid/index.d.ts.map +0 -1
- package/dist/components/atoms/Heading/Heading.d.ts +0 -37
- package/dist/components/atoms/Heading/Heading.d.ts.map +0 -1
- package/dist/components/atoms/Heading/index.d.ts +0 -3
- package/dist/components/atoms/Heading/index.d.ts.map +0 -1
- package/dist/components/atoms/Icon/Icon.d.ts +0 -42
- package/dist/components/atoms/Icon/Icon.d.ts.map +0 -1
- package/dist/components/atoms/Icon/index.d.ts +0 -3
- package/dist/components/atoms/Icon/index.d.ts.map +0 -1
- package/dist/components/atoms/Media/Media.d.ts +0 -63
- package/dist/components/atoms/Media/Media.d.ts.map +0 -1
- package/dist/components/atoms/Media/index.d.ts +0 -3
- package/dist/components/atoms/Media/index.d.ts.map +0 -1
- package/dist/components/atoms/Modal/Modal.d.ts +0 -24
- package/dist/components/atoms/Modal/Modal.d.ts.map +0 -1
- package/dist/components/atoms/Modal/index.d.ts +0 -3
- package/dist/components/atoms/Modal/index.d.ts.map +0 -1
- package/dist/components/atoms/Paragraph/Paragraph.d.ts +0 -41
- package/dist/components/atoms/Paragraph/Paragraph.d.ts.map +0 -1
- package/dist/components/atoms/Paragraph/index.d.ts +0 -3
- package/dist/components/atoms/Paragraph/index.d.ts.map +0 -1
- package/dist/components/atoms/PlayButton/PlayButton.d.ts +0 -26
- package/dist/components/atoms/PlayButton/PlayButton.d.ts.map +0 -1
- package/dist/components/atoms/PlayButton/index.d.ts +0 -3
- package/dist/components/atoms/PlayButton/index.d.ts.map +0 -1
- package/dist/components/atoms/RichText/RichText.d.ts +0 -21
- package/dist/components/atoms/RichText/RichText.d.ts.map +0 -1
- package/dist/components/atoms/RichText/index.d.ts +0 -3
- package/dist/components/atoms/RichText/index.d.ts.map +0 -1
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts +0 -11
- package/dist/components/atoms/TestTierVariables/TestTierVariables.d.ts.map +0 -1
- package/dist/components/atoms/TestTierVariables/index.d.ts +0 -3
- package/dist/components/atoms/TestTierVariables/index.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +0 -44
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +0 -1
- package/dist/components/atoms/TextInput/index.d.ts +0 -3
- package/dist/components/atoms/TextInput/index.d.ts.map +0 -1
- package/dist/components/atoms/TextLink/TextLink.d.ts +0 -19
- package/dist/components/atoms/TextLink/TextLink.d.ts.map +0 -1
- package/dist/components/atoms/TextLink/index.d.ts +0 -3
- package/dist/components/atoms/TextLink/index.d.ts.map +0 -1
- package/dist/components/molecules/CTA/CTA.d.ts +0 -34
- package/dist/components/molecules/CTA/CTA.d.ts.map +0 -1
- package/dist/components/molecules/CTA/index.d.ts +0 -3
- package/dist/components/molecules/CTA/index.d.ts.map +0 -1
- package/dist/components/molecules/Card/Card.d.ts +0 -23
- package/dist/components/molecules/Card/Card.d.ts.map +0 -1
- package/dist/components/molecules/Card/index.d.ts +0 -3
- package/dist/components/molecules/Card/index.d.ts.map +0 -1
- package/dist/components/molecules/Header/Header.d.ts +0 -13
- package/dist/components/molecules/Header/Header.d.ts.map +0 -1
- package/dist/components/molecules/Header/index.d.ts +0 -3
- package/dist/components/molecules/Header/index.d.ts.map +0 -1
- package/dist/components/molecules/Modal/Modal.d.ts +0 -26
- package/dist/components/molecules/Modal/Modal.d.ts.map +0 -1
- package/dist/components/molecules/Modal/index.d.ts +0 -3
- package/dist/components/molecules/Modal/index.d.ts.map +0 -1
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts +0 -29
- package/dist/components/molecules/VideoPlayer/VideoPlayer.d.ts.map +0 -1
- package/dist/components/molecules/VideoPlayer/index.d.ts +0 -3
- package/dist/components/molecules/VideoPlayer/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/CTA/CTA.d.ts +0 -28
- package/dist/components/molecules/primax/CTA/CTA.d.ts.map +0 -1
- package/dist/components/molecules/primax/CTA/index.d.ts +0 -3
- package/dist/components/molecules/primax/CTA/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/Card/Card.d.ts +0 -46
- package/dist/components/molecules/primax/Card/Card.d.ts.map +0 -1
- package/dist/components/molecules/primax/Card/index.d.ts +0 -3
- package/dist/components/molecules/primax/Card/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/DropdownSelect/DropdownSelect.d.ts +0 -50
- package/dist/components/molecules/primax/DropdownSelect/DropdownSelect.d.ts.map +0 -1
- package/dist/components/molecules/primax/DropdownSelect/index.d.ts +0 -3
- package/dist/components/molecules/primax/DropdownSelect/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts +0 -60
- package/dist/components/molecules/primax/HalfColumn/HalfColumn.d.ts.map +0 -1
- package/dist/components/molecules/primax/HalfColumn/index.d.ts +0 -3
- package/dist/components/molecules/primax/HalfColumn/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts +0 -45
- package/dist/components/molecules/primax/MediaBlock/MediaBlock.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaBlock/assets.d.ts +0 -10
- package/dist/components/molecules/primax/MediaBlock/assets.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaBlock/index.d.ts +0 -3
- package/dist/components/molecules/primax/MediaBlock/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts +0 -8
- package/dist/components/molecules/primax/MediaPresentation/MediaPresentation.d.ts.map +0 -1
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts +0 -2
- package/dist/components/molecules/primax/MediaPresentation/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts +0 -11
- package/dist/components/molecules/primax/PlayIcon/PlayIcon.d.ts.map +0 -1
- package/dist/components/molecules/primax/PlayIcon/index.d.ts +0 -2
- package/dist/components/molecules/primax/PlayIcon/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts +0 -58
- package/dist/components/molecules/primax/Subscribe/Subscribe.d.ts.map +0 -1
- package/dist/components/molecules/primax/Subscribe/index.d.ts +0 -3
- package/dist/components/molecules/primax/Subscribe/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts +0 -37
- package/dist/components/molecules/primax/TwoColumn/TwoColumn.d.ts.map +0 -1
- package/dist/components/molecules/primax/TwoColumn/index.d.ts +0 -3
- package/dist/components/molecules/primax/TwoColumn/index.d.ts.map +0 -1
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts +0 -31
- package/dist/components/molecules/primax/VideoSection/VideoSection.d.ts.map +0 -1
- package/dist/components/molecules/primax/VideoSection/index.d.ts +0 -3
- package/dist/components/molecules/primax/VideoSection/index.d.ts.map +0 -1
- package/dist/components/pages/Page.d.ts +0 -4
- package/dist/components/pages/Page.d.ts.map +0 -1
- package/dist/components/pages/index.d.ts +0 -2
- package/dist/components/pages/index.d.ts.map +0 -1
- package/dist/components/utilities/ThemeInitializer.d.ts +0 -2
- package/dist/components/utilities/ThemeInitializer.d.ts.map +0 -1
- package/dist/components/utilities/index.d.ts +0 -2
- package/dist/components/utilities/index.d.ts.map +0 -1
- package/dist/themes/core/client-provider.d.ts +0 -8
- package/dist/themes/core/client-provider.d.ts.map +0 -1
- package/dist/themes/core/color-system.d.ts +0 -72
- package/dist/themes/core/color-system.d.ts.map +0 -1
- package/dist/themes/core/context.d.ts +0 -26
- package/dist/themes/core/context.d.ts.map +0 -1
- package/dist/themes/core/design-system-types.d.ts +0 -42
- package/dist/themes/core/design-system-types.d.ts.map +0 -1
- package/dist/themes/core/dynamic-types.d.ts +0 -80
- package/dist/themes/core/dynamic-types.d.ts.map +0 -1
- package/dist/themes/core/new-color-system.d.ts +0 -17
- package/dist/themes/core/new-color-system.d.ts.map +0 -1
- package/dist/themes/core/new-typography-system.d.ts +0 -17
- package/dist/themes/core/new-typography-system.d.ts.map +0 -1
- package/dist/themes/core/style-variable-schema.d.ts +0 -107
- package/dist/themes/core/style-variable-schema.d.ts.map +0 -1
- package/dist/themes/core/types.d.ts +0 -188
- package/dist/themes/core/types.d.ts.map +0 -1
- package/dist/themes/hooks/useColorTokens.d.ts +0 -26
- package/dist/themes/hooks/useColorTokens.d.ts.map +0 -1
- package/dist/themes/index.d.ts +0 -16
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/presets/advisors-plus.d.ts +0 -7
- package/dist/themes/presets/advisors-plus.d.ts.map +0 -1
- package/dist/themes/presets/builders/color-builder.d.ts +0 -109
- package/dist/themes/presets/builders/color-builder.d.ts.map +0 -1
- package/dist/themes/presets/builders/component-builder.d.ts +0 -154
- package/dist/themes/presets/builders/component-builder.d.ts.map +0 -1
- package/dist/themes/presets/builders/index.d.ts +0 -13
- package/dist/themes/presets/builders/index.d.ts.map +0 -1
- package/dist/themes/presets/builders/typography-builder.d.ts +0 -149
- package/dist/themes/presets/builders/typography-builder.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/advisors-plus-colors.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/default-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/default-colors.d.ts.map +0 -1
- package/dist/themes/presets/color-systems/primax-colors.d.ts +0 -7
- package/dist/themes/presets/color-systems/primax-colors.d.ts.map +0 -1
- package/dist/themes/presets/default.d.ts +0 -7
- package/dist/themes/presets/default.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-advisors-plus.d.ts +0 -40
- package/dist/themes/presets/dynamic-advisors-plus.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-default.d.ts +0 -41
- package/dist/themes/presets/dynamic-default.d.ts.map +0 -1
- package/dist/themes/presets/dynamic-primax.d.ts +0 -38
- package/dist/themes/presets/dynamic-primax.d.ts.map +0 -1
- package/dist/themes/presets/new-default.d.ts +0 -7
- package/dist/themes/presets/new-default.d.ts.map +0 -1
- package/dist/themes/presets/primax.d.ts +0 -7
- package/dist/themes/presets/primax.d.ts.map +0 -1
- package/dist/themes/theme-loader.d.ts +0 -15
- package/dist/themes/theme-loader.d.ts.map +0 -1
- package/dist/themes/utils/generator.d.ts +0 -20
- package/dist/themes/utils/generator.d.ts.map +0 -1
- package/dist/themes/utils/helpers.d.ts +0 -14
- package/dist/themes/utils/helpers.d.ts.map +0 -1
- package/dist/themes/utils/index.d.ts +0 -6
- package/dist/themes/utils/index.d.ts.map +0 -1
- package/dist/themes/utils/migration.d.ts +0 -94
- package/dist/themes/utils/migration.d.ts.map +0 -1
- package/dist/themes/utils/new-generator.d.ts +0 -27
- package/dist/themes/utils/new-generator.d.ts.map +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Preset Builders - Fluent API for building theme configurations
|
|
3
|
-
*
|
|
4
|
-
* This module exports all theme preset builder classes and their factory functions.
|
|
5
|
-
* These builders provide a fluent API for creating theme configurations with
|
|
6
|
-
* type safety and method chaining support.
|
|
7
|
-
*/
|
|
8
|
-
export { ColorTokenBuilder, createColorTokenBuilder, createColorToken } from './color-builder';
|
|
9
|
-
export { TypographyTokenBuilder, createTypographyTokenBuilder, createTypographyToken, createResponsiveTypographyTokens, type ResponsiveTypographyValue } from './typography-builder';
|
|
10
|
-
export { ComponentTokenBuilder, createComponentTokenBuilder, createComponentToken, type ComponentTokenDefinition, type ComponentStyleDefinition } from './component-builder';
|
|
11
|
-
export type { DynamicColorTokens, DynamicTypographyTokens, DynamicComponentTokens, ColorTokenParams, TypographyTokenParams, ComponentTokenParams } from '../../core/dynamic-types';
|
|
12
|
-
export type { ColorTokenKey, TypographyTokenKey, Tier, ColorPropertySurface, Intention, ColorVariant, State, TypographyIntention, TypographyDesignVariant, Breakpoint, TypographyProperty, Component, ComponentVariant, ComponentProperty } from '../../core/design-system-types';
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/presets/builders/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,qBAAqB,EACrB,gCAAgC,EAChC,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC9B,MAAM,qBAAqB,CAAC;AAG7B,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,aAAa,EACb,kBAAkB,EAClB,IAAI,EACJ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TypographyTokenBuilder - Fluent API for building typography token configurations
|
|
3
|
-
*
|
|
4
|
-
* This class provides a builder pattern interface for creating typography token
|
|
5
|
-
* configurations with type safety and method chaining support. It supports
|
|
6
|
-
* responsive breakpoint definitions and all typography categories.
|
|
7
|
-
*/
|
|
8
|
-
import type { DynamicTypographyTokens, TypographyTokenParams } from '../../core/dynamic-types';
|
|
9
|
-
import type { TypographyIntention, TypographyDesignVariant, Breakpoint, TypographyProperty, TypographyTokenKey } from '../../core/design-system-types';
|
|
10
|
-
/**
|
|
11
|
-
* Interface for responsive typography values
|
|
12
|
-
* Allows defining different values for different breakpoints
|
|
13
|
-
*/
|
|
14
|
-
export interface ResponsiveTypographyValue {
|
|
15
|
-
desktop?: string | number;
|
|
16
|
-
tablet?: string | number;
|
|
17
|
-
mobile?: string | number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Builder class for creating typography token configurations using a fluent API
|
|
21
|
-
* Supports method chaining, responsive breakpoints, and type-safe token construction
|
|
22
|
-
*/
|
|
23
|
-
export declare class TypographyTokenBuilder {
|
|
24
|
-
private tokens;
|
|
25
|
-
/**
|
|
26
|
-
* Headline typography tokens (display text)
|
|
27
|
-
* Creates tier1-theme-typography-headline-* tokens
|
|
28
|
-
*/
|
|
29
|
-
headline(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
30
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Heading typography tokens (h1-h6)
|
|
34
|
-
* Creates tier1-theme-typography-heading-* tokens for headings
|
|
35
|
-
*/
|
|
36
|
-
heading(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
37
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Body typography tokens (paragraph text)
|
|
41
|
-
* Creates tier1-theme-typography-body-* tokens
|
|
42
|
-
*/
|
|
43
|
-
body(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
44
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Label typography tokens (form labels, captions)
|
|
48
|
-
* Creates tier1-theme-typography-label-* tokens
|
|
49
|
-
*/
|
|
50
|
-
label(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
51
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Meta typography tokens (small text, metadata)
|
|
55
|
-
* Creates tier1-theme-typography-meta-* tokens
|
|
56
|
-
*/
|
|
57
|
-
meta(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
58
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Data typography tokens (tables, data display)
|
|
62
|
-
* Creates tier1-theme-typography-data-* tokens
|
|
63
|
-
*/
|
|
64
|
-
data(variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty): {
|
|
65
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Custom typography token with full parameter control
|
|
69
|
-
* Allows building any typography token with complete flexibility
|
|
70
|
-
*/
|
|
71
|
-
custom(params: TypographyTokenParams): {
|
|
72
|
-
set: (value: string | number) => TypographyTokenBuilder;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Set responsive typography values across all breakpoints
|
|
76
|
-
* Automatically creates tokens for desktop, tablet, and mobile
|
|
77
|
-
*/
|
|
78
|
-
setResponsive(intention: TypographyIntention, variant: TypographyDesignVariant, property: TypographyProperty, values: ResponsiveTypographyValue): this;
|
|
79
|
-
/**
|
|
80
|
-
* Set a complete typography variant with all properties
|
|
81
|
-
* Useful for defining a complete heading or body style
|
|
82
|
-
*/
|
|
83
|
-
setVariant(intention: TypographyIntention, variant: TypographyDesignVariant, breakpoint: Breakpoint, properties: {
|
|
84
|
-
'font-size'?: string | number;
|
|
85
|
-
'font-weight'?: string | number;
|
|
86
|
-
'font-family'?: string;
|
|
87
|
-
'line-height'?: string | number;
|
|
88
|
-
'letter-spacing'?: string | number;
|
|
89
|
-
'text-transform'?: string;
|
|
90
|
-
'font-style'?: string;
|
|
91
|
-
}): this;
|
|
92
|
-
/**
|
|
93
|
-
* Set multiple tokens at once from an object
|
|
94
|
-
* Useful for bulk token assignment
|
|
95
|
-
*/
|
|
96
|
-
setTokens(tokens: Partial<DynamicTypographyTokens>): this;
|
|
97
|
-
/**
|
|
98
|
-
* Clear all tokens from the builder
|
|
99
|
-
* Useful for resetting the builder state
|
|
100
|
-
*/
|
|
101
|
-
clear(): this;
|
|
102
|
-
/**
|
|
103
|
-
* Get the current token count
|
|
104
|
-
* Useful for validation and debugging
|
|
105
|
-
*/
|
|
106
|
-
getTokenCount(): number;
|
|
107
|
-
/**
|
|
108
|
-
* Check if a specific token exists
|
|
109
|
-
* Useful for conditional token building
|
|
110
|
-
*/
|
|
111
|
-
hasToken(key: TypographyTokenKey): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Get a specific token value
|
|
114
|
-
* Useful for referencing existing tokens
|
|
115
|
-
*/
|
|
116
|
-
getToken(key: TypographyTokenKey): string | number | undefined;
|
|
117
|
-
/**
|
|
118
|
-
* Get all tokens for a specific breakpoint
|
|
119
|
-
* Useful for responsive design validation
|
|
120
|
-
*/
|
|
121
|
-
getTokensForBreakpoint(breakpoint: Breakpoint): Partial<DynamicTypographyTokens>;
|
|
122
|
-
/**
|
|
123
|
-
* Build and return the completed typography token configuration
|
|
124
|
-
* Returns a partial DynamicTypographyTokens object with all defined tokens
|
|
125
|
-
*/
|
|
126
|
-
build(): Partial<DynamicTypographyTokens>;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Factory function for creating a new TypographyTokenBuilder instance
|
|
130
|
-
* Provides a convenient way to start building typography tokens
|
|
131
|
-
*/
|
|
132
|
-
export declare function createTypographyTokenBuilder(): TypographyTokenBuilder;
|
|
133
|
-
/**
|
|
134
|
-
* Helper function for creating typography tokens with validation
|
|
135
|
-
* Validates parameters before creating the token
|
|
136
|
-
*/
|
|
137
|
-
export declare function createTypographyToken(intention: TypographyIntention, variant: TypographyDesignVariant, breakpoint: Breakpoint, property: TypographyProperty, value: string | number): {
|
|
138
|
-
key: TypographyTokenKey;
|
|
139
|
-
value: string | number;
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* Helper function for creating responsive typography tokens
|
|
143
|
-
* Creates tokens for all breakpoints with the same base configuration
|
|
144
|
-
*/
|
|
145
|
-
export declare function createResponsiveTypographyTokens(intention: TypographyIntention, variant: TypographyDesignVariant, property: TypographyProperty, values: ResponsiveTypographyValue): Array<{
|
|
146
|
-
key: TypographyTokenKey;
|
|
147
|
-
value: string | number;
|
|
148
|
-
}>;
|
|
149
|
-
//# sourceMappingURL=typography-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography-builder.d.ts","sourceRoot":"","sources":["../../../../src/themes/presets/builders/typography-builder.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Advisors Plus color system
|
|
3
|
-
* Carnation (primary), Medium Purple (secondary), and Royal Blue (tertiary) color scheme
|
|
4
|
-
*/
|
|
5
|
-
import { ColorSystem } from '../../core/color-system';
|
|
6
|
-
export declare const advisorsPlusColorSystem: ColorSystem;
|
|
7
|
-
//# sourceMappingURL=advisors-plus-colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"advisors-plus-colors.d.ts","sourceRoot":"","sources":["../../../../src/themes/presets/color-systems/advisors-plus-colors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,uBAAuB,EAAE,WAqTrC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default color system implementation
|
|
3
|
-
* Demonstrates the three-tier color abstraction with new naming convention
|
|
4
|
-
*/
|
|
5
|
-
import { ColorSystem } from '../../core/color-system';
|
|
6
|
-
export declare const defaultColorSystem: ColorSystem;
|
|
7
|
-
//# sourceMappingURL=default-colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-colors.d.ts","sourceRoot":"","sources":["../../../../src/themes/presets/color-systems/default-colors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,WA+PhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primax-colors.d.ts","sourceRoot":"","sources":["../../../../src/themes/presets/color-systems/primax-colors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,iBAAiB,EAAE,WA0Z/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/default.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,eAAO,MAAM,YAAY,EAAE,WA61B1B,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dynamic Advisors Plus Theme Configuration
|
|
3
|
-
*
|
|
4
|
-
* This file creates a dynamic version of the existing advisors-plus theme using the new
|
|
5
|
-
* builder classes. It references all token values from the existing advisors-plus.ts
|
|
6
|
-
* and advisorsPlusColorSystem to ensure CSS output is identical to the current system.
|
|
7
|
-
*
|
|
8
|
-
* Midnight blue and violet color scheme for financial advisory brand
|
|
9
|
-
*/
|
|
10
|
-
import type { DynamicThemeConfig } from '../core/types';
|
|
11
|
-
/**
|
|
12
|
-
* Create dynamic color tokens using ColorTokenBuilder
|
|
13
|
-
* Maps all semantic color tokens from the existing advisors-plus theme
|
|
14
|
-
*/
|
|
15
|
-
declare function createAdvisorsPlusDynamicColorTokens(): Partial<import("../core/dynamic-types").DynamicColorTokens>;
|
|
16
|
-
/**
|
|
17
|
-
* Create dynamic typography tokens using TypographyTokenBuilder
|
|
18
|
-
* Maps all typography variants from the existing advisors-plus theme
|
|
19
|
-
*/
|
|
20
|
-
declare function createAdvisorsPlusDynamicTypographyTokens(): Partial<import("../core/dynamic-types").DynamicTypographyTokens>;
|
|
21
|
-
/**
|
|
22
|
-
* Create dynamic component tokens using ComponentTokenBuilder
|
|
23
|
-
* Maps all component configurations from the existing advisors-plus theme
|
|
24
|
-
*/
|
|
25
|
-
declare function createAdvisorsPlusDynamicComponentTokens(): import("../core/dynamic-types").DynamicComponentTokens;
|
|
26
|
-
/**
|
|
27
|
-
* Dynamic Advisors Plus Theme Configuration
|
|
28
|
-
*
|
|
29
|
-
* This theme configuration uses the new dynamic token system while maintaining
|
|
30
|
-
* full compatibility with the existing advisors-plus theme. All token values are
|
|
31
|
-
* identical to the original theme to ensure CSS output consistency.
|
|
32
|
-
*
|
|
33
|
-
* Requirements: 11.1
|
|
34
|
-
*/
|
|
35
|
-
export declare const dynamicAdvisorsPlusTheme: DynamicThemeConfig;
|
|
36
|
-
/**
|
|
37
|
-
* Export individual token builders for testing and validation
|
|
38
|
-
*/
|
|
39
|
-
export { createAdvisorsPlusDynamicColorTokens, createAdvisorsPlusDynamicTypographyTokens, createAdvisorsPlusDynamicComponentTokens };
|
|
40
|
-
//# sourceMappingURL=dynamic-advisors-plus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-advisors-plus.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/dynamic-advisors-plus.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMxD;;;GAGG;AACH,iBAAS,oCAAoC,gEAoQ5C;AAED;;;GAGG;AACH,iBAAS,yCAAyC,qEAmIjD;AAED;;;GAGG;AACH,iBAAS,wCAAwC,2DAoQhD;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,EAAE,kBAgEtC,CAAC;AAEF;;GAEG;AACH,OAAO,EACL,oCAAoC,EACpC,yCAAyC,EACzC,wCAAwC,EACzC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dynamic Default Theme Configuration
|
|
3
|
-
*
|
|
4
|
-
* This file creates a dynamic version of the existing default theme using the new
|
|
5
|
-
* builder classes. It references all token values from the existing default.ts
|
|
6
|
-
* and defaultColorSystem to ensure CSS output is identical to the current system.
|
|
7
|
-
*
|
|
8
|
-
* This serves as both a validation of the dynamic theme system and an example
|
|
9
|
-
* for creating additional theme presets using the builder pattern.
|
|
10
|
-
*/
|
|
11
|
-
import type { DynamicThemeConfig } from '../core/types';
|
|
12
|
-
/**
|
|
13
|
-
* Create dynamic color tokens using ColorTokenBuilder
|
|
14
|
-
* Maps all semantic color tokens from the existing default theme
|
|
15
|
-
*/
|
|
16
|
-
declare function createDynamicColorTokens(): Partial<import("../core/dynamic-types").DynamicColorTokens>;
|
|
17
|
-
/**
|
|
18
|
-
* Create dynamic typography tokens using TypographyTokenBuilder
|
|
19
|
-
* Maps all typography variants from the existing default theme
|
|
20
|
-
*/
|
|
21
|
-
declare function createDynamicTypographyTokens(): Partial<import("../core/dynamic-types").DynamicTypographyTokens>;
|
|
22
|
-
/**
|
|
23
|
-
* Create dynamic component tokens using ComponentTokenBuilder
|
|
24
|
-
* Maps all component configurations from the existing default theme
|
|
25
|
-
*/
|
|
26
|
-
declare function createDynamicComponentTokens(): import("../core/dynamic-types").DynamicComponentTokens;
|
|
27
|
-
/**
|
|
28
|
-
* Dynamic Default Theme Configuration
|
|
29
|
-
*
|
|
30
|
-
* This theme configuration uses the new dynamic token system while maintaining
|
|
31
|
-
* full compatibility with the existing default theme. All token values are
|
|
32
|
-
* identical to the original theme to ensure CSS output consistency.
|
|
33
|
-
*
|
|
34
|
-
* Requirements: 9.1, 9.2, 9.3
|
|
35
|
-
*/
|
|
36
|
-
export declare const dynamicDefaultTheme: DynamicThemeConfig;
|
|
37
|
-
/**
|
|
38
|
-
* Export individual token builders for testing and validation
|
|
39
|
-
*/
|
|
40
|
-
export { createDynamicColorTokens, createDynamicTypographyTokens, createDynamicComponentTokens };
|
|
41
|
-
//# sourceMappingURL=dynamic-default.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-default.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/dynamic-default.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMxD;;;GAGG;AACH,iBAAS,wBAAwB,gEA0WhC;AAED;;;GAGG;AACH,iBAAS,6BAA6B,qEA0KrC;AAED;;;GAGG;AACH,iBAAS,4BAA4B,2DAmQpC;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,EAAE,kBA6DjC,CAAC;AAEF;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,4BAA4B,EAC7B,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dynamic Primax Theme Configuration
|
|
3
|
-
*
|
|
4
|
-
* This file creates a dynamic version of the existing primax theme using the new
|
|
5
|
-
* builder classes. It references all token values from the existing primax.ts
|
|
6
|
-
* and primaxColorSystem to ensure CSS output is identical to the current system.
|
|
7
|
-
*
|
|
8
|
-
* Modern, clean color scheme for the Primax brand
|
|
9
|
-
*/
|
|
10
|
-
import type { DynamicThemeConfig } from '../core/types';
|
|
11
|
-
/**
|
|
12
|
-
* Create dynamic color tokens using ColorTokenBuilder
|
|
13
|
-
* Maps all semantic color tokens from the existing primax theme
|
|
14
|
-
*/
|
|
15
|
-
declare function createPrimaxDynamicColorTokens(): Partial<import("../core/dynamic-types").DynamicColorTokens>;
|
|
16
|
-
/**
|
|
17
|
-
* Create dynamic typography tokens using TypographyTokenBuilder
|
|
18
|
-
* Maps all typography variants from the existing primax theme
|
|
19
|
-
*/
|
|
20
|
-
declare function createPrimaxDynamicTypographyTokens(): Partial<import("../core/dynamic-types").DynamicTypographyTokens>;
|
|
21
|
-
/**
|
|
22
|
-
* Create dynamic component tokens using ComponentTokenBuilder
|
|
23
|
-
* Maps all component configurations from the existing primax theme
|
|
24
|
-
*/
|
|
25
|
-
declare function createPrimaxDynamicComponentTokens(): import("../core/dynamic-types").DynamicComponentTokens;
|
|
26
|
-
/**
|
|
27
|
-
* Dynamic Primax Theme Configuration
|
|
28
|
-
*
|
|
29
|
-
* This theme configuration uses the new dynamic token system while maintaining
|
|
30
|
-
* full compatibility with the existing primax theme. All token values are
|
|
31
|
-
* identical to the original theme to ensure CSS output consistency.
|
|
32
|
-
*/
|
|
33
|
-
export declare const dynamicPrimaxTheme: DynamicThemeConfig;
|
|
34
|
-
/**
|
|
35
|
-
* Export individual token builders for testing and validation
|
|
36
|
-
*/
|
|
37
|
-
export { createPrimaxDynamicColorTokens, createPrimaxDynamicTypographyTokens, createPrimaxDynamicComponentTokens };
|
|
38
|
-
//# sourceMappingURL=dynamic-primax.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-primax.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/dynamic-primax.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMxD;;;GAGG;AACH,iBAAS,8BAA8B,gEAqKtC;AAED;;;GAGG;AACH,iBAAS,mCAAmC,qEAmI3C;AAED;;;GAGG;AACH,iBAAS,kCAAkC,2DAoQ1C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAgEhC,CAAC;AAEF;;GAEG;AACH,OAAO,EACL,8BAA8B,EAC9B,mCAAmC,EACnC,kCAAkC,EACnC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* New default theme configuration using three-tier naming convention
|
|
3
|
-
* Updated to follow the new style variable schema
|
|
4
|
-
*/
|
|
5
|
-
import { ThemeConfig } from '../core/types';
|
|
6
|
-
export declare const newDefaultTheme: ThemeConfig;
|
|
7
|
-
//# sourceMappingURL=new-default.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"new-default.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/new-default.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,eAAO,MAAM,eAAe,EAAE,WAiV7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"primax.d.ts","sourceRoot":"","sources":["../../../src/themes/presets/primax.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,eAAO,MAAM,WAAW,EAAE,WAspCzB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Loader - Proper integration of the new theme system
|
|
3
|
-
* This replaces the direct CSS import with dynamic theme generation
|
|
4
|
-
*/
|
|
5
|
-
import { newDefaultTheme } from './presets/new-default';
|
|
6
|
-
/**
|
|
7
|
-
* Load and apply theme CSS
|
|
8
|
-
* This should be called once when the app starts
|
|
9
|
-
*/
|
|
10
|
-
export declare function loadTheme(): void;
|
|
11
|
-
/**
|
|
12
|
-
* Switch to a different theme
|
|
13
|
-
*/
|
|
14
|
-
export declare function switchTheme(theme: typeof newDefaultTheme): void;
|
|
15
|
-
//# sourceMappingURL=theme-loader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-loader.d.ts","sourceRoot":"","sources":["../../src/themes/theme-loader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD;;;GAGG;AACH,wBAAgB,SAAS,SAgBxB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,eAAe,QAOxD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme CSS generation utilities
|
|
3
|
-
* Converts theme configurations to CSS custom properties and applies them
|
|
4
|
-
* Updated to support three-tier naming convention
|
|
5
|
-
*/
|
|
6
|
-
import { ThemeConfig } from '../core/types';
|
|
7
|
-
/**
|
|
8
|
-
* Generates CSS custom properties from theme configuration
|
|
9
|
-
* Uses the integrated three-tier system
|
|
10
|
-
*/
|
|
11
|
-
export declare function generateThemeCSS(theme: ThemeConfig, selector?: string): string;
|
|
12
|
-
/**
|
|
13
|
-
* Applies theme to document by injecting CSS
|
|
14
|
-
*/
|
|
15
|
-
export declare function applyTheme(theme: ThemeConfig, themeName?: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* Sets theme attribute on document element
|
|
18
|
-
*/
|
|
19
|
-
export declare function setThemeAttribute(themeName: string): void;
|
|
20
|
-
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../src/themes/utils/generator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAuD,MAAM,eAAe,CAAC;AAqHjG;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,GAAE,MAAgB,GAAG,MAAM,CAgEvF;AA0MD;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAevE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAEzD"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme utility helper functions
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Converts camelCase to kebab-case:
|
|
6
|
-
* - textPrimary -> text-primary
|
|
7
|
-
* - blue500 -> blue-500
|
|
8
|
-
* - brandPrimary -> brand-primary
|
|
9
|
-
* - h1 -> h1
|
|
10
|
-
* - h2 -> h2
|
|
11
|
-
* - bodyLarge -> body-large
|
|
12
|
-
*/
|
|
13
|
-
export declare function toKebabCase(str: string): string;
|
|
14
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/themes/utils/helpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAS/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/themes/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Migration Utilities
|
|
3
|
-
*
|
|
4
|
-
* This module provides utilities for converting existing ThemeConfig objects
|
|
5
|
-
* to the enhanced DynamicThemeConfig format. It preserves all existing theme
|
|
6
|
-
* functionality while enabling the new dynamic token system.
|
|
7
|
-
*
|
|
8
|
-
* Key features:
|
|
9
|
-
* - Maps existing semantic color tokens to dynamic color token structure
|
|
10
|
-
* - Maps existing typography variants to dynamic typography token structure
|
|
11
|
-
* - Maps existing button variants and component definitions to component tokens
|
|
12
|
-
* - Preserves ColorPrimitives and ThemeComponents structures
|
|
13
|
-
* - Ensures migrated themes work with existing generateThemeCSS function
|
|
14
|
-
*/
|
|
15
|
-
import type { ThemeConfig, DynamicThemeConfig } from '../core/types';
|
|
16
|
-
/**
|
|
17
|
-
* Migration mapping interface for tracking conversions
|
|
18
|
-
*/
|
|
19
|
-
export interface MigrationMapping {
|
|
20
|
-
oldKey: string;
|
|
21
|
-
newKey: string;
|
|
22
|
-
category: 'color' | 'typography' | 'component';
|
|
23
|
-
notes?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Migration result interface
|
|
27
|
-
*/
|
|
28
|
-
export interface MigrationResult {
|
|
29
|
-
dynamicTheme: DynamicThemeConfig;
|
|
30
|
-
mappings: MigrationMapping[];
|
|
31
|
-
warnings: string[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Migrates an existing ThemeConfig to DynamicThemeConfig format
|
|
35
|
-
* Converts existing theme configurations to enhanced dynamic format while
|
|
36
|
-
* preserving all existing theme functionality and visual appearance
|
|
37
|
-
*
|
|
38
|
-
* @param theme - Existing ThemeConfig object to migrate
|
|
39
|
-
* @returns Migration result with dynamic theme, mappings, and warnings
|
|
40
|
-
*
|
|
41
|
-
* Features:
|
|
42
|
-
* - Maps existing semantic color tokens to dynamic color token structure
|
|
43
|
-
* - Maps existing typography variants to dynamic typography token structure
|
|
44
|
-
* - Maps existing button variants and component definitions to component tokens
|
|
45
|
-
* - Preserves existing ColorPrimitives and ThemeComponents structures
|
|
46
|
-
* - Ensures migrated themes work with existing generateThemeCSS function
|
|
47
|
-
* - Provides detailed mapping information for debugging and validation
|
|
48
|
-
*
|
|
49
|
-
* Requirements: 7.1, 7.2, 7.3, 7.4, 7.5
|
|
50
|
-
*/
|
|
51
|
-
export declare function migrateThemeConfig(theme: ThemeConfig): MigrationResult;
|
|
52
|
-
/**
|
|
53
|
-
* Validates that a migrated theme maintains compatibility with the original
|
|
54
|
-
* Compares key properties and token counts to ensure migration accuracy
|
|
55
|
-
*
|
|
56
|
-
* @param original - Original ThemeConfig
|
|
57
|
-
* @param migrated - Migrated DynamicThemeConfig
|
|
58
|
-
* @returns Array of validation errors (empty if valid)
|
|
59
|
-
*/
|
|
60
|
-
export declare function validateMigration(original: ThemeConfig, migrated: DynamicThemeConfig): string[];
|
|
61
|
-
/**
|
|
62
|
-
* Performs a round-trip migration test to ensure no data is lost
|
|
63
|
-
* Migrates theme to dynamic format and validates CSS generation compatibility
|
|
64
|
-
*
|
|
65
|
-
* @param theme - Original ThemeConfig to test
|
|
66
|
-
* @returns Test result with success status and any issues found
|
|
67
|
-
*/
|
|
68
|
-
export declare function testRoundTripMigration(theme: ThemeConfig): {
|
|
69
|
-
success: boolean;
|
|
70
|
-
issues: string[];
|
|
71
|
-
migrationResult?: MigrationResult;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Batch migrates multiple theme configurations
|
|
75
|
-
* Useful for migrating all existing themes at once
|
|
76
|
-
*
|
|
77
|
-
* @param themes - Array of ThemeConfig objects to migrate
|
|
78
|
-
* @returns Array of migration results with success/failure status
|
|
79
|
-
*/
|
|
80
|
-
export declare function batchMigrateThemes(themes: ThemeConfig[]): Array<{
|
|
81
|
-
themeName: string;
|
|
82
|
-
success: boolean;
|
|
83
|
-
result?: MigrationResult;
|
|
84
|
-
errors: string[];
|
|
85
|
-
}>;
|
|
86
|
-
/**
|
|
87
|
-
* Generates a migration report for documentation purposes
|
|
88
|
-
* Creates a detailed report of what was migrated and how
|
|
89
|
-
*
|
|
90
|
-
* @param migrationResult - Result from migrateThemeConfig
|
|
91
|
-
* @returns Formatted migration report string
|
|
92
|
-
*/
|
|
93
|
-
export declare function generateMigrationReport(migrationResult: MigrationResult): string;
|
|
94
|
-
//# sourceMappingURL=migration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../../src/themes/utils/migration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAOrE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,kBAAkB,CAAC;IACjC,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AA8UD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,eAAe,CA2DtE;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,WAAW,EACrB,QAAQ,EAAE,kBAAkB,GAC3B,MAAM,EAAE,CAmDV;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG;IAC1D,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAgCA;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC,CAoBD;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,eAAe,EAAE,eAAe,GAAG,MAAM,CAgEhF"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* New theme CSS generation utilities for three-tier naming convention
|
|
3
|
-
* Converts theme configurations to CSS custom properties following the new schema
|
|
4
|
-
*/
|
|
5
|
-
import { ThemeConfig } from '../core/types';
|
|
6
|
-
import { TypographyValue, Tier2TypographyName } from '../core/style-variable-schema';
|
|
7
|
-
/**
|
|
8
|
-
* Generates complete CSS for the new three-tier theme system
|
|
9
|
-
*/
|
|
10
|
-
export declare function generateNewThemeCSS(theme: ThemeConfig, selector?: string): string;
|
|
11
|
-
/**
|
|
12
|
-
* Applies new theme to document by injecting CSS
|
|
13
|
-
*/
|
|
14
|
-
export declare function applyNewTheme(theme: ThemeConfig, themeName?: string): void;
|
|
15
|
-
/**
|
|
16
|
-
* Sets theme attribute on document element
|
|
17
|
-
*/
|
|
18
|
-
export declare function setThemeAttribute(themeName: string): void;
|
|
19
|
-
/**
|
|
20
|
-
* Generates CSS for responsive typography tokens
|
|
21
|
-
* Creates media queries for mobile and tablet breakpoints
|
|
22
|
-
*/
|
|
23
|
-
export declare function generateResponsiveTypographyCSS(typography: Partial<Record<Tier2TypographyName, TypographyValue>>, breakpoints: {
|
|
24
|
-
mobile: string;
|
|
25
|
-
tablet: string;
|
|
26
|
-
}): string;
|
|
27
|
-
//# sourceMappingURL=new-generator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"new-generator.d.ts","sourceRoot":"","sources":["../../../src/themes/utils/new-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAEL,eAAe,EAKf,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AA6FvC;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,GAAE,MAAgB,GAAG,MAAM,CA8J1F;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAe1E;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAEzD;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC,EACjE,WAAW,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC9C,MAAM,CAuBR"}
|