@gobolt/genesis 0.3.27 → 0.4.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 (48) hide show
  1. package/README.md +1 -1
  2. package/dist/bundle.css +41 -41
  3. package/dist/components/Avatar/styles.d.ts +12 -1
  4. package/dist/components/Badge/styles.d.ts +10 -1
  5. package/dist/components/Breadcrumb/styles.d.ts +23 -2
  6. package/dist/components/Button/icon-button-styles.d.ts +12 -1
  7. package/dist/components/Button/styles.d.ts +16 -1
  8. package/dist/components/Card/styles.d.ts +10 -1
  9. package/dist/components/Checkbox/styles.d.ts +6 -1
  10. package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
  11. package/dist/components/Input/styles.d.ts +17 -1
  12. package/dist/components/Insights/BarChart/BarChart.d.ts +1 -0
  13. package/dist/components/Insights/BarChart/styles.d.ts +9 -2
  14. package/dist/components/Insights/DonutChart/styles.d.ts +9 -2
  15. package/dist/components/Insights/LineChart/styles.d.ts +9 -2
  16. package/dist/components/Insights/common-settings.d.ts +75 -0
  17. package/dist/components/Layout/Content/styles.d.ts +7 -1
  18. package/dist/components/Message/styles.d.ts +9 -3
  19. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
  20. package/dist/components/Notification/styles.d.ts +16 -5
  21. package/dist/components/Popover/styles.d.ts +13 -1
  22. package/dist/components/Progress/Progress.d.ts +2 -1
  23. package/dist/components/Progress/styles.d.ts +13 -1
  24. package/dist/components/Radio/Radio.d.ts +4 -1
  25. package/dist/components/Row/RowActions/styles.d.ts +1 -1
  26. package/dist/components/Row/RowLabelValue/styles.d.ts +12 -2
  27. package/dist/components/Row/styles.d.ts +9 -1
  28. package/dist/components/SegmentedControls/styles.d.ts +9 -1
  29. package/dist/components/Switch/styles.d.ts +7 -1
  30. package/dist/components/Table/Table.d.ts +12 -2
  31. package/dist/components/Table/TableControls/PrimaryTableControlsRow.d.ts +3 -1
  32. package/dist/components/Table/styles.d.ts +15 -1
  33. package/dist/components/Table/useTable.d.ts +4 -0
  34. package/dist/components/TableWithControls/useTableWithControls.d.ts +3 -1
  35. package/dist/components/Tabs/styles.d.ts +11 -1
  36. package/dist/components/Tile/styles.d.ts +7 -1
  37. package/dist/components/Toast/styles.d.ts +9 -3
  38. package/dist/components/Tooltip/Tooltip.d.ts +6 -1
  39. package/dist/components/Tooltip/styles.d.ts +14 -1
  40. package/dist/components/Typography/styles.d.ts +21 -3
  41. package/dist/index.cjs +3371 -2874
  42. package/dist/index.js +3371 -2874
  43. package/dist/styles/global-styles.d.ts +1 -1
  44. package/dist/styles/theme/genesis-theme.d.ts +1 -79
  45. package/dist/utils/styled.d.ts +1 -0
  46. package/dist/utils/user-util.d.ts +2 -0
  47. package/package.json +27 -32
  48. package/dist/styles/design-tokens/variables.d.ts +0 -706
@@ -1,3 +1,9 @@
1
- export declare const ToastRow: any;
2
- export declare const ToastCloseButton: any;
3
- export declare const ToastContent: any;
1
+ export declare const ToastRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
2
+ state: string;
3
+ size: string;
4
+ }>> & string;
5
+ export declare const ToastCloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
6
+ export declare const ToastContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
7
+ state: string;
8
+ size: string;
9
+ }>> & string;
@@ -2,6 +2,11 @@ export interface TooltipProps {
2
2
  tip: string;
3
3
  placement?: "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
4
4
  children?: React.ReactNode;
5
+ isVisible?: boolean;
6
+ x?: number;
7
+ y?: number;
8
+ isAbsolutePositioned?: boolean;
9
+ hasPointerEvents?: boolean;
5
10
  }
6
- declare const Tooltip: ({ tip, children }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Tooltip: ({ tip, children, isVisible, x, y, isAbsolutePositioned, hasPointerEvents, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
7
12
  export default Tooltip;
@@ -1,6 +1,19 @@
1
+ import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
2
+ interface StyledTooltipProperties {
3
+ theme?: GenesisTheme;
4
+ type?: "primary" | "secondary";
5
+ state?: "active" | "disabled";
6
+ }
1
7
  export declare const getGenesisClass: ({ colors, borderRadius, sizing }: {
2
8
  colors: any;
3
9
  borderRadius: any;
4
10
  sizing: any;
5
11
  }, type?: string, state?: string) => string;
6
- export declare const Tooltip: any;
12
+ export declare const Tooltip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(Omit<import('antd/es/tooltip').TooltipPropsWithTitle & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
13
+ ref?: ((instance: import('antd/es/tooltip').TooltipRef | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<import('antd/es/tooltip').TooltipRef> | null | undefined;
14
+ }) | (Omit<import('antd/es/tooltip').TooltipPropsWithOverlay & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
15
+ ref?: ((instance: import('antd/es/tooltip').TooltipRef | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<import('antd/es/tooltip').TooltipRef> | null | undefined;
16
+ }), StyledTooltipProperties>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').TooltipProps & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>> & {
17
+ _InternalPanelDoNotUseOrYouWillBeFired: import('react').FC<import('antd/es/tooltip/PurePanel').PurePanelProps>;
18
+ }, keyof import('react').Component<any, {}, any>>;
19
+ export {};
@@ -1,3 +1,21 @@
1
- export declare const Headline: any;
2
- export declare const Paragraph: any;
3
- export declare const Text: any;
1
+ import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
2
+ import { TYPE, STATE } from '../../constants';
3
+ interface TypographyStyledProperties {
4
+ theme: GenesisTheme;
5
+ $themeType?: keyof typeof TYPE;
6
+ variant?: string;
7
+ state?: keyof typeof STATE;
8
+ breakpoint?: string;
9
+ color?: string;
10
+ $isFullWidth?: boolean;
11
+ }
12
+ export declare const Headline: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
13
+ ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
14
+ }, TypographyStyledProperties>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
15
+ export declare const Paragraph: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Paragraph').ParagraphProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
16
+ ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
17
+ }, TypographyStyledProperties>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Paragraph').ParagraphProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
18
+ export declare const Text: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
19
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
20
+ }, TypographyStyledProperties>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
21
+ export {};