@rafal.lemieszewski/tide-ui 0.85.0 → 0.86.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 (56) hide show
  1. package/dist/cjs/components/fundamental/breadcrumb.cjs +1 -1
  2. package/dist/cjs/components/fundamental/button.cjs +1 -1
  3. package/dist/cjs/components/fundamental/calendar.cjs +1 -1
  4. package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -1
  5. package/dist/cjs/components/fundamental/custom-icons.cjs +1 -1
  6. package/dist/cjs/components/fundamental/dialog.cjs +1 -1
  7. package/dist/cjs/components/fundamental/file-upload.cjs +1 -1
  8. package/dist/cjs/components/fundamental/icon.cjs +1 -1
  9. package/dist/cjs/components/fundamental/month-picker.cjs +1 -1
  10. package/dist/cjs/components/fundamental/pagination.cjs +1 -1
  11. package/dist/cjs/components/fundamental/select.cjs +1 -1
  12. package/dist/cjs/components/fundamental/separator.cjs +1 -1
  13. package/dist/cjs/components/fundamental/sidebar.cjs +1 -1
  14. package/dist/cjs/components/fundamental/toast.cjs +1 -1
  15. package/dist/cjs/components/fundamental/tree.cjs +1 -1
  16. package/dist/cjs/components/product/app-frame.cjs +1 -1
  17. package/dist/cjs/components/product/attributes-list.cjs +1 -1
  18. package/dist/cjs/components/product/bookmarks.cjs +1 -1
  19. package/dist/cjs/components/product/data-table-settings-menu.cjs +1 -1
  20. package/dist/cjs/components/product/data-table.cjs +1 -1
  21. package/dist/cjs/components/product/filters.cjs +1 -1
  22. package/dist/cjs/components/product/fixture-status.cjs +1 -1
  23. package/dist/cjs/components/product/linked-chart.cjs +1 -1
  24. package/dist/cjs/components/product/view-mode-menu.cjs +1 -1
  25. package/dist/es/components/fundamental/button.js +10 -9
  26. package/dist/es/components/fundamental/calendar.js +18 -17
  27. package/dist/es/components/fundamental/custom-icons.js +283 -517
  28. package/dist/es/components/fundamental/dialog.js +25 -24
  29. package/dist/es/components/fundamental/file-upload.js +17 -16
  30. package/dist/es/components/fundamental/icon.js +112 -139
  31. package/dist/es/components/fundamental/month-picker.js +21 -20
  32. package/dist/es/components/fundamental/pagination.js +44 -43
  33. package/dist/es/components/fundamental/select.js +40 -39
  34. package/dist/es/components/fundamental/separator.js +11 -10
  35. package/dist/es/components/fundamental/sidebar.js +85 -84
  36. package/dist/es/components/fundamental/toast.js +8 -7
  37. package/dist/es/components/product/app-frame.js +83 -82
  38. package/dist/es/components/product/attributes-list.js +61 -60
  39. package/dist/es/components/product/bookmarks.js +170 -169
  40. package/dist/es/components/product/data-table-settings-menu.js +38 -37
  41. package/dist/es/components/product/data-table.js +374 -373
  42. package/dist/es/components/product/filters.js +93 -92
  43. package/dist/es/components/product/fixture-status.js +89 -87
  44. package/dist/es/components/product/linked-chart.js +54 -53
  45. package/dist/es/components/product/view-mode-menu.js +176 -175
  46. package/dist/es/style.css +1 -1
  47. package/dist/types/components/core-index.d.cts +1 -1
  48. package/dist/types/components/core-index.d.ts +1 -1
  49. package/dist/types/components/fundamental/custom-icons.d.ts +32 -36
  50. package/dist/types/components/fundamental/dropdown-menu.d.ts +2 -1
  51. package/dist/types/components/fundamental/icon.d.ts +1 -3
  52. package/dist/types/components/index.d.ts +2 -1
  53. package/dist/types/components/product/fixture-status.d.ts +2 -2
  54. package/dist/types/lib/index.d.cts +1 -1
  55. package/dist/types/lib/index.d.ts +1 -1
  56. package/package.json +1 -1
@@ -66,7 +66,7 @@ export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from
66
66
  export { Tree } from './fundamental/tree.js';
67
67
  export type { TreeProps, TreeDataItem } from './fundamental/tree.js';
68
68
  export { Icon } from './fundamental/icon.js';
69
- export type { IconColor, IconSize, CustomIconName } from './fundamental/icon.js';
69
+ export type { IconColor, IconSize, IconComponent, IconType } from './fundamental/icon.js';
70
70
  export { Kbd, KbdGroup } from './fundamental/kbd.js';
71
71
  export type { KbdProps, KbdGroupProps } from './fundamental/kbd.js';
72
72
  export { MonthPicker } from './fundamental/month-picker.js';
@@ -66,7 +66,7 @@ export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from
66
66
  export { Tree } from './fundamental/tree.js';
67
67
  export type { TreeProps, TreeDataItem } from './fundamental/tree.js';
