@vitality-ds/icons 4.1.0 → 4.1.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/types/icons/src/Icon/index.d.ts +2 -9
- package/dist/types/icons/src/Icon/styled.d.ts +629 -423
- package/dist/types/icons/src/Icon/styled.d.ts.map +1 -1
- package/dist/types/icons/src/Icon/styles/BaseIcon.styles.d.ts +273 -170
- package/dist/types/icons/src/Icon/styles/BaseIcon.styles.d.ts.map +1 -1
- package/dist/types/icons/src/Icon/types.d.ts +13 -21
- package/dist/types/system/src/index.d.ts +5 -30
- package/dist/types/system/src/stitches.config.d.ts +3878 -3682
- package/dist/types/system/src/stitches.config.d.ts.map +1 -1
- package/dist/types/system/src/types.d.ts +6 -13
- package/dist/types/tokens/src/Color/helpers/generateColorData.d.ts +2 -5
- package/dist/types/tokens/src/Color/helpers/getColorScaleFromThemeObject.d.ts +2 -6
- package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.d.ts +3 -6
- package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.d.ts.map +1 -1
- package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.js +2 -4
- package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.js.map +1 -1
- package/dist/types/tokens/src/Color/helpers/index.d.ts +1 -1
- package/dist/types/tokens/src/Color/index.d.ts +2 -7
- package/dist/types/tokens/src/Color/scales/dark/blue.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/cyan.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/green.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/grey.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/greyA.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/index.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/orange.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/pink.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/red.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/dark/yellow.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/index.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/blue.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/cyan.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/green.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/grey.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/greyA.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/index.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/orange.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/pink.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/red.d.ts +1 -1
- package/dist/types/tokens/src/Color/scales/light/yellow.d.ts +1 -1
- package/dist/types/tokens/src/Color/types.d.ts +32 -56
- package/dist/types/tokens/src/Color/types.d.ts.map +1 -1
- package/dist/types/tokens/src/Color/types.js +1 -1
- package/dist/types/tokens/src/Theme/getters/getColors.d.ts +447 -213
- package/dist/types/tokens/src/Theme/getters/getColors.d.ts.map +1 -1
- package/dist/types/tokens/src/Theme/getters/getSpace.d.ts +1 -1
- package/dist/types/tokens/src/Theme/getters/getSpace.d.ts.map +1 -1
- package/dist/types/tokens/src/Theme/getters/getSpace.js +25 -23
- package/dist/types/tokens/src/Theme/getters/getSpace.js.map +1 -1
- package/dist/types/tokens/src/Theme/getters/getTheme.d.ts +661 -429
- package/dist/types/tokens/src/Theme/getters/getTheme.d.ts.map +1 -1
- package/dist/types/tokens/src/Theme/getters/index.d.ts +1 -1
- package/dist/types/tokens/src/Theme/index.d.ts +1 -1
- package/dist/types/tokens/src/Theme/utils/convertScalesToStitches.d.ts +2 -2
- package/dist/types/tokens/src/Theme/utils/createScaleInStitchesFormat.d.ts +3 -9
- package/dist/types/tokens/src/Theme/utils/makeThemeForStitches.d.ts +1 -1
- package/dist/types/tokens/src/index.d.ts +2 -10
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BaseIcon.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Icon/styles/BaseIcon.styles.ts"],"names":[],"mappings":";;;;;;;;;;;QAmBI;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoCH;;WAEG
|
1
|
+
{"version":3,"file":"BaseIcon.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/Icon/styles/BaseIcon.styles.ts"],"names":[],"mappings":";;;;;;;;;;;QAmBI;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoCH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnDP,wBAmEG"}
|
@@ -2,25 +2,17 @@ import { ComponentProps } from "@vitality-ds/system";
|
|
2
2
|
import React from "react";
|
3
3
|
import { BaseIcon } from "./styled";
|
4
4
|
export declare type IconType = ComponentProps<typeof BaseIcon> & {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
/**
|
18
|
-
* If the Icon is unaccompanied by a visible text label and has a meaningful action trigger on its own, pass the `title` prop and provide a description. This will allow screen readers to identify the icon's meaning and purpose to the user. Further reading: https://css-tricks.com/accessible-svg-icons
|
19
|
-
*/
|
20
|
-
title?: string;
|
21
|
-
/**
|
22
|
-
* SVG <path> data. This component renders an <svg> element, so any children passed need to be valid children of the svg element.
|
23
|
-
*/
|
24
|
-
children?: React.ReactNode;
|
5
|
+
/**
|
6
|
+
* The vertical alignment of the icon.
|
7
|
+
*/
|
8
|
+
verticalAlign?: "baseline" | "bottom" | "middle" | "sub" | "super" | "text-bottom" | "text-top" | "top";
|
9
|
+
/**
|
10
|
+
* If the Icon is unaccompanied by a visible text label and has a meaningful action trigger on its own, pass the `title` prop and provide a description. This will allow screen readers to identify the icon's meaning and purpose to the user. Further reading: https://css-tricks.com/accessible-svg-icons
|
11
|
+
*/
|
12
|
+
title?: string;
|
13
|
+
/**
|
14
|
+
* SVG <path> data. This component renders an <svg> element, so any children passed need to be valid children of the svg element.
|
15
|
+
*/
|
16
|
+
children?: React.ReactNode;
|
25
17
|
};
|
26
|
-
//# sourceMappingURL=types.d.ts.map
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -1,32 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
getColorScaleFromThemeObject,
|
4
|
-
getColorScaleValueByUseCase,
|
5
|
-
getUseCasesByStep,
|
6
|
-
} from "@vitality-ds/tokens";
|
7
|
-
export {
|
8
|
-
styled,
|
9
|
-
css,
|
10
|
-
createTheme,
|
11
|
-
getCssText,
|
12
|
-
globalCss,
|
13
|
-
config,
|
14
|
-
keyframes,
|
15
|
-
theme,
|
16
|
-
} from "./stitches.config";
|
1
|
+
import { colorUseCases, getColorScaleFromThemeObject, getColorScaleValueByUseCase, getUseCasesByStep } from "@vitality-ds/tokens";
|
2
|
+
export { styled, css, createTheme, getCssText, globalCss, config, keyframes, theme, } from "./stitches.config";
|
17
3
|
export type { ExcludedProps } from "./exclude-types";
|
18
|
-
export type {
|
19
|
-
CSS,
|
20
|
-
VariantProps,
|
21
|
-
ComponentProps,
|
22
|
-
CSSProperties,
|
23
|
-
ScaleValue,
|
24
|
-
} from "./types";
|
4
|
+
export type { CSS, VariantProps, ComponentProps, CSSProperties, ScaleValue, } from "./types";
|
25
5
|
export { AVAILABLE_THEMES } from "./types";
|
26
|
-
export {
|
27
|
-
|
28
|
-
getColorScaleValueByUseCase,
|
29
|
-
colorUseCases,
|
30
|
-
getUseCasesByStep,
|
31
|
-
};
|
32
|
-
//# sourceMappingURL=index.d.ts.map
|
6
|
+
export { getColorScaleFromThemeObject, getColorScaleValueByUseCase, colorUseCases, getUseCasesByStep, };
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|