react-native-terra-ui 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/lib/module/components/avatar/Avatar.js +118 -35
- package/lib/module/components/avatar/Avatar.js.map +1 -1
- package/lib/module/components/box/Box.js +15 -2
- package/lib/module/components/box/Box.js.map +1 -1
- package/lib/module/components/box/utils.js +4 -1
- package/lib/module/components/box/utils.js.map +1 -1
- package/lib/module/components/button/Button.js +7 -14
- package/lib/module/components/button/Button.js.map +1 -1
- package/lib/module/components/chip/Chip.js +372 -0
- package/lib/module/components/chip/Chip.js.map +1 -0
- package/lib/module/components/chip/index.js +4 -0
- package/lib/module/components/chip/index.js.map +1 -0
- package/lib/module/components/chip/types.js +2 -0
- package/lib/module/components/chip/types.js.map +1 -0
- package/lib/module/components/chip/utils.js +36 -0
- package/lib/module/components/chip/utils.js.map +1 -0
- package/lib/module/components/empty-state/EmptyState.js +200 -0
- package/lib/module/components/empty-state/EmptyState.js.map +1 -0
- package/lib/module/components/empty-state/index.js +4 -0
- package/lib/module/components/empty-state/index.js.map +1 -0
- package/lib/module/components/empty-state/types.js +2 -0
- package/lib/module/components/empty-state/types.js.map +1 -0
- package/lib/module/components/header/header-buttons.js +31 -36
- package/lib/module/components/header/header-buttons.js.map +1 -1
- package/lib/module/components/header/index.js +1 -1
- package/lib/module/components/header/index.js.map +1 -1
- package/lib/module/components/header/parts/HeaderGradientOverlay.js +38 -0
- package/lib/module/components/header/parts/HeaderGradientOverlay.js.map +1 -0
- package/lib/module/components/header/variants/LargeTitleHeader/index.js +69 -99
- package/lib/module/components/header/variants/LargeTitleHeader/index.js.map +1 -1
- package/lib/module/components/header/variants/TitleHeader/index.js +32 -63
- package/lib/module/components/header/variants/TitleHeader/index.js.map +1 -1
- package/lib/module/components/icon/Icon.js +20 -8
- package/lib/module/components/icon/Icon.js.map +1 -1
- package/lib/module/components/image/Image.js +54 -0
- package/lib/module/components/image/Image.js.map +1 -0
- package/lib/module/components/image/index.js +4 -0
- package/lib/module/components/image/index.js.map +1 -0
- package/lib/module/components/image/types.js +4 -0
- package/lib/module/components/image/types.js.map +1 -0
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/portal/Portal.js +42 -0
- package/lib/module/components/portal/Portal.js.map +1 -0
- package/lib/module/components/portal/PortalContext.js +1 -16
- package/lib/module/components/portal/PortalContext.js.map +1 -1
- package/lib/module/components/portal/PortalHost.js +16 -14
- package/lib/module/components/portal/PortalHost.js.map +1 -1
- package/lib/module/components/portal/PortalProvider.js +51 -19
- package/lib/module/components/portal/PortalProvider.js.map +1 -1
- package/lib/module/components/portal/index.js +1 -1
- package/lib/module/components/portal/index.js.map +1 -1
- package/lib/module/components/screen/Screen.js +25 -28
- package/lib/module/components/screen/Screen.js.map +1 -1
- package/lib/module/components/screen/ScreenContext.js +7 -5
- package/lib/module/components/screen/ScreenContext.js.map +1 -1
- package/lib/module/components/screen/ScreenFlashList.js +144 -0
- package/lib/module/components/screen/ScreenFlashList.js.map +1 -0
- package/lib/module/components/screen/ScreenFlatList.js +88 -27
- package/lib/module/components/screen/ScreenFlatList.js.map +1 -1
- package/lib/module/components/screen/ScreenScrollView.js +101 -34
- package/lib/module/components/screen/ScreenScrollView.js.map +1 -1
- package/lib/module/components/screen/index.js +1 -0
- package/lib/module/components/screen/index.js.map +1 -1
- package/lib/module/components/screen/parts/BottomSafeArea.js +62 -0
- package/lib/module/components/screen/parts/BottomSafeArea.js.map +1 -0
- package/lib/module/components/screen/parts/ScreenPlaceholder.js +50 -0
- package/lib/module/components/screen/parts/ScreenPlaceholder.js.map +1 -0
- package/lib/module/components/screen/types.js +4 -0
- package/lib/module/components/screen/types.js.map +1 -0
- package/lib/module/components/screen/utils.js +12 -9
- package/lib/module/components/screen/utils.js.map +1 -1
- package/lib/module/components/surface/Surface.js +16 -9
- package/lib/module/components/surface/Surface.js.map +1 -1
- package/lib/module/components/text/Text.js +23 -5
- package/lib/module/components/text/Text.js.map +1 -1
- package/lib/module/components/toast/Toast.js +8 -8
- package/lib/module/components/toast/Toast.js.map +1 -1
- package/lib/module/components/toolbar/Toolbar.js +268 -0
- package/lib/module/components/toolbar/Toolbar.js.map +1 -0
- package/lib/module/components/toolbar/index.js +4 -0
- package/lib/module/components/toolbar/index.js.map +1 -0
- package/lib/module/context/ThemeProvider.js +5 -2
- package/lib/module/context/ThemeProvider.js.map +1 -1
- package/lib/module/{components/icon/utils.js → theme/defaults/icons.js} +1 -1
- package/lib/module/theme/defaults/icons.js.map +1 -0
- package/lib/module/theme/defaults/image.js +30 -0
- package/lib/module/theme/defaults/image.js.map +1 -0
- package/lib/module/theme/index.js +1 -1
- package/lib/module/theme/{configure.js → registry.js} +21 -28
- package/lib/module/theme/registry.js.map +1 -0
- package/lib/module/theme/runtime.js +1 -1
- package/lib/module/theme/theme.js +91 -10
- package/lib/module/theme/theme.js.map +1 -1
- package/lib/module/theme/tokens/dark.js +59 -68
- package/lib/module/theme/tokens/dark.js.map +1 -1
- package/lib/module/theme/tokens/light.js +49 -67
- package/lib/module/theme/tokens/light.js.map +1 -1
- package/lib/module/theme/tokens/primitives.js +241 -20
- package/lib/module/theme/tokens/primitives.js.map +1 -1
- package/lib/module/utils/accent-utils.js +4 -4
- package/lib/module/utils/accent-utils.js.map +1 -1
- package/lib/typescript/src/components/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/src/components/avatar/types.d.ts +4 -4
- package/lib/typescript/src/components/avatar/types.d.ts.map +1 -1
- package/lib/typescript/src/components/box/Box.d.ts.map +1 -1
- package/lib/typescript/src/components/box/utils.d.ts +6 -1
- package/lib/typescript/src/components/box/utils.d.ts.map +1 -1
- package/lib/typescript/src/components/button/Button.d.ts +1 -1
- package/lib/typescript/src/components/button/Button.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/Chip.d.ts +24 -0
- package/lib/typescript/src/components/chip/Chip.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts +4 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/types.d.ts +8 -0
- package/lib/typescript/src/components/chip/types.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/utils.d.ts +8 -0
- package/lib/typescript/src/components/chip/utils.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/EmptyState.d.ts +45 -0
- package/lib/typescript/src/components/empty-state/EmptyState.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/index.d.ts +4 -0
- package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/types.d.ts +6 -0
- package/lib/typescript/src/components/empty-state/types.d.ts.map +1 -0
- package/lib/typescript/src/components/header/header-buttons.d.ts +27 -0
- package/lib/typescript/src/components/header/header-buttons.d.ts.map +1 -1
- package/lib/typescript/src/components/header/index.d.ts +1 -1
- package/lib/typescript/src/components/header/index.d.ts.map +1 -1
- package/lib/typescript/src/components/header/parts/HeaderGradientOverlay.d.ts +7 -0
- package/lib/typescript/src/components/header/parts/HeaderGradientOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/header/variants/LargeTitleHeader/index.d.ts +1 -1
- package/lib/typescript/src/components/header/variants/LargeTitleHeader/index.d.ts.map +1 -1
- package/lib/typescript/src/components/header/variants/TitleHeader/index.d.ts +18 -7
- package/lib/typescript/src/components/header/variants/TitleHeader/index.d.ts.map +1 -1
- package/lib/typescript/src/components/icon/Icon.d.ts.map +1 -1
- package/lib/typescript/src/components/image/Image.d.ts +16 -0
- package/lib/typescript/src/components/image/Image.d.ts.map +1 -0
- package/lib/typescript/src/components/image/index.d.ts +3 -0
- package/lib/typescript/src/components/image/index.d.ts.map +1 -0
- package/lib/typescript/src/components/image/types.d.ts +7 -0
- package/lib/typescript/src/components/image/types.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +4 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/portal/Portal.d.ts +26 -0
- package/lib/typescript/src/components/portal/Portal.d.ts.map +1 -0
- package/lib/typescript/src/components/portal/PortalContext.d.ts +11 -14
- package/lib/typescript/src/components/portal/PortalContext.d.ts.map +1 -1
- package/lib/typescript/src/components/portal/PortalHost.d.ts +9 -4
- package/lib/typescript/src/components/portal/PortalHost.d.ts.map +1 -1
- package/lib/typescript/src/components/portal/PortalProvider.d.ts +3 -3
- package/lib/typescript/src/components/portal/PortalProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/portal/index.d.ts +4 -2
- package/lib/typescript/src/components/portal/index.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/Screen.d.ts +18 -13
- package/lib/typescript/src/components/screen/Screen.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/ScreenContext.d.ts +12 -9
- package/lib/typescript/src/components/screen/ScreenContext.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/ScreenFlashList.d.ts +43 -0
- package/lib/typescript/src/components/screen/ScreenFlashList.d.ts.map +1 -0
- package/lib/typescript/src/components/screen/ScreenFlatList.d.ts +17 -7
- package/lib/typescript/src/components/screen/ScreenFlatList.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/ScreenScrollView.d.ts +51 -16
- package/lib/typescript/src/components/screen/ScreenScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/index.d.ts +3 -0
- package/lib/typescript/src/components/screen/index.d.ts.map +1 -1
- package/lib/typescript/src/components/screen/parts/BottomSafeArea.d.ts +30 -0
- package/lib/typescript/src/components/screen/parts/BottomSafeArea.d.ts.map +1 -0
- package/lib/typescript/src/components/screen/parts/ScreenPlaceholder.d.ts +22 -0
- package/lib/typescript/src/components/screen/parts/ScreenPlaceholder.d.ts.map +1 -0
- package/lib/typescript/src/components/screen/types.d.ts +42 -0
- package/lib/typescript/src/components/screen/types.d.ts.map +1 -0
- package/lib/typescript/src/components/screen/utils.d.ts +9 -9
- package/lib/typescript/src/components/screen/utils.d.ts.map +1 -1
- package/lib/typescript/src/components/surface/Surface.d.ts +7 -0
- package/lib/typescript/src/components/surface/Surface.d.ts.map +1 -1
- package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/toolbar/Toolbar.d.ts +115 -0
- package/lib/typescript/src/components/toolbar/Toolbar.d.ts.map +1 -0
- package/lib/typescript/src/components/toolbar/index.d.ts +3 -0
- package/lib/typescript/src/components/toolbar/index.d.ts.map +1 -0
- package/lib/typescript/src/context/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/{components/icon/utils.d.ts → theme/defaults/icons.d.ts} +2 -2
- package/lib/typescript/src/theme/defaults/icons.d.ts.map +1 -0
- package/lib/typescript/src/theme/defaults/image.d.ts +4 -0
- package/lib/typescript/src/theme/defaults/image.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +1 -1
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/{configure.d.ts → registry.d.ts} +1 -1
- package/lib/typescript/src/theme/registry.d.ts.map +1 -0
- package/lib/typescript/src/theme/theme.d.ts +21 -1
- package/lib/typescript/src/theme/theme.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens/dark.d.ts +41 -64
- package/lib/typescript/src/theme/tokens/dark.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens/light.d.ts +44 -65
- package/lib/typescript/src/theme/tokens/light.d.ts.map +1 -1
- package/lib/typescript/src/theme/tokens/primitives.d.ts +228 -17
- package/lib/typescript/src/theme/tokens/primitives.d.ts.map +1 -1
- package/lib/typescript/src/theme/types.d.ts +65 -35
- package/lib/typescript/src/theme/types.d.ts.map +1 -1
- package/package.json +23 -9
- package/skills/terra-ui/SKILL.md +193 -0
- package/skills/terra-ui/references/recipes.md +198 -0
- package/skills/terra-ui/references/troubleshooting.md +112 -0
- package/src/components/avatar/Avatar.tsx +128 -38
- package/src/components/avatar/types.ts +5 -5
- package/src/components/box/Box.tsx +13 -1
- package/src/components/box/utils.ts +10 -0
- package/src/components/button/Button.tsx +7 -15
- package/src/components/chip/Chip.tsx +444 -0
- package/src/components/chip/index.ts +3 -0
- package/src/components/chip/types.ts +15 -0
- package/src/components/chip/utils.ts +34 -0
- package/src/components/empty-state/EmptyState.tsx +209 -0
- package/src/components/empty-state/index.ts +3 -0
- package/src/components/empty-state/types.ts +5 -0
- package/src/components/header/header-buttons.tsx +33 -45
- package/src/components/header/index.ts +2 -0
- package/src/components/header/parts/HeaderGradientOverlay.tsx +29 -0
- package/src/components/header/variants/LargeTitleHeader/index.tsx +68 -102
- package/src/components/header/variants/TitleHeader/index.tsx +47 -56
- package/src/components/icon/Icon.tsx +20 -15
- package/src/components/image/Image.tsx +48 -0
- package/src/components/image/index.ts +2 -0
- package/src/components/image/types.ts +7 -0
- package/src/components/index.ts +4 -0
- package/src/components/portal/Portal.tsx +55 -0
- package/src/components/portal/PortalContext.tsx +14 -22
- package/src/components/portal/PortalHost.tsx +17 -10
- package/src/components/portal/PortalProvider.tsx +58 -21
- package/src/components/portal/index.ts +4 -2
- package/src/components/screen/Screen.tsx +45 -59
- package/src/components/screen/ScreenContext.tsx +19 -12
- package/src/components/screen/ScreenFlashList.tsx +196 -0
- package/src/components/screen/ScreenFlatList.tsx +100 -39
- package/src/components/screen/ScreenScrollView.tsx +114 -53
- package/src/components/screen/index.ts +3 -0
- package/src/components/screen/parts/BottomSafeArea.tsx +60 -0
- package/src/components/screen/parts/ScreenPlaceholder.tsx +55 -0
- package/src/components/screen/types.ts +43 -0
- package/src/components/screen/utils.ts +29 -15
- package/src/components/surface/Surface.tsx +17 -20
- package/src/components/text/Text.tsx +23 -5
- package/src/components/toast/Toast.tsx +8 -8
- package/src/components/toolbar/Toolbar.tsx +353 -0
- package/src/components/toolbar/index.ts +6 -0
- package/src/context/ThemeProvider.tsx +5 -4
- package/src/{components/icon/utils.tsx → theme/defaults/icons.tsx} +1 -1
- package/src/theme/defaults/image.tsx +34 -0
- package/src/theme/index.ts +1 -1
- package/src/theme/{configure.ts → registry.ts} +19 -34
- package/src/theme/runtime.ts +1 -1
- package/src/theme/theme.ts +127 -13
- package/src/theme/tokens/dark.ts +60 -69
- package/src/theme/tokens/light.ts +50 -68
- package/src/theme/tokens/primitives.ts +248 -20
- package/src/theme/types.ts +67 -35
- package/src/utils/accent-utils.ts +4 -4
- package/lib/module/components/icon/utils.js.map +0 -1
- package/lib/module/theme/configure.js.map +0 -1
- package/lib/typescript/src/components/icon/utils.d.ts.map +0 -1
- package/lib/typescript/src/theme/configure.d.ts.map +0 -1
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const dark: {
|
|
9
9
|
'color.background': string;
|
|
10
|
+
'color.shadow': string;
|
|
10
11
|
'color.surface.default': string;
|
|
11
12
|
'color.surface.raised': string;
|
|
12
13
|
'color.surface.sunken': string;
|
|
@@ -32,69 +33,45 @@ export declare const dark: {
|
|
|
32
33
|
'color.action.bg.primary.active': string;
|
|
33
34
|
'color.action.bg.primary.disabled': string;
|
|
34
35
|
'color.action.fg.primary': string;
|
|
35
|
-
'color.action.bg.subtle': string;
|
|
36
|
-
'color.action.bg.subtle.hover': string;
|
|
37
|
-
'color.action.bg.subtle.active': string;
|
|
38
|
-
'color.action.bg.subtle.disabled': string;
|
|
39
|
-
'color.action.fg.subtle': string;
|
|
40
|
-
'color.action.bg.
|
|
41
|
-
'color.action.
|
|
42
|
-
'color.action.bg.
|
|
43
|
-
'color.action.bg.
|
|
44
|
-
'color.action.
|
|
45
|
-
'color.
|
|
46
|
-
'color.
|
|
47
|
-
'color.status.
|
|
48
|
-
'color.status.
|
|
49
|
-
'color.status.
|
|
50
|
-
'color.status.
|
|
51
|
-
'color.status.
|
|
52
|
-
'color.status.
|
|
53
|
-
'color.status.
|
|
54
|
-
'color.status.
|
|
55
|
-
'color.status.
|
|
56
|
-
'color.status.
|
|
57
|
-
'color.status.
|
|
58
|
-
'color.status.
|
|
59
|
-
'color.status.
|
|
60
|
-
'color.status.
|
|
61
|
-
'color.status.
|
|
62
|
-
'color.status.
|
|
63
|
-
'color.status.bg.
|
|
64
|
-
'color.status.
|
|
65
|
-
'color.status.border.
|
|
66
|
-
'color.status.
|
|
67
|
-
'color.status.fg.
|
|
68
|
-
'color.status.
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'elevation.sm.shadowColor': string;
|
|
76
|
-
'elevation.sm.shadowOpacity': number;
|
|
77
|
-
'elevation.sm.shadowRadius': number;
|
|
78
|
-
'elevation.sm.shadowOffset.width': number;
|
|
79
|
-
'elevation.sm.shadowOffset.height': number;
|
|
80
|
-
'elevation.sm.elevation': number;
|
|
81
|
-
'elevation.md.shadowColor': string;
|
|
82
|
-
'elevation.md.shadowOpacity': number;
|
|
83
|
-
'elevation.md.shadowRadius': number;
|
|
84
|
-
'elevation.md.shadowOffset.width': number;
|
|
85
|
-
'elevation.md.shadowOffset.height': number;
|
|
86
|
-
'elevation.md.elevation': number;
|
|
87
|
-
'elevation.lg.shadowColor': string;
|
|
88
|
-
'elevation.lg.shadowOpacity': number;
|
|
89
|
-
'elevation.lg.shadowRadius': number;
|
|
90
|
-
'elevation.lg.shadowOffset.width': number;
|
|
91
|
-
'elevation.lg.shadowOffset.height': number;
|
|
92
|
-
'elevation.lg.elevation': number;
|
|
93
|
-
'elevation.xl.shadowColor': string;
|
|
94
|
-
'elevation.xl.shadowOpacity': number;
|
|
95
|
-
'elevation.xl.shadowRadius': number;
|
|
96
|
-
'elevation.xl.shadowOffset.width': number;
|
|
97
|
-
'elevation.xl.shadowOffset.height': number;
|
|
98
|
-
'elevation.xl.elevation': number;
|
|
36
|
+
'color.action.bg.primary.subtle': string;
|
|
37
|
+
'color.action.bg.primary.subtle.hover': string;
|
|
38
|
+
'color.action.bg.primary.subtle.active': string;
|
|
39
|
+
'color.action.bg.primary.subtle.disabled': string;
|
|
40
|
+
'color.action.fg.primary.subtle': string;
|
|
41
|
+
'color.action.bg.secondary': string;
|
|
42
|
+
'color.action.fg.secondary': string;
|
|
43
|
+
'color.action.bg.secondary.subtle': string;
|
|
44
|
+
'color.action.bg.secondary.subtle.hover': string;
|
|
45
|
+
'color.action.bg.secondary.subtle.active': string;
|
|
46
|
+
'color.action.bg.secondary.subtle.disabled': string;
|
|
47
|
+
'color.action.fg.secondary.subtle': string;
|
|
48
|
+
'color.status.success': string;
|
|
49
|
+
'color.status.success.bg': string;
|
|
50
|
+
'color.status.success.bg.subtle': string;
|
|
51
|
+
'color.status.success.border': string;
|
|
52
|
+
'color.status.success.border.subtle': string;
|
|
53
|
+
'color.status.success.fg': string;
|
|
54
|
+
'color.status.success.fg.subtle': string;
|
|
55
|
+
'color.status.warning': string;
|
|
56
|
+
'color.status.warning.bg': string;
|
|
57
|
+
'color.status.warning.bg.subtle': string;
|
|
58
|
+
'color.status.warning.border': string;
|
|
59
|
+
'color.status.warning.border.subtle': string;
|
|
60
|
+
'color.status.warning.fg': string;
|
|
61
|
+
'color.status.warning.fg.subtle': string;
|
|
62
|
+
'color.status.danger': string;
|
|
63
|
+
'color.status.danger.bg': string;
|
|
64
|
+
'color.status.danger.bg.subtle': string;
|
|
65
|
+
'color.status.danger.border': string;
|
|
66
|
+
'color.status.danger.border.subtle': string;
|
|
67
|
+
'color.status.danger.fg': string;
|
|
68
|
+
'color.status.danger.fg.subtle': string;
|
|
69
|
+
'color.status.info': string;
|
|
70
|
+
'color.status.info.bg': string;
|
|
71
|
+
'color.status.info.bg.subtle': string;
|
|
72
|
+
'color.status.info.border': string;
|
|
73
|
+
'color.status.info.border.subtle': string;
|
|
74
|
+
'color.status.info.fg': string;
|
|
75
|
+
'color.status.info.fg.subtle': string;
|
|
99
76
|
};
|
|
100
77
|
//# sourceMappingURL=dark.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/dark.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGhB,CAAC"}
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
* - property is required when a context carries multiple attributes (action, status)
|
|
7
7
|
*
|
|
8
8
|
* Values use {palette.key} reference notation, resolved against primitives at
|
|
9
|
-
* build time via resolveRefs() in theme.ts.
|
|
9
|
+
* build time via resolveRefs() in theme.ts. {palette.key}/NN resolves the
|
|
10
|
+
* referenced #rrggbb hex with an NN% opacity byte appended (e.g.
|
|
11
|
+
* {palette.amber.500}/15 -> '#fe9a0026'). Raw hex is used only where no
|
|
10
12
|
* palette step matches exactly.
|
|
11
13
|
*
|
|
12
14
|
* GENERATED-STYLE SOURCE: intended to be replaced by the Figma / design-sync export.
|
|
13
15
|
*/
|
|
14
16
|
export declare const light: {
|
|
15
17
|
'color.background': string;
|
|
18
|
+
'color.shadow': string;
|
|
16
19
|
'color.surface.default': string;
|
|
17
20
|
'color.surface.raised': string;
|
|
18
21
|
'color.surface.sunken': string;
|
|
@@ -38,69 +41,45 @@ export declare const light: {
|
|
|
38
41
|
'color.action.bg.primary.active': string;
|
|
39
42
|
'color.action.bg.primary.disabled': string;
|
|
40
43
|
'color.action.fg.primary': string;
|
|
41
|
-
'color.action.bg.subtle': string;
|
|
42
|
-
'color.action.bg.subtle.hover': string;
|
|
43
|
-
'color.action.bg.subtle.active': string;
|
|
44
|
-
'color.action.bg.subtle.disabled': string;
|
|
45
|
-
'color.action.fg.subtle': string;
|
|
46
|
-
'color.action.bg.
|
|
47
|
-
'color.action.
|
|
48
|
-
'color.action.bg.
|
|
49
|
-
'color.action.bg.
|
|
50
|
-
'color.action.
|
|
51
|
-
'color.
|
|
52
|
-
'color.
|
|
53
|
-
'color.status.
|
|
54
|
-
'color.status.
|
|
55
|
-
'color.status.
|
|
56
|
-
'color.status.
|
|
57
|
-
'color.status.
|
|
58
|
-
'color.status.
|
|
59
|
-
'color.status.
|
|
60
|
-
'color.status.
|
|
61
|
-
'color.status.
|
|
62
|
-
'color.status.
|
|
63
|
-
'color.status.
|
|
64
|
-
'color.status.
|
|
65
|
-
'color.status.
|
|
66
|
-
'color.status.
|
|
67
|
-
'color.status.
|
|
68
|
-
'color.status.
|
|
69
|
-
'color.status.bg.
|
|
70
|
-
'color.status.
|
|
71
|
-
'color.status.border.
|
|
72
|
-
'color.status.
|
|
73
|
-
'color.status.fg.
|
|
74
|
-
'color.status.
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'elevation.sm.shadowColor': string;
|
|
82
|
-
'elevation.sm.shadowOpacity': number;
|
|
83
|
-
'elevation.sm.shadowRadius': number;
|
|
84
|
-
'elevation.sm.shadowOffset.width': number;
|
|
85
|
-
'elevation.sm.shadowOffset.height': number;
|
|
86
|
-
'elevation.sm.elevation': number;
|
|
87
|
-
'elevation.md.shadowColor': string;
|
|
88
|
-
'elevation.md.shadowOpacity': number;
|
|
89
|
-
'elevation.md.shadowRadius': number;
|
|
90
|
-
'elevation.md.shadowOffset.width': number;
|
|
91
|
-
'elevation.md.shadowOffset.height': number;
|
|
92
|
-
'elevation.md.elevation': number;
|
|
93
|
-
'elevation.lg.shadowColor': string;
|
|
94
|
-
'elevation.lg.shadowOpacity': number;
|
|
95
|
-
'elevation.lg.shadowRadius': number;
|
|
96
|
-
'elevation.lg.shadowOffset.width': number;
|
|
97
|
-
'elevation.lg.shadowOffset.height': number;
|
|
98
|
-
'elevation.lg.elevation': number;
|
|
99
|
-
'elevation.xl.shadowColor': string;
|
|
100
|
-
'elevation.xl.shadowOpacity': number;
|
|
101
|
-
'elevation.xl.shadowRadius': number;
|
|
102
|
-
'elevation.xl.shadowOffset.width': number;
|
|
103
|
-
'elevation.xl.shadowOffset.height': number;
|
|
104
|
-
'elevation.xl.elevation': number;
|
|
44
|
+
'color.action.bg.primary.subtle': string;
|
|
45
|
+
'color.action.bg.primary.subtle.hover': string;
|
|
46
|
+
'color.action.bg.primary.subtle.active': string;
|
|
47
|
+
'color.action.bg.primary.subtle.disabled': string;
|
|
48
|
+
'color.action.fg.primary.subtle': string;
|
|
49
|
+
'color.action.bg.secondary': string;
|
|
50
|
+
'color.action.fg.secondary': string;
|
|
51
|
+
'color.action.bg.secondary.subtle': string;
|
|
52
|
+
'color.action.bg.secondary.subtle.hover': string;
|
|
53
|
+
'color.action.bg.secondary.subtle.active': string;
|
|
54
|
+
'color.action.bg.secondary.subtle.disabled': string;
|
|
55
|
+
'color.action.fg.secondary.subtle': string;
|
|
56
|
+
'color.status.success': string;
|
|
57
|
+
'color.status.success.bg': string;
|
|
58
|
+
'color.status.success.bg.subtle': string;
|
|
59
|
+
'color.status.success.border': string;
|
|
60
|
+
'color.status.success.border.subtle': string;
|
|
61
|
+
'color.status.success.fg': string;
|
|
62
|
+
'color.status.success.fg.subtle': string;
|
|
63
|
+
'color.status.warning': string;
|
|
64
|
+
'color.status.warning.bg': string;
|
|
65
|
+
'color.status.warning.bg.subtle': string;
|
|
66
|
+
'color.status.warning.border': string;
|
|
67
|
+
'color.status.warning.border.subtle': string;
|
|
68
|
+
'color.status.warning.fg': string;
|
|
69
|
+
'color.status.warning.fg.subtle': string;
|
|
70
|
+
'color.status.danger': string;
|
|
71
|
+
'color.status.danger.bg': string;
|
|
72
|
+
'color.status.danger.bg.subtle': string;
|
|
73
|
+
'color.status.danger.border': string;
|
|
74
|
+
'color.status.danger.border.subtle': string;
|
|
75
|
+
'color.status.danger.fg': string;
|
|
76
|
+
'color.status.danger.fg.subtle': string;
|
|
77
|
+
'color.status.info': string;
|
|
78
|
+
'color.status.info.bg': string;
|
|
79
|
+
'color.status.info.bg.subtle': string;
|
|
80
|
+
'color.status.info.border': string;
|
|
81
|
+
'color.status.info.border.subtle': string;
|
|
82
|
+
'color.status.info.fg': string;
|
|
83
|
+
'color.status.info.fg.subtle': string;
|
|
105
84
|
};
|
|
106
85
|
//# sourceMappingURL=light.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/light.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/light.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFjB,CAAC"}
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
* `palette.*` is kept for Figma parity / authoring reference; the runtime theme
|
|
10
10
|
* consumes already-resolved semantic colors (see `light.ts` / `dark.ts`) and
|
|
11
11
|
* does not read the palette directly.
|
|
12
|
+
*
|
|
13
|
+
* Ramps are Tailwind CSS v4's default palette (https://tailwindcss.com/docs/colors),
|
|
14
|
+
* hex-converted from Tailwind's canonical OKLCH definitions (not the older v3
|
|
15
|
+
* hex palette, which uses different, less vivid values for the same names).
|
|
12
16
|
*/
|
|
13
17
|
export declare const primitives: {
|
|
14
18
|
'palette.slate.50': string;
|
|
@@ -101,23 +105,230 @@ export declare const primitives: {
|
|
|
101
105
|
'palette.neutral.800': string;
|
|
102
106
|
'palette.neutral.900': string;
|
|
103
107
|
'palette.neutral.950': string;
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
'
|
|
107
|
-
'
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
108
|
+
'palette.gray.50': string;
|
|
109
|
+
'palette.gray.100': string;
|
|
110
|
+
'palette.gray.200': string;
|
|
111
|
+
'palette.gray.300': string;
|
|
112
|
+
'palette.gray.400': string;
|
|
113
|
+
'palette.gray.500': string;
|
|
114
|
+
'palette.gray.600': string;
|
|
115
|
+
'palette.gray.700': string;
|
|
116
|
+
'palette.gray.800': string;
|
|
117
|
+
'palette.gray.900': string;
|
|
118
|
+
'palette.gray.950': string;
|
|
119
|
+
'palette.zinc.50': string;
|
|
120
|
+
'palette.zinc.100': string;
|
|
121
|
+
'palette.zinc.200': string;
|
|
122
|
+
'palette.zinc.300': string;
|
|
123
|
+
'palette.zinc.400': string;
|
|
124
|
+
'palette.zinc.500': string;
|
|
125
|
+
'palette.zinc.600': string;
|
|
126
|
+
'palette.zinc.700': string;
|
|
127
|
+
'palette.zinc.800': string;
|
|
128
|
+
'palette.zinc.900': string;
|
|
129
|
+
'palette.zinc.950': string;
|
|
130
|
+
'palette.stone.50': string;
|
|
131
|
+
'palette.stone.100': string;
|
|
132
|
+
'palette.stone.200': string;
|
|
133
|
+
'palette.stone.300': string;
|
|
134
|
+
'palette.stone.400': string;
|
|
135
|
+
'palette.stone.500': string;
|
|
136
|
+
'palette.stone.600': string;
|
|
137
|
+
'palette.stone.700': string;
|
|
138
|
+
'palette.stone.800': string;
|
|
139
|
+
'palette.stone.900': string;
|
|
140
|
+
'palette.stone.950': string;
|
|
141
|
+
'palette.mauve.50': string;
|
|
142
|
+
'palette.mauve.100': string;
|
|
143
|
+
'palette.mauve.200': string;
|
|
144
|
+
'palette.mauve.300': string;
|
|
145
|
+
'palette.mauve.400': string;
|
|
146
|
+
'palette.mauve.500': string;
|
|
147
|
+
'palette.mauve.600': string;
|
|
148
|
+
'palette.mauve.700': string;
|
|
149
|
+
'palette.mauve.800': string;
|
|
150
|
+
'palette.mauve.900': string;
|
|
151
|
+
'palette.mauve.950': string;
|
|
152
|
+
'palette.mist.50': string;
|
|
153
|
+
'palette.mist.100': string;
|
|
154
|
+
'palette.mist.200': string;
|
|
155
|
+
'palette.mist.300': string;
|
|
156
|
+
'palette.mist.400': string;
|
|
157
|
+
'palette.mist.500': string;
|
|
158
|
+
'palette.mist.600': string;
|
|
159
|
+
'palette.mist.700': string;
|
|
160
|
+
'palette.mist.800': string;
|
|
161
|
+
'palette.mist.900': string;
|
|
162
|
+
'palette.mist.950': string;
|
|
163
|
+
'palette.olive.50': string;
|
|
164
|
+
'palette.olive.100': string;
|
|
165
|
+
'palette.olive.200': string;
|
|
166
|
+
'palette.olive.300': string;
|
|
167
|
+
'palette.olive.400': string;
|
|
168
|
+
'palette.olive.500': string;
|
|
169
|
+
'palette.olive.600': string;
|
|
170
|
+
'palette.olive.700': string;
|
|
171
|
+
'palette.olive.800': string;
|
|
172
|
+
'palette.olive.900': string;
|
|
173
|
+
'palette.olive.950': string;
|
|
174
|
+
'palette.taupe.50': string;
|
|
175
|
+
'palette.taupe.100': string;
|
|
176
|
+
'palette.taupe.200': string;
|
|
177
|
+
'palette.taupe.300': string;
|
|
178
|
+
'palette.taupe.400': string;
|
|
179
|
+
'palette.taupe.500': string;
|
|
180
|
+
'palette.taupe.600': string;
|
|
181
|
+
'palette.taupe.700': string;
|
|
182
|
+
'palette.taupe.800': string;
|
|
183
|
+
'palette.taupe.900': string;
|
|
184
|
+
'palette.taupe.950': string;
|
|
185
|
+
'palette.orange.50': string;
|
|
186
|
+
'palette.orange.100': string;
|
|
187
|
+
'palette.orange.200': string;
|
|
188
|
+
'palette.orange.300': string;
|
|
189
|
+
'palette.orange.400': string;
|
|
190
|
+
'palette.orange.500': string;
|
|
191
|
+
'palette.orange.600': string;
|
|
192
|
+
'palette.orange.700': string;
|
|
193
|
+
'palette.orange.800': string;
|
|
194
|
+
'palette.orange.900': string;
|
|
195
|
+
'palette.orange.950': string;
|
|
196
|
+
'palette.yellow.50': string;
|
|
197
|
+
'palette.yellow.100': string;
|
|
198
|
+
'palette.yellow.200': string;
|
|
199
|
+
'palette.yellow.300': string;
|
|
200
|
+
'palette.yellow.400': string;
|
|
201
|
+
'palette.yellow.500': string;
|
|
202
|
+
'palette.yellow.600': string;
|
|
203
|
+
'palette.yellow.700': string;
|
|
204
|
+
'palette.yellow.800': string;
|
|
205
|
+
'palette.yellow.900': string;
|
|
206
|
+
'palette.yellow.950': string;
|
|
207
|
+
'palette.lime.50': string;
|
|
208
|
+
'palette.lime.100': string;
|
|
209
|
+
'palette.lime.200': string;
|
|
210
|
+
'palette.lime.300': string;
|
|
211
|
+
'palette.lime.400': string;
|
|
212
|
+
'palette.lime.500': string;
|
|
213
|
+
'palette.lime.600': string;
|
|
214
|
+
'palette.lime.700': string;
|
|
215
|
+
'palette.lime.800': string;
|
|
216
|
+
'palette.lime.900': string;
|
|
217
|
+
'palette.lime.950': string;
|
|
218
|
+
'palette.teal.50': string;
|
|
219
|
+
'palette.teal.100': string;
|
|
220
|
+
'palette.teal.200': string;
|
|
221
|
+
'palette.teal.300': string;
|
|
222
|
+
'palette.teal.400': string;
|
|
223
|
+
'palette.teal.500': string;
|
|
224
|
+
'palette.teal.600': string;
|
|
225
|
+
'palette.teal.700': string;
|
|
226
|
+
'palette.teal.800': string;
|
|
227
|
+
'palette.teal.900': string;
|
|
228
|
+
'palette.teal.950': string;
|
|
229
|
+
'palette.cyan.50': string;
|
|
230
|
+
'palette.cyan.100': string;
|
|
231
|
+
'palette.cyan.200': string;
|
|
232
|
+
'palette.cyan.300': string;
|
|
233
|
+
'palette.cyan.400': string;
|
|
234
|
+
'palette.cyan.500': string;
|
|
235
|
+
'palette.cyan.600': string;
|
|
236
|
+
'palette.cyan.700': string;
|
|
237
|
+
'palette.cyan.800': string;
|
|
238
|
+
'palette.cyan.900': string;
|
|
239
|
+
'palette.cyan.950': string;
|
|
240
|
+
'palette.indigo.50': string;
|
|
241
|
+
'palette.indigo.100': string;
|
|
242
|
+
'palette.indigo.200': string;
|
|
243
|
+
'palette.indigo.300': string;
|
|
244
|
+
'palette.indigo.400': string;
|
|
245
|
+
'palette.indigo.500': string;
|
|
246
|
+
'palette.indigo.600': string;
|
|
247
|
+
'palette.indigo.700': string;
|
|
248
|
+
'palette.indigo.800': string;
|
|
249
|
+
'palette.indigo.900': string;
|
|
250
|
+
'palette.indigo.950': string;
|
|
251
|
+
'palette.violet.50': string;
|
|
252
|
+
'palette.violet.100': string;
|
|
253
|
+
'palette.violet.200': string;
|
|
254
|
+
'palette.violet.300': string;
|
|
255
|
+
'palette.violet.400': string;
|
|
256
|
+
'palette.violet.500': string;
|
|
257
|
+
'palette.violet.600': string;
|
|
258
|
+
'palette.violet.700': string;
|
|
259
|
+
'palette.violet.800': string;
|
|
260
|
+
'palette.violet.900': string;
|
|
261
|
+
'palette.violet.950': string;
|
|
262
|
+
'palette.purple.50': string;
|
|
263
|
+
'palette.purple.100': string;
|
|
264
|
+
'palette.purple.200': string;
|
|
265
|
+
'palette.purple.300': string;
|
|
266
|
+
'palette.purple.400': string;
|
|
267
|
+
'palette.purple.500': string;
|
|
268
|
+
'palette.purple.600': string;
|
|
269
|
+
'palette.purple.700': string;
|
|
270
|
+
'palette.purple.800': string;
|
|
271
|
+
'palette.purple.900': string;
|
|
272
|
+
'palette.purple.950': string;
|
|
273
|
+
'palette.fuchsia.50': string;
|
|
274
|
+
'palette.fuchsia.100': string;
|
|
275
|
+
'palette.fuchsia.200': string;
|
|
276
|
+
'palette.fuchsia.300': string;
|
|
277
|
+
'palette.fuchsia.400': string;
|
|
278
|
+
'palette.fuchsia.500': string;
|
|
279
|
+
'palette.fuchsia.600': string;
|
|
280
|
+
'palette.fuchsia.700': string;
|
|
281
|
+
'palette.fuchsia.800': string;
|
|
282
|
+
'palette.fuchsia.900': string;
|
|
283
|
+
'palette.fuchsia.950': string;
|
|
284
|
+
'palette.pink.50': string;
|
|
285
|
+
'palette.pink.100': string;
|
|
286
|
+
'palette.pink.200': string;
|
|
287
|
+
'palette.pink.300': string;
|
|
288
|
+
'palette.pink.400': string;
|
|
289
|
+
'palette.pink.500': string;
|
|
290
|
+
'palette.pink.600': string;
|
|
291
|
+
'palette.pink.700': string;
|
|
292
|
+
'palette.pink.800': string;
|
|
293
|
+
'palette.pink.900': string;
|
|
294
|
+
'palette.pink.950': string;
|
|
295
|
+
'palette.rose.50': string;
|
|
296
|
+
'palette.rose.100': string;
|
|
297
|
+
'palette.rose.200': string;
|
|
298
|
+
'palette.rose.300': string;
|
|
299
|
+
'palette.rose.400': string;
|
|
300
|
+
'palette.rose.500': string;
|
|
301
|
+
'palette.rose.600': string;
|
|
302
|
+
'palette.rose.700': string;
|
|
303
|
+
'palette.rose.800': string;
|
|
304
|
+
'palette.rose.900': string;
|
|
305
|
+
'palette.rose.950': string;
|
|
306
|
+
'spacing.base': number;
|
|
307
|
+
'elevation.none.shadowOpacity': number;
|
|
308
|
+
'elevation.none.shadowRadius': number;
|
|
309
|
+
'elevation.none.shadowOffset.width': number;
|
|
310
|
+
'elevation.none.shadowOffset.height': number;
|
|
311
|
+
'elevation.none.elevation': number;
|
|
312
|
+
'elevation.sm.shadowOpacity': number;
|
|
313
|
+
'elevation.sm.shadowRadius': number;
|
|
314
|
+
'elevation.sm.shadowOffset.width': number;
|
|
315
|
+
'elevation.sm.shadowOffset.height': number;
|
|
316
|
+
'elevation.sm.elevation': number;
|
|
317
|
+
'elevation.md.shadowOpacity': number;
|
|
318
|
+
'elevation.md.shadowRadius': number;
|
|
319
|
+
'elevation.md.shadowOffset.width': number;
|
|
320
|
+
'elevation.md.shadowOffset.height': number;
|
|
321
|
+
'elevation.md.elevation': number;
|
|
322
|
+
'elevation.lg.shadowOpacity': number;
|
|
323
|
+
'elevation.lg.shadowRadius': number;
|
|
324
|
+
'elevation.lg.shadowOffset.width': number;
|
|
325
|
+
'elevation.lg.shadowOffset.height': number;
|
|
326
|
+
'elevation.lg.elevation': number;
|
|
327
|
+
'elevation.xl.shadowOpacity': number;
|
|
328
|
+
'elevation.xl.shadowRadius': number;
|
|
329
|
+
'elevation.xl.shadowOffset.width': number;
|
|
330
|
+
'elevation.xl.shadowOffset.height': number;
|
|
331
|
+
'elevation.xl.elevation': number;
|
|
121
332
|
'radius.base': number;
|
|
122
333
|
'typography.fonts.regular': string;
|
|
123
334
|
'typography.fonts.medium': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/primitives.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../../../src/theme/tokens/primitives.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2btB,CAAC"}
|