68
68
  export { Icon } from './fundamental/icon.js';
69
- export type { IconColor, IconSize, CustomIconName } from './fundamental/icon.js';
69
+ export type { IconColor, IconSize, IconComponent, IconType } from './fundamental/icon.js';
70
70
  export { Kbd, KbdGroup } from './fundamental/kbd.js';
71
71
  export type { KbdProps, KbdGroupProps } from './fundamental/kbd.js';
72
72
  export { MonthPicker } from './fundamental/month-picker.js';
@@ -1,37 +1,33 @@
1
1
  import { default as React } from 'react';
2
- export declare const customIcons: {
3
- readonly "chart-marker-bar": import("react/jsx-runtime").JSX.Element;
4
- readonly "chart-marker-line": import("react/jsx-runtime").JSX.Element;
5
- readonly "chart-marker-dashline": import("react/jsx-runtime").JSX.Element;
6
- readonly "chart-marker-dashline2": import("react/jsx-runtime").JSX.Element;
7
- readonly "chart-marker-dotline": import("react/jsx-runtime").JSX.Element;
8
- readonly "chart-marker-dot": import("react/jsx-runtime").JSX.Element;
9
- readonly dot: import("react/jsx-runtime").JSX.Element;
10
- readonly "bubble-size": import("react/jsx-runtime").JSX.Element;
11
- readonly "broken-scale": import("react/jsx-runtime").JSX.Element;
12
- readonly "ship-unload": import("react/jsx-runtime").JSX.Element;
13
- readonly "ship-load": import("react/jsx-runtime").JSX.Element;
14
- readonly "star-full": import("react/jsx-runtime").JSX.Element;
15
- readonly "user-created-by": import("react/jsx-runtime").JSX.Element;
16
- readonly "user-owner": import("react/jsx-runtime").JSX.Element;
17
- readonly "user-charterer": import("react/jsx-runtime").JSX.Element;
18
- readonly "user-broker": import("react/jsx-runtime").JSX.Element;
19
- readonly approved: import("react/jsx-runtime").JSX.Element;
20
- readonly "pending-approval": import("react/jsx-runtime").JSX.Element;
21
- readonly "info-filled": import("react/jsx-runtime").JSX.Element;
22
- readonly "square-diamond": import("react/jsx-runtime").JSX.Element;
23
- readonly "square-corner-check": import("react/jsx-runtime").JSX.Element;
24
- readonly "square-corner-plus": import("react/jsx-runtime").JSX.Element;
25
- readonly "square-dashed-corner-plus": import("react/jsx-runtime").JSX.Element;
26
- readonly "square-dashed-chart-gantt": import("react/jsx-runtime").JSX.Element;
27
- readonly "circle-dot-2": import("react/jsx-runtime").JSX.Element;
28
- readonly "circle-diamond": import("react/jsx-runtime").JSX.Element;
29
- readonly "circle-check-2": import("react/jsx-runtime").JSX.Element;
30
- readonly "circle-dashed-arrow-up": import("react/jsx-runtime").JSX.Element;
31
- readonly "circle-dashed-arrow-down": import("react/jsx-runtime").JSX.Element;
32
- readonly "hexagon-minus": import("react/jsx-runtime").JSX.Element;
33
- readonly "hexagon-asterisk": import("react/jsx-runtime").JSX.Element;
34
- readonly "hexagon-dashed": import("react/jsx-runtime").JSX.Element;
35
- };
36
- export type CustomIconName = keyof typeof customIcons;
37
- export declare function addCustomIcon(name: string, iconElement: React.ReactNode): void;
2
+ export declare const ChartMarkerBar: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
3
+ export declare const ChartMarkerLine: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
4
+ export declare const ChartMarkerDashline: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
5
+ export declare const ChartMarkerDashline2: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
6
+ export declare const ChartMarkerDotline: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
7
+ export declare const ChartMarkerDot: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
8
+ export declare const Dot: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
9
+ export declare const BubbleSize: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
10
+ export declare const BrokenScale: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
11
+ export declare const ShipUnload: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
12
+ export declare const ShipLoad: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
13
+ export declare const StarFull: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
14
+ export declare const UserCreatedBy: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
15
+ export declare const UserOwner: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
16
+ export declare const UserCharterer: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
17
+ export declare const UserBroker: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
18
+ export declare const Approved: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
19
+ export declare const PendingApproval: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
20
+ export declare const InfoFilled: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
21
+ export declare const SquareDiamond: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
22
+ export declare const SquareCornerCheck: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
23
+ export declare const SquareCornerPlus: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
24
+ export declare const SquareDashedCornerPlus: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
25
+ export declare const SquareDashedChartGantt: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
26
+ export declare const CircleDot2: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
27
+ export declare const CircleDiamond: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
28
+ export declare const CircleCheck2: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
29
+ export declare const CircleDashedArrowUp: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
30
+ export declare const CircleDashedArrowDown: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
31
+ export declare const HexagonMinus: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
32
+ export declare const HexagonAsterisk: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
33
+ export declare const HexagonDashed: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,4 @@
1
+ import { IconComponent } from './icon.js';
1
2
  import * as React from "react";
