@fibery/ui-kit 1.4.1 → 1.7.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.
Files changed (71) hide show
  1. package/index.ts +0 -1
  2. package/package.json +39 -23
  3. package/src/Item.tsx +8 -2
  4. package/src/Pallete.ts +191 -191
  5. package/src/Select/components.tsx +22 -21
  6. package/src/Select/index.tsx +98 -30
  7. package/src/Select/select-control-settings-context.tsx +20 -0
  8. package/src/Select/select-in-popover.tsx +333 -0
  9. package/src/Select/styles.ts +27 -1
  10. package/src/ThemeProvider.tsx +1 -1
  11. package/src/antd/styles.ts +5 -7
  12. package/src/designSystem.ts +129 -91
  13. package/src/error-alert.tsx +2 -2
  14. package/src/icons/Icon.tsx +17 -12
  15. package/src/icons/ast/AddGroup.ts +8 -0
  16. package/src/icons/ast/AiAssistant.ts +8 -0
  17. package/src/icons/ast/AiAvatar.ts +8 -0
  18. package/src/icons/ast/ArrowBottom.ts +1 -1
  19. package/src/icons/ast/ArrowCollapse.ts +1 -1
  20. package/src/icons/ast/ArrowCollapseVertical.ts +1 -1
  21. package/src/icons/ast/ArrowLeft.ts +1 -1
  22. package/src/icons/ast/ArrowRight.ts +1 -1
  23. package/src/icons/ast/ArrowTop.ts +1 -1
  24. package/src/icons/ast/Atom.ts +8 -0
  25. package/src/icons/ast/Copy.ts +8 -0
  26. package/src/icons/ast/DynamicFilterValue.ts +8 -0
  27. package/src/icons/ast/ExtensionAssignments.ts +1 -1
  28. package/src/icons/ast/FileUpload.ts +8 -0
  29. package/src/icons/ast/FormWithCover.ts +8 -0
  30. package/src/icons/ast/FormWithoutCover.ts +8 -0
  31. package/src/icons/ast/Github.ts +3 -27
  32. package/src/icons/ast/Gitlab.ts +3 -25
  33. package/src/icons/ast/Hint.ts +1 -1
  34. package/src/icons/ast/Jira.ts +8 -0
  35. package/src/icons/ast/Markdown.ts +8 -0
  36. package/src/icons/ast/Minus.ts +8 -0
  37. package/src/icons/ast/MoreCompact.ts +1 -1
  38. package/src/icons/ast/RicheditorBlockFile.ts +8 -0
  39. package/src/icons/ast/RicheditorBlockH4.ts +1 -1
  40. package/src/icons/ast/SimpleCompass.ts +8 -0
  41. package/src/icons/ast/Templates.ts +8 -0
  42. package/src/icons/ast/TypeLocation.ts +8 -0
  43. package/src/icons/ast/ViewForm.ts +8 -0
  44. package/src/icons/ast/ViewMap.ts +8 -0
  45. package/src/icons/ast/index.tsx +199 -181
  46. package/src/icons/react/AddGroup.tsx +12 -0
  47. package/src/icons/react/AiAssistant.tsx +12 -0
  48. package/src/icons/react/AiAvatar.tsx +12 -0
  49. package/src/icons/react/Atom.tsx +12 -0
  50. package/src/icons/react/Copy.tsx +12 -0
  51. package/src/icons/react/DynamicFilterValue.tsx +12 -0
  52. package/src/icons/react/FileUpload.tsx +12 -0
  53. package/src/icons/react/FormWithCover.tsx +12 -0
  54. package/src/icons/react/FormWithoutCover.tsx +12 -0
  55. package/src/icons/react/Github.tsx +8 -6
  56. package/src/icons/react/Gitlab.tsx +8 -6
  57. package/src/icons/react/Jira.tsx +12 -0
  58. package/src/icons/react/Markdown.tsx +12 -0
  59. package/src/icons/react/Minus.tsx +12 -0
  60. package/src/icons/react/RicheditorBlockFile.tsx +12 -0
  61. package/src/icons/react/SimpleCompass.tsx +12 -0
  62. package/src/icons/react/Templates.tsx +12 -0
  63. package/src/icons/react/TypeLocation.tsx +12 -0
  64. package/src/icons/react/ViewForm.tsx +12 -0
  65. package/src/icons/react/ViewMap.tsx +12 -0
  66. package/src/icons/react/index.tsx +199 -181
  67. package/src/tooltip.tsx +132 -152
  68. package/src/Button.d.ts +0 -26
  69. package/src/Button.js +0 -360
  70. package/src/antd/ant-tooltip.tsx +0 -5
  71. package/src/icons/IconAsBackground.tsx +0 -15
@@ -1,5 +0,0 @@
1
- import Tooltip, {TooltipPlacement} from "antd/lib/tooltip";
2
- import "antd/lib/tooltip/style/css";
3
-
4
- export type {TooltipPlacement};
5
- export {Tooltip as AntTooltip};
@@ -1,15 +0,0 @@
1
- import ReactDOMServer from "react-dom/server";
2
- import {iconSize as defaultIconSize} from "../designSystem";
3
- import {generateIconFromAst} from "./generateIconFromAst";
4
- import {IconDefinition} from "./types";
5
-
6
- export function getBackgroundImage({color, icon}: {color: string; icon: IconDefinition}): string {
7
- const svg = generateIconFromAst(icon.icon.children[0], `svg-${icon.name}`, {
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: defaultIconSize,
10
- height: defaultIconSize,
11
- viewBox: "0 0 20 20",
12
- fill: encodeURIComponent(color),
13
- });
14
- return svg ? `url('data:image/svg+xml;utf8,${ReactDOMServer.renderToStaticMarkup(svg)}')` : ``;
15
- }