@pingux/astro 2.170.1-alpha.0 → 2.172.0-alpha.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.
- package/lib/cjs/components/Avatar/Avatar.js +13 -2
- package/lib/cjs/components/Avatar/Avatar.test.js +95 -1
- package/lib/cjs/components/Avatar/constants.d.ts +2 -0
- package/lib/cjs/components/Avatar/constants.js +8 -0
- package/lib/cjs/components/Avatar/getColorFromUuid.d.ts +2 -0
- package/lib/cjs/components/Avatar/getColorFromUuid.js +37 -0
- package/lib/cjs/components/Icon/Icon.js +15 -49
- package/lib/cjs/components/Icon/Icon.test.js +7 -36
- package/lib/cjs/components/Icon/IconDefault.d.ts +4 -0
- package/lib/cjs/components/Icon/IconDefault.js +63 -0
- package/lib/cjs/components/Icon/IconDefault.test.js +92 -0
- package/lib/cjs/components/Icon/IconSymbol.d.ts +4 -0
- package/lib/cjs/components/Icon/IconSymbol.js +60 -0
- package/lib/cjs/components/Icon/IconSymbol.mdx +46 -0
- package/lib/cjs/components/Icon/IconSymbol.test.js +80 -0
- package/lib/cjs/components/Icon/MaterialSymbolIcon.stories.d.ts +7 -0
- package/lib/cjs/components/Icon/MaterialSymbolIcon.stories.js +207 -0
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +31 -31
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +31 -31
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +31 -31
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +18 -20
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +18 -20
- package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +32 -29
- package/lib/cjs/styles/themeOverrides/onyxSideNav.js +3 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +32 -32
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +1 -32
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +32 -32
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +60 -56
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +28 -24
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +28 -24
- package/lib/cjs/types/avatar.d.ts +2 -0
- package/lib/cjs/types/icon.d.ts +3 -1
- package/lib/cjs/types/navBar.d.ts +2 -1
- package/lib/components/Avatar/Avatar.js +14 -3
- package/lib/components/Avatar/Avatar.test.js +95 -1
- package/lib/components/Avatar/constants.js +2 -0
- package/lib/components/Avatar/getColorFromUuid.js +29 -0
- package/lib/components/Icon/Icon.js +11 -47
- package/lib/components/Icon/Icon.test.js +5 -34
- package/lib/components/Icon/IconDefault.js +53 -0
- package/lib/components/Icon/IconDefault.test.js +84 -0
- package/lib/components/Icon/IconSymbol.js +50 -0
- package/lib/components/Icon/IconSymbol.mdx +46 -0
- package/lib/components/Icon/IconSymbol.test.js +77 -0
- package/lib/components/Icon/MaterialSymbolIcon.stories.js +200 -0
- package/lib/index.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +18 -20
- package/lib/styles/themeOverrides/onyxSideNav.js +3 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/styles/themes/next-gen/customProperties/icons.js +1 -32
- package/lib/styles/themes/next-gen/variants/variants.js +28 -24
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Meta } from '@storybook/addon-docs';
|
|
2
|
+
|
|
3
|
+
<Meta title="Components/Icon/Icon" />
|
|
4
|
+
|
|
5
|
+
# Icon
|
|
6
|
+
|
|
7
|
+
Icons are small images that represent concepts or capabilities that often provide information or lead users to other pages within the application.
|
|
8
|
+
|
|
9
|
+
Icon should be:
|
|
10
|
+
- Centrally aligned when used in a group with an appropriate amount of space between them.
|
|
11
|
+
- Paired with text or a tooltip when its intention is not immediately evident.
|
|
12
|
+
- Relatively sized when used with text.
|
|
13
|
+
|
|
14
|
+
Icon shouldn’t:
|
|
15
|
+
- Include letters in the icon design.
|
|
16
|
+
- Be randomly scaled to fit the layout.
|
|
17
|
+
|
|
18
|
+
Regarding sizing, this component uses the **1em x 1em** container by default and maintains the aspect ratios. You can:
|
|
19
|
+
|
|
20
|
+
- Use the theme to color the icon.
|
|
21
|
+
|
|
22
|
+
- Use font icon text from the [Material Symbol Library](https://marella.github.io/material-symbols/demo/)
|
|
23
|
+
|
|
24
|
+
It is built on top of the [Box from Theme-UI](https://theme-ui.com/components/box/) and uses the available [props from Theme-UI](https://theme-ui.com/sx-prop).
|
|
25
|
+
|
|
26
|
+
### Required Components
|
|
27
|
+
|
|
28
|
+
This component can be used independently and does not require additional components.
|
|
29
|
+
|
|
30
|
+
### Accessibility
|
|
31
|
+
|
|
32
|
+
#### Labelling
|
|
33
|
+
|
|
34
|
+
The Icon component accepts the title prop:
|
|
35
|
+
`title={{ id: 'unique id', name: 'short description of the icon'}}`.
|
|
36
|
+
The `name` will be passed inside title attribute of span element.
|
|
37
|
+
The `id` is optional. If not specified, it will be generated automatically.
|
|
38
|
+
This is needed to make font icon accessible.
|
|
39
|
+
|
|
40
|
+
#### Screen Readers
|
|
41
|
+
|
|
42
|
+
If the icon has a title associated with it, the **`aria-labelledby`** attribute is used to provide the label ID.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
5
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
|
+
var _react2 = require("@testing-library/react");
|
|
7
|
+
var _universalComponentTest = require("../../utils/testUtils/universalComponentTest");
|
|
8
|
+
var _IconSymbol = _interopRequireDefault(require("./IconSymbol"));
|
|
9
|
+
var _react3 = require("@emotion/react");
|
|
10
|
+
var testId = 'test-icon';
|
|
11
|
+
var testIcon = 'Search';
|
|
12
|
+
var defaultProps = {
|
|
13
|
+
'data-testid': testId,
|
|
14
|
+
icon: testIcon,
|
|
15
|
+
title: {
|
|
16
|
+
id: 'title-id',
|
|
17
|
+
name: 'Search Icon'
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
var getComponent = function getComponent() {
|
|
21
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
22
|
+
return (0, _react2.render)((0, _react3.jsx)(_IconSymbol["default"], (0, _extends2["default"])({}, defaultProps, props)));
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// Needs to be added to each components test file
|
|
26
|
+
(0, _universalComponentTest.universalComponentTests)({
|
|
27
|
+
renderComponent: function renderComponent(props) {
|
|
28
|
+
return (0, _react3.jsx)(_IconSymbol["default"], (0, _extends2["default"])({
|
|
29
|
+
icon: testIcon
|
|
30
|
+
}, props));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
test('default icon', function () {
|
|
34
|
+
getComponent();
|
|
35
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
36
|
+
expect(icon).toHaveClass('material-symbols-outlined');
|
|
37
|
+
_react2.screen.getByText(/search/i);
|
|
38
|
+
});
|
|
39
|
+
test('default icon', function () {
|
|
40
|
+
getComponent({
|
|
41
|
+
icon: 'face'
|
|
42
|
+
});
|
|
43
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
44
|
+
expect(icon).toHaveClass('material-symbols-outlined');
|
|
45
|
+
_react2.screen.getByText(/face/i);
|
|
46
|
+
});
|
|
47
|
+
test('size prop', function () {
|
|
48
|
+
getComponent({
|
|
49
|
+
size: 'sm'
|
|
50
|
+
});
|
|
51
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
52
|
+
expect(icon).toHaveStyle('font-size: 20px');
|
|
53
|
+
});
|
|
54
|
+
test('color prop', function () {
|
|
55
|
+
getComponent({
|
|
56
|
+
color: 'red'
|
|
57
|
+
});
|
|
58
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
59
|
+
expect(icon).toHaveStyle('color: red');
|
|
60
|
+
});
|
|
61
|
+
test('hasFill prop', function () {
|
|
62
|
+
getComponent({
|
|
63
|
+
hasFill: true
|
|
64
|
+
});
|
|
65
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
66
|
+
expect(icon).toHaveStyle("font-variation-settings: 'FILL' 1");
|
|
67
|
+
});
|
|
68
|
+
test('title prop', function () {
|
|
69
|
+
getComponent();
|
|
70
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
71
|
+
expect(icon).toHaveAttribute('title', 'Search Icon');
|
|
72
|
+
});
|
|
73
|
+
test('className prop', function () {
|
|
74
|
+
var customClass = 'custom-icon-class';
|
|
75
|
+
getComponent({
|
|
76
|
+
className: customClass
|
|
77
|
+
});
|
|
78
|
+
var icon = _react2.screen.getByTestId(testId);
|
|
79
|
+
expect(icon).toHaveClass(customClass);
|
|
80
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react';
|
|
2
|
+
import { IconProps } from '../../types';
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: StoryFn<IconProps>;
|
|
6
|
+
export declare const Sizes: StoryFn;
|
|
7
|
+
export declare const CommonlyUsed: StoryFn;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
4
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
|
|
5
|
+
var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
|
|
6
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
7
|
+
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
8
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
|
|
9
|
+
var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
|
|
10
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
12
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
exports["default"] = exports.Sizes = exports.Default = exports.CommonlyUsed = void 0;
|
|
16
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
17
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
18
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
19
|
+
var _react = _interopRequireDefault(require("react"));
|
|
20
|
+
var _storybookAddonDesigns = require("storybook-addon-designs");
|
|
21
|
+
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
|
22
|
+
var _index = require("../../index");
|
|
23
|
+
var _figmaLinks = require("../../utils/designUtils/figmaLinks");
|
|
24
|
+
var _iconSizeProps = require("../../utils/docUtils/iconSizeProps");
|
|
25
|
+
var _IconSymbol = _interopRequireDefault(require("./IconSymbol.mdx"));
|
|
26
|
+
var _react2 = require("@emotion/react");
|
|
27
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
|
+
var _default = exports["default"] = {
|
|
30
|
+
title: 'Components/MaterialSymbolIcon',
|
|
31
|
+
component: _index.Icon,
|
|
32
|
+
decorators: [_storybookAddonDesigns.withDesign],
|
|
33
|
+
parameters: {
|
|
34
|
+
docs: {
|
|
35
|
+
page: function page() {
|
|
36
|
+
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_IconSymbol["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
argTypes: _objectSpread({
|
|
41
|
+
icon: {
|
|
42
|
+
control: {
|
|
43
|
+
type: {
|
|
44
|
+
name: 'string'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
description: 'The font icon to render. List of font icons at https://marella.github.io/material-symbols/demo/'
|
|
48
|
+
}
|
|
49
|
+
}, _iconSizeProps.sizeArgTypes),
|
|
50
|
+
args: {
|
|
51
|
+
icon: 'disabled_by_default',
|
|
52
|
+
className: 'material-symbols-outlined',
|
|
53
|
+
size: 'md'
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
var Default = exports.Default = function Default(args) {
|
|
57
|
+
return (0, _react2.jsx)(_index.Icon, (0, _extends2["default"])({}, args, {
|
|
58
|
+
icon: "search",
|
|
59
|
+
title: {
|
|
60
|
+
name: 'Search Icon'
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
};
|
|
64
|
+
Default.parameters = {
|
|
65
|
+
design: {
|
|
66
|
+
type: 'figma',
|
|
67
|
+
url: _figmaLinks.FIGMA_LINKS.icon["default"]
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
var rowHeadings = ['Size', 'Code Example', 'Icon Example'];
|
|
71
|
+
var Sizes = exports.Sizes = function Sizes() {
|
|
72
|
+
return (0, _react2.jsx)(_index.Table, null, (0, _react2.jsx)(_index.TableHead, null, (0, _react2.jsx)(_index.TableRow, {
|
|
73
|
+
key: "head"
|
|
74
|
+
}, (0, _map["default"])(rowHeadings).call(rowHeadings, function (head) {
|
|
75
|
+
return (0, _react2.jsx)(_index.TableCell, {
|
|
76
|
+
isHeading: true,
|
|
77
|
+
key: head
|
|
78
|
+
}, head);
|
|
79
|
+
}))), (0, _react2.jsx)(_index.TableBody, {
|
|
80
|
+
sx: {
|
|
81
|
+
borderBottom: 'unset'
|
|
82
|
+
}
|
|
83
|
+
}, (0, _react2.jsx)(_index.TableRow, {
|
|
84
|
+
height: "80px",
|
|
85
|
+
bg: "transparent !important"
|
|
86
|
+
}, (0, _react2.jsx)(_index.TableCell, {
|
|
87
|
+
justifyContent: "center"
|
|
88
|
+
}, (0, _react2.jsx)(_index.Text, null, "XXS | 9px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
|
|
89
|
+
fontFamily: "monospace"
|
|
90
|
+
}, '<Icon icon="search" size="xxs"/>')), (0, _react2.jsx)(_index.TableCell, {
|
|
91
|
+
justifyContent: "center"
|
|
92
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
93
|
+
icon: "search",
|
|
94
|
+
title: {
|
|
95
|
+
name: 'Search Icon'
|
|
96
|
+
},
|
|
97
|
+
size: "xxs"
|
|
98
|
+
}))), (0, _react2.jsx)(_index.TableRow, {
|
|
99
|
+
height: "80px",
|
|
100
|
+
bg: "transparent !important"
|
|
101
|
+
}, (0, _react2.jsx)(_index.TableCell, {
|
|
102
|
+
justifyContent: "center"
|
|
103
|
+
}, (0, _react2.jsx)(_index.Text, null, "XS | 15px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
|
|
104
|
+
fontFamily: "monospace"
|
|
105
|
+
}, '<Icon icon="search" size="xs"/>')), (0, _react2.jsx)(_index.TableCell, {
|
|
106
|
+
justifyContent: "center"
|
|
107
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
108
|
+
icon: "search",
|
|
109
|
+
size: "xs",
|
|
110
|
+
title: {
|
|
111
|
+
name: 'Search Icon'
|
|
112
|
+
}
|
|
113
|
+
}))), (0, _react2.jsx)(_index.TableRow, {
|
|
114
|
+
height: "80px",
|
|
115
|
+
bg: "transparent !important"
|
|
116
|
+
}, (0, _react2.jsx)(_index.TableCell, {
|
|
117
|
+
justifyContent: "center"
|
|
118
|
+
}, (0, _react2.jsx)(_index.Text, null, "SM | 20px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
|
|
119
|
+
fontFamily: "monospace"
|
|
120
|
+
}, '<Icon icon="search" size="sm"/>')), (0, _react2.jsx)(_index.TableCell, {
|
|
121
|
+
justifyContent: "center"
|
|
122
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
123
|
+
icon: "search",
|
|
124
|
+
size: "sm",
|
|
125
|
+
title: {
|
|
126
|
+
name: 'Search Icon'
|
|
127
|
+
}
|
|
128
|
+
}))), (0, _react2.jsx)(_index.TableRow, {
|
|
129
|
+
height: "80px",
|
|
130
|
+
bg: "transparent !important"
|
|
131
|
+
}, (0, _react2.jsx)(_index.TableCell, {
|
|
132
|
+
justifyContent: "center"
|
|
133
|
+
}, (0, _react2.jsx)(_index.Text, null, "MD | 25px")), (0, _react2.jsx)(_index.TableCell, null, (0, _react2.jsx)(_index.Text, {
|
|
134
|
+
fontFamily: "monospace"
|
|
135
|
+
}, '<Icon icon="search" size="md"/>')), (0, _react2.jsx)(_index.TableCell, {
|
|
136
|
+
justifyContent: "center"
|
|
137
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
138
|
+
icon: "search",
|
|
139
|
+
size: "md",
|
|
140
|
+
title: {
|
|
141
|
+
name: 'Search Icon'
|
|
142
|
+
}
|
|
143
|
+
})))));
|
|
144
|
+
};
|
|
145
|
+
var CommonlyUsed = exports.CommonlyUsed = function CommonlyUsed() {
|
|
146
|
+
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.Box, {
|
|
147
|
+
isRow: true,
|
|
148
|
+
gap: "md",
|
|
149
|
+
mb: "xs"
|
|
150
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
151
|
+
icon: "account_circle",
|
|
152
|
+
color: "accent.40",
|
|
153
|
+
size: "sm",
|
|
154
|
+
title: {
|
|
155
|
+
name: 'Account Icon'
|
|
156
|
+
},
|
|
157
|
+
hasFill: true
|
|
158
|
+
})), (0, _react2.jsx)(_index.Box, {
|
|
159
|
+
isRow: true,
|
|
160
|
+
gap: "md",
|
|
161
|
+
mb: "xs"
|
|
162
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
163
|
+
icon: "groups",
|
|
164
|
+
color: "accent.40",
|
|
165
|
+
size: "sm",
|
|
166
|
+
title: {
|
|
167
|
+
name: 'Account Group Icon'
|
|
168
|
+
},
|
|
169
|
+
hasFill: true
|
|
170
|
+
})), (0, _react2.jsx)(_index.Box, {
|
|
171
|
+
isRow: true,
|
|
172
|
+
gap: "md",
|
|
173
|
+
mb: "xs"
|
|
174
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
175
|
+
icon: "lock",
|
|
176
|
+
color: "accent.40",
|
|
177
|
+
size: "sm",
|
|
178
|
+
title: {
|
|
179
|
+
name: 'Lock Icon'
|
|
180
|
+
},
|
|
181
|
+
hasFill: true
|
|
182
|
+
})), (0, _react2.jsx)(_index.Box, {
|
|
183
|
+
isRow: true,
|
|
184
|
+
gap: "md",
|
|
185
|
+
mb: "xs"
|
|
186
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
187
|
+
icon: "search",
|
|
188
|
+
color: "accent.40",
|
|
189
|
+
size: "sm",
|
|
190
|
+
title: {
|
|
191
|
+
name: 'Search Icon'
|
|
192
|
+
},
|
|
193
|
+
hasFill: true
|
|
194
|
+
})), (0, _react2.jsx)(_index.Box, {
|
|
195
|
+
isRow: true,
|
|
196
|
+
gap: "md",
|
|
197
|
+
mb: "xs"
|
|
198
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
|
199
|
+
icon: "notifications",
|
|
200
|
+
color: "accent.40",
|
|
201
|
+
size: "sm",
|
|
202
|
+
title: {
|
|
203
|
+
name: 'Notification Icon'
|
|
204
|
+
},
|
|
205
|
+
hasFill: true
|
|
206
|
+
})));
|
|
207
|
+
};
|
|
@@ -103,44 +103,44 @@ declare const useGetTheme: () => {
|
|
|
103
103
|
icons: {
|
|
104
104
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
105
105
|
aic: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
106
|
-
applicationsIcon:
|
|
107
|
-
Ascending:
|
|
108
|
-
authenticationIcon:
|
|
109
|
-
clipboard:
|
|
110
|
-
CreateIcon:
|
|
111
|
-
daVinci:
|
|
112
|
-
DefaultCircle:
|
|
113
|
-
Descending:
|
|
114
|
-
popoverMenuIcon:
|
|
115
|
-
ErrorCircle:
|
|
116
|
-
integrationsIcon:
|
|
117
|
-
listViewMenu:
|
|
118
|
-
mdiAccountCog:
|
|
119
|
-
mdiAccountMultiple:
|
|
106
|
+
applicationsIcon: string;
|
|
107
|
+
Ascending: string;
|
|
108
|
+
authenticationIcon: string;
|
|
109
|
+
clipboard: string;
|
|
110
|
+
CreateIcon: string;
|
|
111
|
+
daVinci: string;
|
|
112
|
+
DefaultCircle: string;
|
|
113
|
+
Descending: string;
|
|
114
|
+
popoverMenuIcon: string;
|
|
115
|
+
ErrorCircle: string;
|
|
116
|
+
integrationsIcon: string;
|
|
117
|
+
listViewMenu: string;
|
|
118
|
+
mdiAccountCog: string;
|
|
119
|
+
mdiAccountMultiple: string;
|
|
120
120
|
mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
121
121
|
mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
122
|
-
mdiFingerprint:
|
|
123
|
-
mdiPlayCircleIcon:
|
|
124
|
-
mdiScaleBalance:
|
|
125
|
-
mdiShoCard:
|
|
122
|
+
mdiFingerprint: string;
|
|
123
|
+
mdiPlayCircleIcon: string;
|
|
124
|
+
mdiScaleBalance: string;
|
|
125
|
+
mdiShoCard: string;
|
|
126
126
|
mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
127
|
-
mdiViewDashboard:
|
|
128
|
-
mdiWeb:
|
|
129
|
-
MenuDown:
|
|
130
|
-
MenuUp:
|
|
127
|
+
mdiViewDashboard: string;
|
|
128
|
+
mdiWeb: string;
|
|
129
|
+
MenuDown: string;
|
|
130
|
+
MenuUp: string;
|
|
131
131
|
monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
132
|
-
openInNew:
|
|
133
|
-
overviewIcon:
|
|
134
|
-
p1verify:
|
|
132
|
+
openInNew: string;
|
|
133
|
+
overviewIcon: string;
|
|
134
|
+
p1verify: string;
|
|
135
135
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
136
|
-
PingAuthorize:
|
|
136
|
+
PingAuthorize: string;
|
|
137
137
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
138
|
-
rocketLaunchIcon:
|
|
139
|
-
shareFeedbackIcon:
|
|
138
|
+
rocketLaunchIcon: string;
|
|
139
|
+
shareFeedbackIcon: string;
|
|
140
140
|
shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
141
|
-
SuccessCircle:
|
|
142
|
-
userExperienceIcon:
|
|
143
|
-
WarningIcon:
|
|
141
|
+
SuccessCircle: string;
|
|
142
|
+
userExperienceIcon: string;
|
|
143
|
+
WarningIcon: string;
|
|
144
144
|
};
|
|
145
145
|
defaultIconColor: string;
|
|
146
146
|
badgeStyles: {
|
package/lib/cjs/index.d.ts
CHANGED
package/lib/cjs/index.js
CHANGED
|
@@ -1168,6 +1168,7 @@ _Object$defineProperty(exports, "useTreeData", {
|
|
|
1168
1168
|
return _reactStately.useTreeData;
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
|
+
require("@material-symbols/font-400");
|
|
1171
1172
|
var _AccordionGridGroup = _interopRequireWildcard(require("./components/AccordionGridGroup"));
|
|
1172
1173
|
_forEachInstanceProperty(_context = _Object$keys(_AccordionGridGroup)).call(_context, function (key) {
|
|
1173
1174
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
aic: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
applicationsIcon:
|
|
5
|
-
Ascending:
|
|
6
|
-
authenticationIcon:
|
|
7
|
-
clipboard:
|
|
8
|
-
CreateIcon:
|
|
9
|
-
daVinci:
|
|
10
|
-
DefaultCircle:
|
|
11
|
-
Descending:
|
|
12
|
-
popoverMenuIcon:
|
|
13
|
-
ErrorCircle:
|
|
14
|
-
integrationsIcon:
|
|
15
|
-
listViewMenu:
|
|
16
|
-
mdiAccountCog:
|
|
17
|
-
mdiAccountMultiple:
|
|
4
|
+
applicationsIcon: string;
|
|
5
|
+
Ascending: string;
|
|
6
|
+
authenticationIcon: string;
|
|
7
|
+
clipboard: string;
|
|
8
|
+
CreateIcon: string;
|
|
9
|
+
daVinci: string;
|
|
10
|
+
DefaultCircle: string;
|
|
11
|
+
Descending: string;
|
|
12
|
+
popoverMenuIcon: string;
|
|
13
|
+
ErrorCircle: string;
|
|
14
|
+
integrationsIcon: string;
|
|
15
|
+
listViewMenu: string;
|
|
16
|
+
mdiAccountCog: string;
|
|
17
|
+
mdiAccountMultiple: string;
|
|
18
18
|
mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
19
19
|
mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
20
|
-
mdiFingerprint:
|
|
21
|
-
mdiPlayCircleIcon:
|
|
22
|
-
mdiScaleBalance:
|
|
23
|
-
mdiShoCard:
|
|
20
|
+
mdiFingerprint: string;
|
|
21
|
+
mdiPlayCircleIcon: string;
|
|
22
|
+
mdiScaleBalance: string;
|
|
23
|
+
mdiShoCard: string;
|
|
24
24
|
mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
25
|
-
mdiViewDashboard:
|
|
26
|
-
mdiWeb:
|
|
27
|
-
MenuDown:
|
|
28
|
-
MenuUp:
|
|
25
|
+
mdiViewDashboard: string;
|
|
26
|
+
mdiWeb: string;
|
|
27
|
+
MenuDown: string;
|
|
28
|
+
MenuUp: string;
|
|
29
29
|
monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
30
|
-
openInNew:
|
|
31
|
-
overviewIcon:
|
|
32
|
-
p1verify:
|
|
30
|
+
openInNew: string;
|
|
31
|
+
overviewIcon: string;
|
|
32
|
+
p1verify: string;
|
|
33
33
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
PingAuthorize:
|
|
34
|
+
PingAuthorize: string;
|
|
35
35
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
rocketLaunchIcon:
|
|
37
|
-
shareFeedbackIcon:
|
|
36
|
+
rocketLaunchIcon: string;
|
|
37
|
+
shareFeedbackIcon: string;
|
|
38
38
|
shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
39
|
-
SuccessCircle:
|
|
40
|
-
userExperienceIcon:
|
|
41
|
-
WarningIcon:
|
|
39
|
+
SuccessCircle: string;
|
|
40
|
+
userExperienceIcon: string;
|
|
41
|
+
WarningIcon: string;
|
|
42
42
|
};
|
|
43
43
|
export default _default;
|
|
@@ -4,44 +4,44 @@ export declare const nextGenDarkThemeValues: {
|
|
|
4
4
|
icons: {
|
|
5
5
|
pingLogoHorizontalSmall: import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
aic: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
applicationsIcon:
|
|
8
|
-
Ascending:
|
|
9
|
-
authenticationIcon:
|
|
10
|
-
clipboard:
|
|
11
|
-
CreateIcon:
|
|
12
|
-
daVinci:
|
|
13
|
-
DefaultCircle:
|
|
14
|
-
Descending:
|
|
15
|
-
popoverMenuIcon:
|
|
16
|
-
ErrorCircle:
|
|
17
|
-
integrationsIcon:
|
|
18
|
-
listViewMenu:
|
|
19
|
-
mdiAccountCog:
|
|
20
|
-
mdiAccountMultiple:
|
|
7
|
+
applicationsIcon: string;
|
|
8
|
+
Ascending: string;
|
|
9
|
+
authenticationIcon: string;
|
|
10
|
+
clipboard: string;
|
|
11
|
+
CreateIcon: string;
|
|
12
|
+
daVinci: string;
|
|
13
|
+
DefaultCircle: string;
|
|
14
|
+
Descending: string;
|
|
15
|
+
popoverMenuIcon: string;
|
|
16
|
+
ErrorCircle: string;
|
|
17
|
+
integrationsIcon: string;
|
|
18
|
+
listViewMenu: string;
|
|
19
|
+
mdiAccountCog: string;
|
|
20
|
+
mdiAccountMultiple: string;
|
|
21
21
|
mdiEarth: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
22
22
|
mdiEmoticonHappyOutline: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
23
|
-
mdiFingerprint:
|
|
24
|
-
mdiPlayCircleIcon:
|
|
25
|
-
mdiScaleBalance:
|
|
26
|
-
mdiShoCard:
|
|
23
|
+
mdiFingerprint: string;
|
|
24
|
+
mdiPlayCircleIcon: string;
|
|
25
|
+
mdiScaleBalance: string;
|
|
26
|
+
mdiShoCard: string;
|
|
27
27
|
mdiTransitConnectionVariant: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
28
|
-
mdiViewDashboard:
|
|
29
|
-
mdiWeb:
|
|
30
|
-
MenuDown:
|
|
31
|
-
MenuUp:
|
|
28
|
+
mdiViewDashboard: string;
|
|
29
|
+
mdiWeb: string;
|
|
30
|
+
MenuDown: string;
|
|
31
|
+
MenuUp: string;
|
|
32
32
|
monitoringIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
33
|
-
openInNew:
|
|
34
|
-
overviewIcon:
|
|
35
|
-
p1verify:
|
|
33
|
+
openInNew: string;
|
|
34
|
+
overviewIcon: string;
|
|
35
|
+
p1verify: string;
|
|
36
36
|
pam: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
PingAuthorize:
|
|
37
|
+
PingAuthorize: string;
|
|
38
38
|
protect: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
rocketLaunchIcon:
|
|
40
|
-
shareFeedbackIcon:
|
|
39
|
+
rocketLaunchIcon: string;
|
|
40
|
+
shareFeedbackIcon: string;
|
|
41
41
|
shieldStar: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
42
|
-
SuccessCircle:
|
|
43
|
-
userExperienceIcon:
|
|
44
|
-
WarningIcon:
|
|
42
|
+
SuccessCircle: string;
|
|
43
|
+
userExperienceIcon: string;
|
|
44
|
+
WarningIcon: string;
|
|
45
45
|
};
|
|
46
46
|
defaultIconColor: string;
|
|
47
47
|
badgeStyles: {
|