2
3
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
4
  declare const DropdownMenuDesktop: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
@@ -9,7 +10,7 @@ declare const DropdownMenuDesktopContent: React.ForwardRefExoticComponent<Omit<D
9
10
  declare const DropdownMenuDesktopItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
11
  inset?: boolean;
11
12
  destructive?: boolean;
12
- icon?: string;
13
+ icon?: string | IconComponent;
13
14
  } & React.RefAttributes<HTMLDivElement>>;
14
15
  declare const DropdownMenuDesktopCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
16
  declare const DropdownMenuDesktopRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
- import { CustomIconName } from './custom-icons.js';
3
2
  declare const iconColors: {
4
3
  readonly primary: "text-[var(--color-icon-primary)]";
5
4
  readonly secondary: "text-[var(--color-icon-secondary)]";
@@ -26,12 +25,11 @@ declare const iconSizes: {
26
25
  };
27
26
  export type IconColor = keyof typeof iconColors;
28
27
  export type IconSize = keyof typeof iconSizes;
29
- export type { CustomIconName };
30
28
  export type LucideIconName = string;
31
29
  export type IconComponent = React.ComponentType<{
32
30
  className?: string;
33
31
  }>;
34
- export type IconType = CustomIconName | LucideIconName | IconComponent;
32
+ export type IconType = LucideIconName | IconComponent;
35
33
  export interface IconProps extends Omit<React.SVGAttributes<SVGElement>, "color" | "name"> {
36
34
  name: IconType;
37
35
  size?: IconSize;
@@ -70,7 +70,8 @@ export type { TreeProps, TreeDataItem } from './fundamental/tree.js';
70
70
  export { CountryDropdown, useCountryData } from './fundamental/country-dropdown.js';
71
71
  export type { Country, CountryDropdownProps, CountryDropdownTriggerProps } from './fundamental/country-dropdown.js';
72
72
  export { Icon } from './fundamental/icon.js';
73
- export type { IconColor, IconSize, CustomIconName, IconComponent, IconType } from './fundamental/icon.js';
73
+ export type { IconColor, IconSize, IconComponent, IconType } from './fundamental/icon.js';
74
+ export { Dot, ShipLoad, ShipUnload, StarFull, InfoFilled, ChartMarkerBar, ChartMarkerLine, ChartMarkerDashline, ChartMarkerDashline2, ChartMarkerDotline, ChartMarkerDot, BubbleSize, BrokenScale, UserCreatedBy, UserOwner, UserCharterer, UserBroker, HexagonDashed, HexagonAsterisk, HexagonMinus, CircleDashedArrowDown, CircleDashedArrowUp, CircleDiamond, CircleDot2, CircleCheck2, SquareCornerCheck, SquareCornerPlus, SquareDashedChartGantt, SquareDashedCornerPlus, SquareDiamond, Approved, PendingApproval, } from './fundamental/custom-icons.js';
74
75
  export { Kbd, KbdGroup } from './fundamental/kbd.js';
75
76
  export type { KbdProps, KbdGroupProps } from './fundamental/kbd.js';
76
77
  export { MonthPicker } from './fundamental/month-picker.js';
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { IconColor } from '../fundamental/icon.js';
2
+ import { IconColor, IconComponent } from '../fundamental/icon.js';
3
3
  type StatusConfig = {
4
- icon: string;
4
+ icon: IconComponent;
5
5
  color: IconColor;
6
6
  objectLabel: string;
7
7
  statusLabel: string;
@@ -66,7 +66,7 @@ export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from
66
66
  export { Tree } from '../components/core-index.js';
67
67
  export type { TreeProps, TreeDataItem } from '../components/core-index.js';
68
68
  export { Icon } from '../components/core-index.js';
69
- export type { IconColor, IconSize, CustomIconName } from '../components/core-index.js';
69
+ export type { IconColor, IconSize, IconComponent, IconType } from '../components/core-index.js';
70
70
  export { Kbd, KbdGroup } from '../components/core-index.js';
71
71
  export type { KbdProps, KbdGroupProps } from '../components/core-index.js';
72
72
  export { MonthPicker } from '../components/core-index.js';
@@ -66,7 +66,7 @@ export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from
66
66
  export { Tree } from '../components/core-index.js';
67
67
  export type { TreeProps, TreeDataItem } from '../components/core-index.js';
68
68
  export { Icon } from '../components/core-index.js';
69
- export type { IconColor, IconSize, CustomIconName } from '../components/core-index.js';
69
+ export type { IconColor, IconSize, IconComponent, IconType } from '../components/core-index.js';
70
70
  export { Kbd, KbdGroup } from '../components/core-index.js';
71
71
  export type { KbdProps, KbdGroupProps } from '../components/core-index.js';
72
72
  export { MonthPicker } from '../components/core-index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rafal.lemieszewski/tide-ui",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "A comprehensive React component library built with Tailwind CSS and Radix UI primitives",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/lib/index.cjs",