@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.
Files changed (58) hide show
  1. package/dist/types/icons/src/Icon/index.d.ts +2 -9
  2. package/dist/types/icons/src/Icon/styled.d.ts +629 -423
  3. package/dist/types/icons/src/Icon/styled.d.ts.map +1 -1
  4. package/dist/types/icons/src/Icon/styles/BaseIcon.styles.d.ts +273 -170
  5. package/dist/types/icons/src/Icon/styles/BaseIcon.styles.d.ts.map +1 -1
  6. package/dist/types/icons/src/Icon/types.d.ts +13 -21
  7. package/dist/types/system/src/index.d.ts +5 -30
  8. package/dist/types/system/src/stitches.config.d.ts +3878 -3682
  9. package/dist/types/system/src/stitches.config.d.ts.map +1 -1
  10. package/dist/types/system/src/types.d.ts +6 -13
  11. package/dist/types/tokens/src/Color/helpers/generateColorData.d.ts +2 -5
  12. package/dist/types/tokens/src/Color/helpers/getColorScaleFromThemeObject.d.ts +2 -6
  13. package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.d.ts +3 -6
  14. package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.d.ts.map +1 -1
  15. package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.js +2 -4
  16. package/dist/types/tokens/src/Color/helpers/getColorScaleValueByUseCase.js.map +1 -1
  17. package/dist/types/tokens/src/Color/helpers/index.d.ts +1 -1
  18. package/dist/types/tokens/src/Color/index.d.ts +2 -7
  19. package/dist/types/tokens/src/Color/scales/dark/blue.d.ts +1 -1
  20. package/dist/types/tokens/src/Color/scales/dark/cyan.d.ts +1 -1
  21. package/dist/types/tokens/src/Color/scales/dark/green.d.ts +1 -1
  22. package/dist/types/tokens/src/Color/scales/dark/grey.d.ts +1 -1
  23. package/dist/types/tokens/src/Color/scales/dark/greyA.d.ts +1 -1
  24. package/dist/types/tokens/src/Color/scales/dark/index.d.ts +1 -1
  25. package/dist/types/tokens/src/Color/scales/dark/orange.d.ts +1 -1
  26. package/dist/types/tokens/src/Color/scales/dark/pink.d.ts +1 -1
  27. package/dist/types/tokens/src/Color/scales/dark/red.d.ts +1 -1
  28. package/dist/types/tokens/src/Color/scales/dark/yellow.d.ts +1 -1
  29. package/dist/types/tokens/src/Color/scales/index.d.ts +1 -1
  30. package/dist/types/tokens/src/Color/scales/light/blue.d.ts +1 -1
  31. package/dist/types/tokens/src/Color/scales/light/cyan.d.ts +1 -1
  32. package/dist/types/tokens/src/Color/scales/light/green.d.ts +1 -1
  33. package/dist/types/tokens/src/Color/scales/light/grey.d.ts +1 -1
  34. package/dist/types/tokens/src/Color/scales/light/greyA.d.ts +1 -1
  35. package/dist/types/tokens/src/Color/scales/light/index.d.ts +1 -1
  36. package/dist/types/tokens/src/Color/scales/light/orange.d.ts +1 -1
  37. package/dist/types/tokens/src/Color/scales/light/pink.d.ts +1 -1
  38. package/dist/types/tokens/src/Color/scales/light/red.d.ts +1 -1
  39. package/dist/types/tokens/src/Color/scales/light/yellow.d.ts +1 -1
  40. package/dist/types/tokens/src/Color/types.d.ts +32 -56
  41. package/dist/types/tokens/src/Color/types.d.ts.map +1 -1
  42. package/dist/types/tokens/src/Color/types.js +1 -1
  43. package/dist/types/tokens/src/Theme/getters/getColors.d.ts +447 -213
  44. package/dist/types/tokens/src/Theme/getters/getColors.d.ts.map +1 -1
  45. package/dist/types/tokens/src/Theme/getters/getSpace.d.ts +1 -1
  46. package/dist/types/tokens/src/Theme/getters/getSpace.d.ts.map +1 -1
  47. package/dist/types/tokens/src/Theme/getters/getSpace.js +25 -23
  48. package/dist/types/tokens/src/Theme/getters/getSpace.js.map +1 -1
  49. package/dist/types/tokens/src/Theme/getters/getTheme.d.ts +661 -429
  50. package/dist/types/tokens/src/Theme/getters/getTheme.d.ts.map +1 -1
  51. package/dist/types/tokens/src/Theme/getters/index.d.ts +1 -1
  52. package/dist/types/tokens/src/Theme/index.d.ts +1 -1
  53. package/dist/types/tokens/src/Theme/utils/convertScalesToStitches.d.ts +2 -2
  54. package/dist/types/tokens/src/Theme/utils/createScaleInStitchesFormat.d.ts +3 -9
  55. package/dist/types/tokens/src/Theme/utils/makeThemeForStitches.d.ts +1 -1
  56. package/dist/types/tokens/src/index.d.ts +2 -10
  57. package/dist/types/tsconfig.tsbuildinfo +1 -1
  58. 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnDP,wBAmEG"}
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
- * The vertical alignment of the icon.
7
- */
8
- verticalAlign?:
9
- | "baseline"
10
- | "bottom"
11
- | "middle"
12
- | "sub"
13
- | "super"
14
- | "text-bottom"
15
- | "text-top"
16
- | "top";
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
- colorUseCases,
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
- getColorScaleFromThemeObject,
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