@ornikar/kitt-universal 27.1.0 → 27.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 +16 -0
- package/dist/definitions/Button/AnimatedContainer.d.ts +3 -1
- package/dist/definitions/Button/AnimatedContainer.d.ts.map +1 -1
- package/dist/definitions/Button/AnimatedContainer.web.d.ts +1 -1
- package/dist/definitions/Button/AnimatedContainer.web.d.ts.map +1 -1
- package/dist/definitions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
- package/dist/definitions/Button/ButtonPadding.d.ts +2 -2
- package/dist/definitions/Button/ButtonPadding.d.ts.map +1 -1
- package/dist/definitions/Button/hooks/useNativeAnimation.d.ts.map +1 -1
- package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts +3 -3
- package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts.map +1 -1
- package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts +1 -1
- package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts.map +1 -1
- package/dist/definitions/Choices/ChoiceItem.d.ts +6 -4
- package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -1
- package/dist/definitions/Choices/Choices.d.ts +2 -2
- package/dist/definitions/Choices/Choices.d.ts.map +1 -1
- package/dist/definitions/Choices/utils/getBorderColor.d.ts +8 -0
- package/dist/definitions/Choices/utils/getBorderColor.d.ts.map +1 -0
- package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts +1 -5
- package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts.map +1 -1
- package/dist/definitions/IconButton/IconButton.d.ts +8 -16
- package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
- package/dist/definitions/IconButton/utils/getButtonTypeAndVariant.d.ts +9 -0
- package/dist/definitions/IconButton/utils/getButtonTypeAndVariant.d.ts.map +1 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +19 -43
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +5 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/button.d.ts +3 -11
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/choices.d.ts +20 -2
- package/dist/definitions/themes/late-ocean/choices.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/iconButton.d.ts +0 -35
- package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts +1 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +228 -405
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +228 -405
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +223 -400
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +225 -439
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +223 -400
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +225 -439
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +228 -398
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +231 -437
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +38 -64
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +38 -64
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +38 -64
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +38 -64
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +38 -64
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +38 -64
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +38 -64
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +38 -64
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/definitions/Button/utils/getCurrentScale.d.ts +0 -10
- package/dist/definitions/Button/utils/getCurrentScale.d.ts.map +0 -1
- package/dist/definitions/Choices/utils/getBorderRadius.d.ts +0 -3
- package/dist/definitions/Choices/utils/getBorderRadius.d.ts.map +0 -1
- package/dist/definitions/IconButton/AnimatedBackground.d.ts +0 -13
- package/dist/definitions/IconButton/AnimatedBackground.d.ts.map +0 -1
- package/dist/definitions/IconButton/AnimatedBackground.web.d.ts +0 -4
- package/dist/definitions/IconButton/AnimatedBackground.web.d.ts.map +0 -1
- package/dist/definitions/IconButton/AnimatedScale.d.ts +0 -12
- package/dist/definitions/IconButton/AnimatedScale.d.ts.map +0 -1
- package/dist/definitions/IconButton/AnimatedScale.web.d.ts +0 -4
- package/dist/definitions/IconButton/AnimatedScale.web.d.ts.map +0 -1
- package/dist/definitions/IconButton/Background.d.ts +0 -11
- package/dist/definitions/IconButton/Background.d.ts.map +0 -1
- package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts +0 -18
- package/dist/definitions/IconButton/hooks/useNativeAnimation.d.ts.map +0 -1
- package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts +0 -3
- package/dist/definitions/IconButton/hooks/useNativeAnimation.web.d.ts.map +0 -1
- package/dist/definitions/IconButton/utils/getIconButtonBackgroundColor.d.ts +0 -3
- package/dist/definitions/IconButton/utils/getIconButtonBackgroundColor.d.ts.map +0 -1
- package/dist/definitions/IconButton/utils/getIconButtonTextColorByColor.d.ts +0 -4
- package/dist/definitions/IconButton/utils/getIconButtonTextColorByColor.d.ts.map +0 -1
|
@@ -1,41 +1,6 @@
|
|
|
1
|
-
interface IconButtonVariationValues {
|
|
2
|
-
pressedBackgroundColor: string;
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
}
|
|
5
1
|
export interface IconButtonTheme {
|
|
6
|
-
backgroundColor: string;
|
|
7
2
|
width: number;
|
|
8
3
|
height: number;
|
|
9
|
-
borderRadius: number;
|
|
10
|
-
borderWidth: number;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
transition: {
|
|
13
|
-
property: string;
|
|
14
|
-
duration: string;
|
|
15
|
-
timingFunction: string;
|
|
16
|
-
};
|
|
17
|
-
scale: {
|
|
18
|
-
base: {
|
|
19
|
-
default: number;
|
|
20
|
-
hover: number;
|
|
21
|
-
active: number;
|
|
22
|
-
};
|
|
23
|
-
medium: {
|
|
24
|
-
default: number;
|
|
25
|
-
hover: number;
|
|
26
|
-
active: number;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
disabled: {
|
|
30
|
-
scale: number;
|
|
31
|
-
backgroundColor: string;
|
|
32
|
-
};
|
|
33
|
-
default: IconButtonVariationValues;
|
|
34
|
-
ghost: IconButtonVariationValues;
|
|
35
|
-
primary: IconButtonVariationValues;
|
|
36
|
-
'primary-plain': IconButtonVariationValues;
|
|
37
|
-
secondary: IconButtonVariationValues;
|
|
38
4
|
}
|
|
39
5
|
export declare const iconButton: IconButtonTheme;
|
|
40
|
-
export {};
|
|
41
6
|
//# sourceMappingURL=iconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/iconButton.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/iconButton.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,eAGxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typography.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,aAAc,MAAM,wBAAwB,MAAM,KAAG,MACnC,CAAC;AAE9C,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/typography.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,aAAc,MAAM,wBAAwB,MAAM,KAAG,MACnC,CAAC;AAE9C,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsMtB,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type TypographyColor = (typeof typographyColors)[number];
|
|
|
10
10
|
export type ExtendedTypographyColor = TypographyColor | NonNullable<ITextProps['color']> | string;
|
|
11
11
|
export type TypographyHeadingType = `heading-${'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'}`;
|
|
12
12
|
export type TypographyBodyType = `body-${'xs' | 's' | 'm' | 'l' | 'xl'}`;
|
|
13
|
-
export type TypographyLabelType = `label-${'large' | 'medium'}`;
|
|
13
|
+
export type TypographyLabelType = `label-${'large' | 'medium' | 'small'}`;
|
|
14
14
|
export type TypographyContentCapsType = `content-caps-${'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs'}`;
|
|
15
15
|
export type TypographyType = TypographyHeadingType | TypographyBodyType | TypographyLabelType | TypographyContentCapsType;
|
|
16
16
|
type TypographyVariant = 'regular' | 'semibold' | 'bold';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAElG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAK3D,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAGhE,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC;AAElG,MAAM,MAAM,qBAAqB,GAAG,WAAW,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,EAAE,CAAC;AAC/F,MAAM,MAAM,kBAAkB,GAAG,QAAQ,IAAI,GAAG,GAAG,GA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