@mparticle/aquarium 1.54.2-fix-sqdui-3981-icontype.2 → 1.55.1-fix-icon-types.1

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 (103) hide show
  1. package/dist/aquarium.js +2744 -2718
  2. package/dist/aquarium.umd.cjs +40 -40
  3. package/dist/src/components/data-display/Avatar/Avatar.d.ts +5 -2
  4. package/dist/src/components/data-display/Badge/Badge.d.ts +5 -2
  5. package/dist/src/components/data-display/Card/Card.d.ts +6 -3
  6. package/dist/src/components/data-display/Collapse/Collapse.d.ts +5 -3
  7. package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +5 -2
  8. package/dist/src/components/data-display/Empty/Empty.d.ts +2 -1
  9. package/dist/src/components/data-display/Image/Image.d.ts +5 -2
  10. package/dist/src/components/data-display/List/List.d.ts +4 -2
  11. package/dist/src/components/data-display/Popover/Popover.d.ts +2 -1
  12. package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -1
  13. package/dist/src/components/data-display/Table/Table.d.ts +8 -5
  14. package/dist/src/components/data-display/Tabs/Tabs.d.ts +5 -3
  15. package/dist/src/components/data-display/Tag/Tag.d.ts +3 -2
  16. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -1
  17. package/dist/src/components/data-display/Tour/Tour.d.ts +2 -1
  18. package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +2 -1
  19. package/dist/src/components/data-entry/Cascader/Cascader.d.ts +4 -2
  20. package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +5 -2
  21. package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +31 -22
  22. package/dist/src/components/data-entry/Form/Form.d.ts +16 -10
  23. package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +2 -1
  24. package/dist/src/components/data-entry/QueryItem/Action.d.ts +2 -1
  25. package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +2 -1
  26. package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +2 -1
  27. package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +2 -1
  28. package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +13 -8
  29. package/dist/src/components/data-entry/QueryItem/Text.d.ts +2 -1
  30. package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +2 -1
  31. package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +8 -4
  32. package/dist/src/components/data-entry/Radio/Radio.d.ts +6 -3
  33. package/dist/src/components/data-entry/Radio/RadioButton.d.ts +2 -1
  34. package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +2 -1
  35. package/dist/src/components/data-entry/Select/Select.d.ts +6 -3
  36. package/dist/src/components/data-entry/Switch/Switch.d.ts +2 -1
  37. package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +6 -3
  38. package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +5 -2
  39. package/dist/src/components/data-entry/Upload/Upload.d.ts +6 -3
  40. package/dist/src/components/feedback/Alert/Alert.d.ts +4 -2
  41. package/dist/src/components/feedback/Drawer/Drawer.d.ts +2 -1
  42. package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +2 -1
  43. package/dist/src/components/feedback/Message/Message.d.ts +14 -10
  44. package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +2 -1
  45. package/dist/src/components/feedback/Modal/Modal.d.ts +10 -7
  46. package/dist/src/components/feedback/Notification/Notification.d.ts +8 -4
  47. package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +2 -1
  48. package/dist/src/components/feedback/Progress/Progress.d.ts +2 -1
  49. package/dist/src/components/feedback/Result/Result.d.ts +6 -4
  50. package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +13 -6
  51. package/dist/src/components/feedback/Spin/Spin.d.ts +4 -2
  52. package/dist/src/components/general/Button/Button.d.ts +4 -2
  53. package/dist/src/components/general/FloatButton/FloatButton.d.ts +7 -4
  54. package/dist/src/components/general/Icon/Icon.d.ts +1 -3
  55. package/dist/src/components/general/Typography/Typography.d.ts +6 -5
  56. package/dist/src/components/icons/index.d.ts +4 -2
  57. package/dist/src/components/index.d.ts +1 -1
  58. package/dist/src/components/layout/Center/Center.d.ts +2 -1
  59. package/dist/src/components/layout/Divider/Divider.d.ts +2 -1
  60. package/dist/src/components/layout/Flex/Flex.d.ts +2 -1
  61. package/dist/src/components/layout/Layout/Layout.d.ts +8 -6
  62. package/dist/src/components/layout/Space/Space.d.ts +5 -2
  63. package/dist/src/components/layout/Splitter/Splitter.d.ts +3 -2
  64. package/dist/src/components/navigation/Anchor/Anchor.d.ts +5 -3
  65. package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +5 -3
  66. package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +5 -2
  67. package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +4 -3
  68. package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +2 -1
  69. package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +2 -1
  70. package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +2 -1
  71. package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +2 -1
  72. package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +2 -1
  73. package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +2 -1
  74. package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +2 -1
  75. package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +2 -1
  76. package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +2 -1
  77. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +2 -1
  78. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +2 -1
  79. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +2 -1
  80. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +2 -1
  81. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +2 -1
  82. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +2 -1
  83. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +2 -1
  84. package/dist/src/components/navigation/Menu/Menu.d.ts +10 -6
  85. package/dist/src/components/navigation/Pagination/Pagination.d.ts +2 -1
  86. package/dist/src/components/navigation/Steps/Steps.d.ts +2 -1
  87. package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +2 -1
  88. package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +6 -2
  89. package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +2 -1
  90. package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +2 -1
  91. package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +2 -1
  92. package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +2 -1
  93. package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +2 -1
  94. package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +4 -2
  95. package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +5 -3
  96. package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +7 -4
  97. package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +10 -6
  98. package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +2 -1
  99. package/dist/src/constants/Icons.d.ts +2 -920
  100. package/dist/src/types/icons.d.ts +9 -5
  101. package/dist/src/utils/ExampleStory.d.ts +2 -1
  102. package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -1
  103. package/package.json +2 -2
