@televet/kibble-ui 5.1.0-ne.0 → 5.1.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/AGENTS.md +3 -0
- package/dist/components.json +2 -2
- package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
- package/dist/types/components/Link/link.recipe.d.ts +1 -1
- package/dist/types/components/Rating/rating.component.d.ts +1 -1
- package/dist/types/components/Text/text.recipe.d.ts +1 -1
- package/dist/types/shared/types/theme.d.ts +1 -1
- package/dist/types/theme/semanticTokens/aliasPurpose.records.d.ts +1 -1
- package/dist/types/theme/semanticTokens/index.d.ts +1 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +37 -37
- package/dist/types/theme/semanticTokens/utils/flattenSemanticTokenRecord.d.ts +1 -1
- package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +1 -1
- package/dist/types/theme/tokens/blurs/index.d.ts +1 -1
- package/dist/types/theme/tokens/borders/index.d.ts +1 -1
- package/dist/types/theme/tokens/colors/colors.config.d.ts +1 -1
- package/dist/types/theme/tokens/colors/index.d.ts +1 -1
- package/dist/types/theme/tokens/shadows/index.d.ts +1 -1
- package/dist/types/theme/tokens/sizes/index.d.ts +1 -1
- package/dist/types/theme/tokens/spacing/index.d.ts +1 -1
- package/dist/types/theme/tokens/transitions/index.d.ts +1 -1
- package/dist/types/theme/tokens/typography/index.d.ts +1 -1
- package/dist/types/theme/tokens/zIndices/index.d.ts +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -104,6 +104,9 @@ component's props, the manifest updates on the next build — there is nothing t
|
|
|
104
104
|
Regenerate it on its own with `npm run generate:manifest` (it needs `dist/` to exist, so run
|
|
105
105
|
a build first).
|
|
106
106
|
|
|
107
|
+
The Storybook URLs in the manifest point at `https://televet.github.io/kibble-ui`. Set
|
|
108
|
+
`KIBBLE_STORYBOOK_BASE` before the build to point them somewhere else.
|
|
109
|
+
|
|
107
110
|
## Don't
|
|
108
111
|
|
|
109
112
|
- Use `@ts-ignore` or `as any`
|
package/dist/components.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"kibbleVersion": "5.1.0
|
|
4
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"kibbleVersion": "5.1.0",
|
|
4
|
+
"generatedAt": "2026-09-08T20:01:46.332Z",
|
|
5
5
|
"storybookBase": "https://televet.github.io/kibble-ui",
|
|
6
6
|
"propsScope": "Props declared in kibble-ui. Inherited Chakra style and DOM props are summarised in extendsType.",
|
|
7
7
|
"components": [
|
|
@@ -3,5 +3,5 @@ import { HeadingSize } from './heading.types';
|
|
|
3
3
|
export declare const headingRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
4
4
|
variant: Record<"accent" | "accentSubtle" | "brand" | "brandOnContrast" | "danger" | "dangerOnContrast" | "default" | "info" | "interactive" | "interactiveOnContrast" | "onContrast" | "placeholder" | "placeholderOnContrast" | "subtle" | "subtleOnContrast" | "success" | "warning", SystemStyleObject>;
|
|
5
5
|
size: Record<HeadingSize, SystemStyleObject>;
|
|
6
|
-
fontWeight: Record<import('
|
|
6
|
+
fontWeight: Record<import('@televet/kibble-primitives').FontWeight, SystemStyleObject>;
|
|
7
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const linkRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
2
|
variant: Record<"accent" | "accentSubtle" | "brand" | "brandOnContrast" | "danger" | "dangerOnContrast" | "default" | "info" | "interactive" | "interactiveOnContrast" | "onContrast" | "placeholder" | "placeholderOnContrast" | "subtle" | "subtleOnContrast" | "success" | "warning", import('@chakra-ui/react').SystemStyleObject>;
|
|
3
3
|
size: Record<import('..').TextSize, import('@chakra-ui/react').SystemStyleObject>;
|
|
4
|
-
fontWeight: Record<import('
|
|
4
|
+
fontWeight: Record<import('@televet/kibble-primitives').FontWeight, import('@chakra-ui/react').SystemStyleObject>;
|
|
5
5
|
}>;
|
|
@@ -3,7 +3,7 @@ import { RatingGroup } from '@chakra-ui/react/rating-group';
|
|
|
3
3
|
import { WithFormControlProps } from '../../hocs/withFormControl/withFormControl';
|
|
4
4
|
import { IconName } from '../Icon';
|
|
5
5
|
import { FormControlSize } from '../../hocs/withFormControl/withFormControl.types';
|
|
6
|
-
import { KibbleSemanticColorToken } from '
|
|
6
|
+
import { KibbleSemanticColorToken } from '@televet/kibble-primitives/semantic';
|
|
7
7
|
import { ConditionalValue } from '@chakra-ui/react';
|
|
8
8
|
export interface RatingProps extends Omit<RatingGroup.RootProps, 'allowHalf'>, WithFormControlProps {
|
|
9
9
|
/** Total number of ratings.
|
|
@@ -4,5 +4,5 @@ export declare const textSizeStyles: Record<TextSize, SystemStyleObject>;
|
|
|
4
4
|
export declare const textRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
5
5
|
variant: Record<"accent" | "accentSubtle" | "brand" | "brandOnContrast" | "danger" | "dangerOnContrast" | "default" | "info" | "interactive" | "interactiveOnContrast" | "onContrast" | "placeholder" | "placeholderOnContrast" | "subtle" | "subtleOnContrast" | "success" | "warning", SystemStyleObject>;
|
|
6
6
|
size: Record<TextSize, SystemStyleObject>;
|
|
7
|
-
fontWeight: Record<import('
|
|
7
|
+
fontWeight: Record<import('@televet/kibble-primitives').FontWeight, SystemStyleObject>;
|
|
8
8
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ColorMode } from '
|
|
1
|
+
export type { ColorMode } from '@televet/kibble-primitives';
|
|
2
2
|
export declare const colorModeThemeKey = "kibble-theme";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SemanticColorScheme } from '
|
|
1
|
+
import { SemanticColorScheme } from '@televet/kibble-primitives/semantic';
|
|
2
2
|
/** Scheme purpose (from Color schemes table). */
|
|
3
3
|
export declare const SCHEME_PURPOSE: Record<SemanticColorScheme, string>;
|
|
4
4
|
/** State meaning / when to use (from States table). Keys are lowercase state keys from the map. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/semantic';
|
|
@@ -11,9 +11,9 @@ export declare const semanticColorTokens: {
|
|
|
11
11
|
hover: any;
|
|
12
12
|
pressed: any;
|
|
13
13
|
contrast: {
|
|
14
|
-
DEFAULT: import('
|
|
15
|
-
hover: import('
|
|
16
|
-
pressed: import('
|
|
14
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
15
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
16
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
secondary: {
|
|
@@ -21,9 +21,9 @@ export declare const semanticColorTokens: {
|
|
|
21
21
|
hover: any;
|
|
22
22
|
pressed: any;
|
|
23
23
|
contrast: {
|
|
24
|
-
DEFAULT: import('
|
|
25
|
-
hover: import('
|
|
26
|
-
pressed: import('
|
|
24
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
25
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
26
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
brand: any;
|
|
@@ -65,9 +65,9 @@ export declare const semanticColorTokens: {
|
|
|
65
65
|
hover: any;
|
|
66
66
|
pressed: any;
|
|
67
67
|
contrast: {
|
|
68
|
-
DEFAULT: import('
|
|
69
|
-
hover: import('
|
|
70
|
-
pressed: import('
|
|
68
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
69
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
70
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
primaryAlpha: {
|
|
@@ -75,9 +75,9 @@ export declare const semanticColorTokens: {
|
|
|
75
75
|
hover: any;
|
|
76
76
|
pressed: any;
|
|
77
77
|
contrast: {
|
|
78
|
-
DEFAULT: import('
|
|
79
|
-
hover: import('
|
|
80
|
-
pressed: import('
|
|
78
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
79
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
80
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
secondaryAlpha: {
|
|
@@ -85,9 +85,9 @@ export declare const semanticColorTokens: {
|
|
|
85
85
|
hover: any;
|
|
86
86
|
pressed: any;
|
|
87
87
|
contrast: {
|
|
88
|
-
DEFAULT: import('
|
|
89
|
-
hover: import('
|
|
90
|
-
pressed: import('
|
|
88
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
89
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
90
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
destructiveAlpha: {
|
|
@@ -95,20 +95,20 @@ export declare const semanticColorTokens: {
|
|
|
95
95
|
hover: any;
|
|
96
96
|
pressed: any;
|
|
97
97
|
contrast: {
|
|
98
|
-
DEFAULT: import('
|
|
99
|
-
hover: import('
|
|
100
|
-
pressed: import('
|
|
98
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
99
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
100
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
overlay: {
|
|
104
104
|
DEFAULT: any;
|
|
105
|
-
contrast: import('
|
|
105
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
106
106
|
};
|
|
107
107
|
backdrop: any;
|
|
108
108
|
contrast: {
|
|
109
|
-
DEFAULT: import('
|
|
110
|
-
subtle: import('
|
|
111
|
-
moreSubtle: import('
|
|
109
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
110
|
+
subtle: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
111
|
+
moreSubtle: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
112
112
|
mostSubtle: any;
|
|
113
113
|
};
|
|
114
114
|
gradientFull: {
|
|
@@ -116,9 +116,9 @@ export declare const semanticColorTokens: {
|
|
|
116
116
|
hover: any;
|
|
117
117
|
pressed: any;
|
|
118
118
|
contrast: {
|
|
119
|
-
DEFAULT: import('
|
|
120
|
-
hover: import('
|
|
121
|
-
pressed: import('
|
|
119
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
120
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
121
|
+
pressed: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
gradientPink: {
|
|
@@ -140,15 +140,15 @@ export declare const semanticColorTokens: {
|
|
|
140
140
|
subtle: any;
|
|
141
141
|
strong: {
|
|
142
142
|
DEFAULT: any;
|
|
143
|
-
contrast: import('
|
|
143
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
144
144
|
};
|
|
145
145
|
focus: {
|
|
146
146
|
DEFAULT: any;
|
|
147
|
-
contrast: import('
|
|
147
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
148
148
|
};
|
|
149
149
|
brand: {
|
|
150
150
|
DEFAULT: any;
|
|
151
|
-
contrast: import('
|
|
151
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
152
152
|
};
|
|
153
153
|
info: any;
|
|
154
154
|
success: any;
|
|
@@ -162,8 +162,8 @@ export declare const semanticColorTokens: {
|
|
|
162
162
|
subtle: any;
|
|
163
163
|
};
|
|
164
164
|
contrast: {
|
|
165
|
-
DEFAULT: import('
|
|
166
|
-
subtle: import('
|
|
165
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
166
|
+
subtle: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
divider: {
|
|
@@ -175,22 +175,22 @@ export declare const semanticColorTokens: {
|
|
|
175
175
|
default: any;
|
|
176
176
|
subtle: {
|
|
177
177
|
DEFAULT: any;
|
|
178
|
-
contrast: import('
|
|
178
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
179
179
|
};
|
|
180
180
|
interactive: {
|
|
181
181
|
DEFAULT: any;
|
|
182
182
|
hover: any;
|
|
183
183
|
contrast: {
|
|
184
|
-
DEFAULT: import('
|
|
185
|
-
hover: import('
|
|
184
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
185
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
brand: {
|
|
189
189
|
DEFAULT: any;
|
|
190
190
|
hover: any;
|
|
191
191
|
contrast: {
|
|
192
|
-
DEFAULT: import('
|
|
193
|
-
hover: import('
|
|
192
|
+
DEFAULT: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
193
|
+
hover: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
info: any;
|
|
@@ -204,12 +204,12 @@ export declare const semanticColorTokens: {
|
|
|
204
204
|
};
|
|
205
205
|
placeholder: {
|
|
206
206
|
DEFAULT: any;
|
|
207
|
-
contrast: import('
|
|
207
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
208
208
|
};
|
|
209
209
|
accent: {
|
|
210
210
|
DEFAULT: any;
|
|
211
211
|
subtle: any;
|
|
212
212
|
};
|
|
213
|
-
contrast: import('
|
|
213
|
+
contrast: import('@televet/kibble-primitives').SemanticTokenDefinition;
|
|
214
214
|
};
|
|
215
215
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SemanticProperty } from '
|
|
1
|
+
import { SemanticProperty } from '@televet/kibble-primitives/semantic';
|
|
2
2
|
import { FlatSemanticTokenRecord } from './flattenSemanticTokenRecord';
|
|
3
3
|
export type KibbleThemeMode = 'light' | 'dark';
|
|
4
4
|
export declare const getSemanticColorTokenRecord: ({ property }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/blurs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/borders';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const colorTokens: Record<import('
|
|
1
|
+
export declare const colorTokens: Record<import('@televet/kibble-primitives').CoreColor, Record<import('@televet/kibble-primitives').ColorValue, {
|
|
2
2
|
value: string;
|
|
3
3
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/colors';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/shadows';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/sizes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/spacing';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/transitions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/typography';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '@televet/kibble-primitives/core/zIndices';
|