@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.
- package/dist/aquarium.js +2744 -2718
- package/dist/aquarium.umd.cjs +40 -40
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +5 -2
- package/dist/src/components/data-display/Badge/Badge.d.ts +5 -2
- package/dist/src/components/data-display/Card/Card.d.ts +6 -3
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +5 -3
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +5 -2
- package/dist/src/components/data-display/Empty/Empty.d.ts +2 -1
- package/dist/src/components/data-display/Image/Image.d.ts +5 -2
- package/dist/src/components/data-display/List/List.d.ts +4 -2
- package/dist/src/components/data-display/Popover/Popover.d.ts +2 -1
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -1
- package/dist/src/components/data-display/Table/Table.d.ts +8 -5
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +5 -3
- package/dist/src/components/data-display/Tag/Tag.d.ts +3 -2
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -1
- package/dist/src/components/data-display/Tour/Tour.d.ts +2 -1
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +2 -1
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +4 -2
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +5 -2
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +31 -22
- package/dist/src/components/data-entry/Form/Form.d.ts +16 -10
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +13 -8
- package/dist/src/components/data-entry/QueryItem/Text.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +8 -4
- package/dist/src/components/data-entry/Radio/Radio.d.ts +6 -3
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +2 -1
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +2 -1
- package/dist/src/components/data-entry/Select/Select.d.ts +6 -3
- package/dist/src/components/data-entry/Switch/Switch.d.ts +2 -1
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +6 -3
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +5 -2
- package/dist/src/components/data-entry/Upload/Upload.d.ts +6 -3
- package/dist/src/components/feedback/Alert/Alert.d.ts +4 -2
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +2 -1
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +2 -1
- package/dist/src/components/feedback/Message/Message.d.ts +14 -10
- package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +2 -1
- package/dist/src/components/feedback/Modal/Modal.d.ts +10 -7
- package/dist/src/components/feedback/Notification/Notification.d.ts +8 -4
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +2 -1
- package/dist/src/components/feedback/Progress/Progress.d.ts +2 -1
- package/dist/src/components/feedback/Result/Result.d.ts +6 -4
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +13 -6
- package/dist/src/components/feedback/Spin/Spin.d.ts +4 -2
- package/dist/src/components/general/Button/Button.d.ts +4 -2
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +7 -4
- package/dist/src/components/general/Icon/Icon.d.ts +1 -3
- package/dist/src/components/general/Typography/Typography.d.ts +6 -5
- package/dist/src/components/icons/index.d.ts +4 -2
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/layout/Center/Center.d.ts +2 -1
- package/dist/src/components/layout/Divider/Divider.d.ts +2 -1
- package/dist/src/components/layout/Flex/Flex.d.ts +2 -1
- package/dist/src/components/layout/Layout/Layout.d.ts +8 -6
- package/dist/src/components/layout/Space/Space.d.ts +5 -2
- package/dist/src/components/layout/Splitter/Splitter.d.ts +3 -2
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +5 -3
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +5 -3
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +5 -2
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +4 -3
- package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +2 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +10 -6
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/navigation/Steps/Steps.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +6 -2
- package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +2 -1
- package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +4 -2
- package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +5 -3
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +7 -4
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +10 -6
- package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +2 -1
- package/dist/src/constants/Icons.d.ts +2 -920
- package/dist/src/types/icons.d.ts +9 -5
- package/dist/src/utils/ExampleStory.d.ts +2 -1
- package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -1
- package/package.json +2 -2
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { RequireAtLeastOne } from 'type-fest';
|
|
3
|
-
export
|
|
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
|
-
|
|
6
|
-
|
|
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):
|
|
8
|
+
export declare function ExampleStory(props: IExampleStoryProps): JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
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.
|
|
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\"\"",
|