@@ -1,10 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import type { RequireAtLeastOne } from 'type-fest';
3
- export type IconVariant = 'light' | 'duo-tone';
3
+ export declare const ICON_VARIANTS: {
4
+ readonly LIGHT: "light";
5
+ readonly DUO_TONE: "duo-tone";
6
+ };
7
+ export type IconVariant = (typeof ICON_VARIANTS)[keyof typeof ICON_VARIANTS];
4
8
  export type IconOptions = RequireAtLeastOne<{
5
- light?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
6
- 'duo-tone'?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
9
+ [ICON_VARIANTS.LIGHT]?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
10
+ [ICON_VARIANTS.DUO_TONE]?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
7
11
  default: IconVariant;
8
- deprecated?: string;
12
+ deprecated?: string | boolean;
9
13
  }, IconVariant>;
10
- export type IconNames = 'abSplit' | 'accept' | 'account' | 'active' | 'agentCopilot' | 'add' | 'alicorn' | 'audienceGroup' | 'analytics' | 'annotation' | 'array' | 'api' | 'audiences' | 'C360' | 'calculatedAttribute' | 'catalog' | 'chartColumn' | 'chartLine' | 'check' | 'circleNodes' | 'close' | 'cloud' | 'cohort' | 'connections' | 'conversion' | 'criteriaGroup' | 'copy' | 'dashboard' | 'database' | 'dataPlatform' | 'date' | 'delete' | 'devices' | 'directory' | 'dragAndDrop' | 'dropdownClose' | 'dropdownOpen' | 'dsr' | 'edit' | 'empty' | 'enrichment' | 'event' | 'eventAttribute' | 'favorite' | 'filter' | 'fitToScreen' | 'flag' | 'folderClosed' | 'forwarding' | 'fullScreen' | 'funnel' | 'gear' | 'generic' | 'grid' | 'group' | 'heart' | 'help' | 'helpVideo' | 'identity' | 'info' | 'insights' | 'journeyAnalysis' | 'journeys' | 'jumpTo' | 'lightBulb' | 'link' | 'list' | 'liveStream' | 'lock' | 'logout' | 'messageQuestion' | 'moreActions' | 'mpLogo' | 'myHub' | 'next' | 'notification' | 'number' | 'notificationSubscribed' | 'notificationSubscribe' | 'observability' | 'openTab' | 'organization' | 'other' | 'otherData' | 'oversight' | 'overview' | 'paywall' | 'pause' | 'pipelines' | 'placeholder' | 'play' | 'precision' | 'predictions' | 'premium' | 'premiumDt' | 'previous' | 'privacy' | 'privileges' | 'refreshFrequency' | 'rateDown' | 'rateStar' | 'rateUp' | 'run' | 'remove' | 'savedProjects' | 'scheduledReport' | 'search' | 'segmentation' | 'segmentationAnalysis' | 'selected' | 'settings' | 'setup' | 'shieldKeyhole' | 'signout' | 'siteMap' | 'sparkles' | 'split' | 'string' | 'support' | 'systemAlerts' | 'textWidget' | 'timestamp' | 'transformation' | 'trends' | 'unlock' | 'upload' | 'userAttribute' | 'userProfiles' | 'users' | 'wrench' | 'zoomIn' | 'zoomOut' | 'bannerFreemium' | 'boolean' | 'stateEmpty' | 'stateError' | 'stateNoResults' | 'back' | 'submitFeedback' | 'boost' | 'clone' | 'reorder' | 'refresh';
14
+ export type IconNames = 'abSplit' | 'accept' | 'account' | 'active' | 'agentCopilot' | 'add' | 'alicorn' | 'audienceGroup' | 'analytics' | 'annotation' | 'array' | 'api' | 'audiences' | 'C360' | 'calculatedAttribute' | 'catalog' | 'chartColumn' | 'chartLine' | 'check' | 'circleNodes' | 'close' | 'cloud' | 'cohort' | 'connections' | 'conversion' | 'criteriaGroup' | 'copy' | 'dashboard' | 'database' | 'dataPlatform' | 'date' | 'delete' | 'devices' | 'directory' | 'dragAndDrop' | 'dropdownClose' | 'dropdownOpen' | 'dsr' | 'edit' | 'empty' | 'enrichment' | 'event' | 'eventAttribute' | 'favorite' | 'filter' | 'fitToScreen' | 'flag' | 'folderClosed' | 'forwarding' | 'fullScreen' | 'funnel' | 'gear' | 'generic' | 'grid' | 'group' | 'heart' | 'help' | 'helpVideo' | 'identity' | 'info' | 'insights' | 'journeyAnalysis' | 'journeys' | 'jumpTo' | 'lightBulb' | 'link' | 'list' | 'liveStream' | 'lock' | 'logout' | 'messageQuestion' | 'moreActions' | 'mpLogo' | 'myHub' | 'next' | 'notification' | 'number' | 'notificationSubscribed' | 'notificationSubscribe' | 'observability' | 'openTab' | 'organization' | 'other' | 'otherData' | 'oversight' | 'overview' | 'paywall' | 'pause' | 'pipelines' | 'placeholder' | 'play' | 'precision' | 'predictions' | 'premium' | 'premiumDt' | 'previous' | 'privacy' | 'privileges' | 'refreshFrequency' | 'rateDown' | 'rateStar' | 'rateUp' | 'run' | 'remove' | 'savedProjects' | 'scheduledReport' | 'search' | 'segmentation' | 'segmentationAnalysis' | 'selected' | 'settings' | 'setup' | 'shieldKeyhole' | 'signout' | 'siteMap' | 'sparkles' | 'split' | 'string' | 'support' | 'systemAlerts' | 'textWidget' | 'timestamp' | 'transformation' | 'trends' | 'unlock' | 'upload' | 'user' | 'userAttribute' | 'userProfiles' | 'users' | 'viewOnly' | 'wrench' | 'zoomIn' | 'zoomOut' | 'bannerFreemium' | 'boolean' | 'stateEmpty' | 'stateError' | 'stateNoResults' | 'back' | 'submitFeedback' | 'boost' | 'clone' | 'reorder' | 'refresh';
@@ -1,8 +1,9 @@
1
+ import { JSX } from 'react/jsx-runtime';
1
2
  /// <reference types="react" />
2
3
  interface IExampleStoryProps {
3
4
  children: React.ReactNode;
4
5
  title: React.ReactNode;
5
6
  description?: React.ReactNode;
6
7
  }
7
- export declare function ExampleStory(props: IExampleStoryProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ExampleStory(props: IExampleStoryProps): JSX.Element;
8
9
  export {};
@@ -1 +1,2 @@
1
- export declare const SVGPrettifier: () => import("react/jsx-runtime").JSX.Element;
1
+ import { JSX } from 'react/jsx-runtime';
2
+ export declare const SVGPrettifier: () => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.54.2-fix-sqdui-3981-icontype.2",
3
+ "version": "1.55.1-fix-icon-types.1",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -100,7 +100,7 @@
100
100
  "test-storybook": "test-storybook",
101
101
  "test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && NODE_NO_WARNINGS=1 npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && npm run test-storybook\"",
102
102
  "test-unit": "vitest",
103
- "build": "vite build && npm run tokens-to-css && shx cp src/styles/*.css dist && shx cp src/styles/style.ts dist",
103
+ "build": "vite build && node scripts/fix-type-imports.js && npm run tokens-to-css && shx cp src/styles/*.css dist && shx cp src/styles/style.ts dist",
104
104
  "build-dist": "sh ./scripts/build-dist.sh",
105
105
  "build-storybook": "storybook build",
106
106
  "lint": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\"\" \"stylelint \"**/*.css\"\"",