@lumx/react 2.1.9-alpha.0 → 2.1.9
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/esm/_internal/AlertDialog.js +2 -1
- package/esm/_internal/AlertDialog.js.map +1 -1
- package/esm/_internal/AutocompleteMultiple.js +2 -1
- package/esm/_internal/AutocompleteMultiple.js.map +1 -1
- package/esm/_internal/Avatar2.js +1 -5
- package/esm/_internal/Avatar2.js.map +1 -1
- package/esm/_internal/Button2.js +1 -1
- package/esm/_internal/Checkbox2.js +2 -1
- package/esm/_internal/Checkbox2.js.map +1 -1
- package/esm/_internal/DatePickerField.js +1 -1
- package/esm/_internal/DragHandle.js +2 -1
- package/esm/_internal/DragHandle.js.map +1 -1
- package/esm/_internal/ExpansionPanel.js +1 -1
- package/esm/_internal/Icon2.js +3 -23
- package/esm/_internal/Icon2.js.map +1 -1
- package/esm/_internal/IconButton.js +1 -1
- package/esm/_internal/Lightbox2.js +1 -1
- package/esm/_internal/Link2.js +1 -1
- package/esm/_internal/LinkPreview.js +1 -1
- package/esm/_internal/LinkPreview.js.map +1 -1
- package/esm/_internal/List2.js.map +1 -1
- package/esm/_internal/Message2.js +3 -3
- package/esm/_internal/Message2.js.map +1 -1
- package/esm/_internal/Notification2.js +2 -1
- package/esm/_internal/Notification2.js.map +1 -1
- package/esm/_internal/ProgressTrackerStepPanel.js +2 -1
- package/esm/_internal/ProgressTrackerStepPanel.js.map +1 -1
- package/esm/_internal/SelectMultiple.js +2 -1
- package/esm/_internal/SelectMultiple.js.map +1 -1
- package/esm/_internal/SideNavigationItem.js +2 -1
- package/esm/_internal/SideNavigationItem.js.map +1 -1
- package/esm/_internal/SlideshowControls.js +1 -1
- package/esm/_internal/TabPanel.js +1 -1
- package/esm/_internal/TableRow.js +2 -1
- package/esm/_internal/TableRow.js.map +1 -1
- package/esm/_internal/TextField.js +2 -1
- package/esm/_internal/TextField.js.map +1 -1
- package/esm/_internal/Thumbnail2.js +36 -30
- package/esm/_internal/Thumbnail2.js.map +1 -1
- package/esm/_internal/UserBlock.js +14 -45
- package/esm/_internal/UserBlock.js.map +1 -1
- package/esm/_internal/alert-dialog.js +2 -1
- package/esm/_internal/alert-dialog.js.map +1 -1
- package/esm/_internal/autocomplete.js +2 -1
- package/esm/_internal/autocomplete.js.map +1 -1
- package/esm/_internal/avatar.js +2 -1
- package/esm/_internal/avatar.js.map +1 -1
- package/esm/_internal/button.js +1 -1
- package/esm/_internal/checkbox.js +2 -1
- package/esm/_internal/checkbox.js.map +1 -1
- package/esm/_internal/comment-block.js +2 -1
- package/esm/_internal/comment-block.js.map +1 -1
- package/esm/_internal/date-picker.js +2 -1
- package/esm/_internal/date-picker.js.map +1 -1
- package/esm/_internal/drag-handle.js +2 -1
- package/esm/_internal/drag-handle.js.map +1 -1
- package/esm/_internal/expansion-panel.js +2 -1
- package/esm/_internal/expansion-panel.js.map +1 -1
- package/esm/_internal/flag.js +1 -1
- package/esm/_internal/icon.js +1 -1
- package/esm/_internal/image-block.js +2 -1
- package/esm/_internal/image-block.js.map +1 -1
- package/esm/_internal/lightbox.js +2 -1
- package/esm/_internal/lightbox.js.map +1 -1
- package/esm/_internal/link-preview.js +2 -1
- package/esm/_internal/link-preview.js.map +1 -1
- package/esm/_internal/link.js +1 -1
- package/esm/_internal/mdi.js +22 -0
- package/esm/_internal/mdi.js.map +1 -0
- package/esm/_internal/message.js +2 -1
- package/esm/_internal/message.js.map +1 -1
- package/esm/_internal/mosaic.js +2 -1
- package/esm/_internal/mosaic.js.map +1 -1
- package/esm/_internal/notification.js +2 -1
- package/esm/_internal/notification.js.map +1 -1
- package/esm/_internal/post-block.js +2 -1
- package/esm/_internal/post-block.js.map +1 -1
- package/esm/_internal/progress-tracker.js +2 -1
- package/esm/_internal/progress-tracker.js.map +1 -1
- package/esm/_internal/select.js +2 -1
- package/esm/_internal/select.js.map +1 -1
- package/esm/_internal/side-navigation.js +2 -1
- package/esm/_internal/side-navigation.js.map +1 -1
- package/esm/_internal/slideshow.js +2 -1
- package/esm/_internal/slideshow.js.map +1 -1
- package/esm/_internal/table.js +2 -1
- package/esm/_internal/table.js.map +1 -1
- package/esm/_internal/tabs.js +1 -1
- package/esm/_internal/text-field.js +2 -1
- package/esm/_internal/text-field.js.map +1 -1
- package/esm/_internal/thumbnail.js +2 -1
- package/esm/_internal/thumbnail.js.map +1 -1
- package/esm/_internal/uploader.js +1 -1
- package/esm/_internal/user-block.js +2 -2
- package/esm/index.js +2 -1
- package/esm/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/avatar/Avatar.tsx +0 -8
- package/src/components/icon/Icon.tsx +0 -5
- package/src/components/link-preview/LinkPreview.tsx +1 -1
- package/src/components/link-preview/__snapshots__/LinkPreview.test.tsx.snap +2 -2
- package/src/components/message/Message.tsx +1 -3
- package/src/components/thumbnail/Thumbnail.stories.tsx +0 -21
- package/src/components/thumbnail/Thumbnail.test.tsx +2 -20
- package/src/components/thumbnail/Thumbnail.tsx +15 -40
- package/src/components/thumbnail/__snapshots__/Thumbnail.test.tsx.snap +6 -53
- package/src/components/user-block/UserBlock.stories.tsx +4 -30
- package/src/components/user-block/UserBlock.tsx +16 -41
- package/src/components/user-block/__snapshots__/UserBlock.test.tsx.snap +145 -244
- package/types.d.ts +0 -12
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { b as _objectWithoutProperties,
|
|
1
|
+
import { b as _objectWithoutProperties, c as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import { Size, Orientation, Theme } from './components.js';
|
|
3
3
|
import React, { forwardRef } from 'react';
|
|
4
4
|
import { g as getRootClassName, c as classnames, h as handleBasicClasses } from './getRootClassName.js';
|
|
5
5
|
import { A as Avatar } from './Avatar2.js';
|
|
6
|
-
import { r as renderLink } from './renderLink.js';
|
|
7
|
-
import { isEmpty } from 'lodash';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* Component display name.
|
|
@@ -45,9 +43,7 @@ var UserBlock = forwardRef(function (props, ref) {
|
|
|
45
43
|
simpleAction = props.simpleAction,
|
|
46
44
|
size = props.size,
|
|
47
45
|
theme = props.theme,
|
|
48
|
-
|
|
49
|
-
linkAs = props.linkAs,
|
|
50
|
-
forwardedProps = _objectWithoutProperties(props, ["avatarProps", "className", "fields", "multipleActions", "name", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme", "linkProps", "linkAs"]);
|
|
46
|
+
forwardedProps = _objectWithoutProperties(props, ["avatarProps", "className", "fields", "multipleActions", "name", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"]);
|
|
51
47
|
|
|
52
48
|
var componentSize = size; // Special case - When using vertical orientation force the size to be Sizes.l.
|
|
53
49
|
|
|
@@ -56,37 +52,12 @@ var UserBlock = forwardRef(function (props, ref) {
|
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
var shouldDisplayActions = orientation === Orientation.vertical;
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
var nameClassName = classnames(handleBasicClasses({
|
|
67
|
-
prefix: "".concat(CLASSNAME, "__name"),
|
|
68
|
-
isClickable: isClickable
|
|
69
|
-
}), isLink && (linkProps === null || linkProps === void 0 ? void 0 : linkProps.className));
|
|
70
|
-
|
|
71
|
-
if (isLink) {
|
|
72
|
-
return renderLink(_objectSpread2({}, linkProps, {
|
|
73
|
-
linkAs: linkAs,
|
|
74
|
-
className: nameClassName
|
|
75
|
-
}), name);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
if (onClick) {
|
|
79
|
-
return React.createElement("button", {
|
|
80
|
-
onClick: onClick,
|
|
81
|
-
type: "button",
|
|
82
|
-
className: nameClassName
|
|
83
|
-
}, name);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return React.createElement("span", {
|
|
87
|
-
className: nameClassName
|
|
88
|
-
}, name);
|
|
89
|
-
}, [isClickable, isLink, linkAs, linkProps, name, onClick]);
|
|
55
|
+
var nameBlock = name && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-noninteractive-tabindex,jsx-a11y/no-static-element-interactions
|
|
56
|
+
React.createElement("span", {
|
|
57
|
+
className: "".concat(CLASSNAME, "__name"),
|
|
58
|
+
onClick: onClick,
|
|
59
|
+
tabIndex: onClick ? 0 : -1
|
|
60
|
+
}, name);
|
|
90
61
|
var fieldsBlock = fields && componentSize !== Size.s && React.createElement("div", {
|
|
91
62
|
className: "".concat(CLASSNAME, "__fields")
|
|
92
63
|
}, fields.map(function (aField, idx) {
|
|
@@ -102,20 +73,18 @@ var UserBlock = forwardRef(function (props, ref) {
|
|
|
102
73
|
prefix: CLASSNAME,
|
|
103
74
|
orientation: orientation,
|
|
104
75
|
size: componentSize,
|
|
105
|
-
theme: theme
|
|
106
|
-
isClickable: isClickable
|
|
76
|
+
theme: theme
|
|
107
77
|
})),
|
|
108
78
|
onMouseLeave: onMouseLeave,
|
|
109
79
|
onMouseEnter: onMouseEnter
|
|
110
|
-
}), avatarProps && React.createElement(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}, avatarProps, {
|
|
114
|
-
className: classnames("".concat(CLASSNAME, "__avatar"), avatarProps.className),
|
|
80
|
+
}), avatarProps && React.createElement("div", {
|
|
81
|
+
className: "".concat(CLASSNAME, "__avatar")
|
|
82
|
+
}, React.createElement(Avatar, _extends({}, avatarProps, {
|
|
115
83
|
size: componentSize,
|
|
116
84
|
onClick: onClick,
|
|
85
|
+
tabIndex: onClick ? 0 : -1,
|
|
117
86
|
theme: theme
|
|
118
|
-
})), (fields || name) && React.createElement("div", {
|
|
87
|
+
}))), (fields || name) && React.createElement("div", {
|
|
119
88
|
className: "".concat(CLASSNAME, "__wrapper")
|
|
120
89
|
}, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && React.createElement("div", {
|
|
121
90
|
className: "".concat(CLASSNAME, "__action")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserBlock.js","sources":["../../../src/components/user-block/UserBlock.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\n\nimport classNames from 'classnames';\n\nimport { Avatar, Orientation, Size, Theme } from '@lumx/react';\n\nimport { Comp, GenericProps, getRootClassName, handleBasicClasses } from '@lumx/react/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"UserBlock.js","sources":["../../../src/components/user-block/UserBlock.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode } from 'react';\n\nimport classNames from 'classnames';\n\nimport { Avatar, Orientation, Size, Theme } from '@lumx/react';\n\nimport { Comp, GenericProps, getRootClassName, handleBasicClasses } from '@lumx/react/utils';\nimport { AvatarProps } from '../avatar/Avatar';\n\n/**\n * User block sizes.\n */\nexport type UserBlockSize = Extract<Size, 's' | 'm' | 'l'>;\n\n/**\n * Defines the props of the component.\n */\nexport interface UserBlockProps extends GenericProps {\n /** Props to pass to the avatar. */\n avatarProps?: AvatarProps;\n /** Simple action toolbar content. */\n simpleAction?: ReactNode;\n /** Multiple action toolbar content. */\n multipleActions?: ReactNode;\n /** Additional fields used to describe the user. */\n fields?: string[];\n /** User name. */\n name?: string;\n /** Orientation. */\n orientation?: Orientation;\n /** Size variant. */\n size?: UserBlockSize;\n /** Theme adapting the component to light or dark background. */\n theme?: Theme;\n /** On click callback. */\n onClick?(): void;\n /** On mouse enter callback. */\n onMouseEnter?(): void;\n /** On mouse leave callback. */\n onMouseLeave?(): void;\n}\n\n/**\n * Component display name.\n */\nconst COMPONENT_NAME = 'UserBlock';\n\n/**\n * Component default class name and class prefix.\n */\nconst CLASSNAME = getRootClassName(COMPONENT_NAME);\n\n/**\n * Component default props.\n */\nconst DEFAULT_PROPS: Partial<UserBlockProps> = {\n orientation: Orientation.horizontal,\n size: Size.m,\n theme: Theme.light,\n};\n\n/**\n * UserBlock component.\n *\n * @param props Component props.\n * @param ref Component ref.\n * @return React element.\n */\nexport const UserBlock: Comp<UserBlockProps, HTMLDivElement> = forwardRef((props, ref) => {\n const {\n avatarProps,\n className,\n fields,\n multipleActions,\n name,\n onClick,\n onMouseEnter,\n onMouseLeave,\n orientation,\n simpleAction,\n size,\n theme,\n ...forwardedProps\n } = props;\n let componentSize = size;\n\n // Special case - When using vertical orientation force the size to be Sizes.l.\n if (orientation === Orientation.vertical) {\n componentSize = Size.l;\n }\n\n const shouldDisplayActions: boolean = orientation === Orientation.vertical;\n\n const nameBlock: ReactNode = name && (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-noninteractive-tabindex,jsx-a11y/no-static-element-interactions\n <span className={`${CLASSNAME}__name`} onClick={onClick} tabIndex={onClick ? 0 : -1}>\n {name}\n </span>\n );\n\n const fieldsBlock: ReactNode = fields && componentSize !== Size.s && (\n <div className={`${CLASSNAME}__fields`}>\n {fields.map((aField: string, idx: number) => (\n <span key={idx} className={`${CLASSNAME}__field`}>\n {aField}\n </span>\n ))}\n </div>\n );\n\n return (\n <div\n ref={ref}\n {...forwardedProps}\n className={classNames(\n className,\n handleBasicClasses({ prefix: CLASSNAME, orientation, size: componentSize, theme }),\n )}\n onMouseLeave={onMouseLeave}\n onMouseEnter={onMouseEnter}\n >\n {avatarProps && (\n <div className={`${CLASSNAME}__avatar`}>\n <Avatar\n {...avatarProps}\n size={componentSize}\n onClick={onClick}\n tabIndex={onClick ? 0 : -1}\n theme={theme}\n />\n </div>\n )}\n {(fields || name) && (\n <div className={`${CLASSNAME}__wrapper`}>\n {nameBlock}\n {fieldsBlock}\n </div>\n )}\n {shouldDisplayActions && simpleAction && <div className={`${CLASSNAME}__action`}>{simpleAction}</div>}\n {shouldDisplayActions && multipleActions && (\n <div className={`${CLASSNAME}__actions`}>{multipleActions}</div>\n )}\n </div>\n );\n});\nUserBlock.displayName = COMPONENT_NAME;\nUserBlock.className = CLASSNAME;\nUserBlock.defaultProps = DEFAULT_PROPS;\n"],"names":["COMPONENT_NAME","CLASSNAME","getRootClassName","DEFAULT_PROPS","orientation","Orientation","horizontal","size","Size","m","theme","Theme","light","UserBlock","forwardRef","props","ref","avatarProps","className","fields","multipleActions","name","onClick","onMouseEnter","onMouseLeave","simpleAction","forwardedProps","componentSize","vertical","l","shouldDisplayActions","nameBlock","fieldsBlock","s","map","aField","idx","classNames","handleBasicClasses","prefix","displayName","defaultProps"],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
@@ -29,6 +29,7 @@ import './Dialog2.js';
|
|
|
29
29
|
import 'lodash/pull';
|
|
30
30
|
import './useDelayedVisibility.js';
|
|
31
31
|
import './useDisableBodyScroll.js';
|
|
32
|
+
import './Icon2.js';
|
|
32
33
|
import './Progress2.js';
|
|
33
34
|
import './Toolbar2.js';
|
|
34
35
|
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-dialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
@@ -24,6 +24,7 @@ import './ClickAwayProvider.js';
|
|
|
24
24
|
import 'lodash/pull';
|
|
25
25
|
import './List2.js';
|
|
26
26
|
import './Dropdown2.js';
|
|
27
|
+
import './Icon2.js';
|
|
27
28
|
import './InputHelper.js';
|
|
28
29
|
import './InputLabel.js';
|
|
29
30
|
import './TextField.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/esm/_internal/avatar.js
CHANGED
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import 'lodash/isBoolean';
|
|
7
7
|
import 'lodash/isEmpty';
|
|
8
8
|
import 'lodash/kebabCase';
|
|
@@ -10,6 +10,7 @@ import 'lodash/noop';
|
|
|
10
10
|
import './constants.js';
|
|
11
11
|
import './mergeRefs.js';
|
|
12
12
|
export { A as Avatar } from './Avatar2.js';
|
|
13
|
+
import './Icon2.js';
|
|
13
14
|
import './clamp.js';
|
|
14
15
|
import './Thumbnail2.js';
|
|
15
16
|
import 'lodash';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
package/esm/_internal/button.js
CHANGED
|
@@ -2,7 +2,6 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './Icon2.js';
|
|
6
5
|
import '../index2.js';
|
|
7
6
|
import 'lodash/isBoolean';
|
|
8
7
|
import 'lodash/isEmpty';
|
|
@@ -20,6 +19,7 @@ export { B as ButtonGroup } from './ButtonGroup.js';
|
|
|
20
19
|
import 'react-dom';
|
|
21
20
|
import './ClickAwayProvider.js';
|
|
22
21
|
import 'lodash/pull';
|
|
22
|
+
import './Icon2.js';
|
|
23
23
|
import './Tooltip2.js';
|
|
24
24
|
import 'lodash/debounce';
|
|
25
25
|
//# sourceMappingURL=button.js.map
|
|
@@ -2,13 +2,14 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
9
9
|
import 'lodash/kebabCase';
|
|
10
10
|
import 'lodash/noop';
|
|
11
11
|
export { C as Checkbox } from './Checkbox2.js';
|
|
12
|
+
import './Icon2.js';
|
|
12
13
|
import './InputHelper.js';
|
|
13
14
|
import './InputLabel.js';
|
|
14
15
|
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import 'lodash/isBoolean';
|
|
7
7
|
import 'lodash/isEmpty';
|
|
8
8
|
import 'lodash/kebabCase';
|
|
@@ -12,6 +12,7 @@ import './mergeRefs.js';
|
|
|
12
12
|
import './Avatar2.js';
|
|
13
13
|
import 'lodash/isFunction';
|
|
14
14
|
export { a as CommentBlock, C as CommentBlockVariant } from './CommentBlock.js';
|
|
15
|
+
import './Icon2.js';
|
|
15
16
|
import './clamp.js';
|
|
16
17
|
import './Thumbnail2.js';
|
|
17
18
|
import 'lodash';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"comment-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
@@ -23,6 +23,7 @@ import './useFocusTrap.js';
|
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './ClickAwayProvider.js';
|
|
25
25
|
import 'lodash/pull';
|
|
26
|
+
import './Icon2.js';
|
|
26
27
|
import './InputHelper.js';
|
|
27
28
|
import './InputLabel.js';
|
|
28
29
|
import './TextField.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-picker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,10 +2,11 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import 'lodash/isBoolean';
|
|
7
7
|
import 'lodash/isEmpty';
|
|
8
8
|
import 'lodash/kebabCase';
|
|
9
9
|
import 'lodash/noop';
|
|
10
10
|
export { D as DragHandle } from './DragHandle.js';
|
|
11
|
+
import './Icon2.js';
|
|
11
12
|
//# sourceMappingURL=drag-handle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-handle.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drag-handle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
@@ -28,6 +28,7 @@ import './ClickAwayProvider.js';
|
|
|
28
28
|
import 'lodash/pull';
|
|
29
29
|
import './DragHandle.js';
|
|
30
30
|
export { E as ExpansionPanel } from './ExpansionPanel.js';
|
|
31
|
+
import './Icon2.js';
|
|
31
32
|
import './Tooltip2.js';
|
|
32
33
|
import 'lodash/debounce';
|
|
33
34
|
//# sourceMappingURL=expansion-panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expansion-panel.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expansion-panel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/esm/_internal/flag.js
CHANGED
|
@@ -2,10 +2,10 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './Icon2.js';
|
|
6
5
|
import 'lodash/isBoolean';
|
|
7
6
|
import 'lodash/isEmpty';
|
|
8
7
|
import 'lodash/kebabCase';
|
|
9
8
|
import 'lodash/noop';
|
|
10
9
|
export { F as Flag } from './Flag2.js';
|
|
10
|
+
import './Icon2.js';
|
|
11
11
|
//# sourceMappingURL=flag.js.map
|
package/esm/_internal/icon.js
CHANGED
|
@@ -2,9 +2,9 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
export { I as Icon } from './Icon2.js';
|
|
6
5
|
import 'lodash/isBoolean';
|
|
7
6
|
import 'lodash/isEmpty';
|
|
8
7
|
import 'lodash/kebabCase';
|
|
9
8
|
import 'lodash/noop';
|
|
9
|
+
export { I as Icon } from './Icon2.js';
|
|
10
10
|
//# sourceMappingURL=icon.js.map
|
|
@@ -2,13 +2,14 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import 'lodash/isBoolean';
|
|
7
7
|
import 'lodash/isEmpty';
|
|
8
8
|
import 'lodash/kebabCase';
|
|
9
9
|
import 'lodash/noop';
|
|
10
10
|
import './constants.js';
|
|
11
11
|
import './mergeRefs.js';
|
|
12
|
+
import './Icon2.js';
|
|
12
13
|
import 'lodash/isObject';
|
|
13
14
|
export { a as ImageBlock, I as ImageBlockCaptionPosition } from './ImageBlock.js';
|
|
14
15
|
import './clamp.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-block.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import '../index2.js';
|
|
7
7
|
import 'lodash/isBoolean';
|
|
8
8
|
import 'lodash/isEmpty';
|
|
@@ -21,6 +21,7 @@ import './ClickAwayProvider.js';
|
|
|
21
21
|
import 'lodash/pull';
|
|
22
22
|
import './useDelayedVisibility.js';
|
|
23
23
|
import './useDisableBodyScroll.js';
|
|
24
|
+
import './Icon2.js';
|
|
24
25
|
export { L as Lightbox } from './Lightbox2.js';
|
|
25
26
|
import './Tooltip2.js';
|
|
26
27
|
import 'lodash/debounce';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lightbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './
|
|
5
|
+
import './mdi.js';
|
|
6
6
|
import 'lodash/isBoolean';
|
|
7
7
|
import 'lodash/isEmpty';
|
|
8
8
|
import 'lodash/kebabCase';
|
|
@@ -10,6 +10,7 @@ import 'lodash/noop';
|
|
|
10
10
|
import './constants.js';
|
|
11
11
|
import './mergeRefs.js';
|
|
12
12
|
import './renderLink.js';
|
|
13
|
+
import './Icon2.js';
|
|
13
14
|
import './Link2.js';
|
|
14
15
|
export { L as LinkPreview } from './LinkPreview.js';
|
|
15
16
|
import './clamp.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-preview.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"link-preview.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/esm/_internal/link.js
CHANGED
|
@@ -2,11 +2,11 @@ import './_rollupPluginBabelHelpers.js';
|
|
|
2
2
|
import './components.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './getRootClassName.js';
|
|
5
|
-
import './Icon2.js';
|
|
6
5
|
import 'lodash/isBoolean';
|
|
7
6
|
import 'lodash/isEmpty';
|
|
8
7
|
import 'lodash/kebabCase';
|
|
9
8
|
import 'lodash/noop';
|
|
10
9
|
import './renderLink.js';
|
|
10
|
+
import './Icon2.js';
|
|
11
11
|
export { L as Link } from './Link2.js';
|
|
12
12
|
//# sourceMappingURL=link.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Material Design Icons v5.8.55
|
|
2
|
+
var mdiAlert = "M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z";
|
|
3
|
+
var mdiAlertCircle = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
4
|
+
var mdiArrowDown = "M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z";
|
|
5
|
+
var mdiArrowUp = "M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z";
|
|
6
|
+
var mdiCheck = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";
|
|
7
|
+
var mdiCheckCircle = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z";
|
|
8
|
+
var mdiChevronDown = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";
|
|
9
|
+
var mdiChevronLeft = "M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z";
|
|
10
|
+
var mdiChevronRight = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";
|
|
11
|
+
var mdiChevronUp = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z";
|
|
12
|
+
var mdiClose = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";
|
|
13
|
+
var mdiCloseCircle = "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z";
|
|
14
|
+
var mdiDragVertical = "M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z";
|
|
15
|
+
var mdiImageBrokenVariant = "M21,5V11.59L18,8.58L14,12.59L10,8.59L6,12.59L3,9.58V5A2,2 0 0,1 5,3H19A2,2 0 0,1 21,5M18,11.42L21,14.43V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V12.42L6,15.41L10,11.41L14,15.41";
|
|
16
|
+
var mdiInformation = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
17
|
+
var mdiMenuDown = "M7,10L12,15L17,10H7Z";
|
|
18
|
+
var mdiRadioboxBlank = "M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
19
|
+
var mdiRadioboxMarked = "M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z";
|
|
20
|
+
|
|
21
|
+
export { mdiInformation as a, mdiCheckCircle as b, mdiAlertCircle as c, mdiClose as d, mdiCheck as e, mdiChevronRight as f, mdiChevronLeft as g, mdiDragVertical as h, mdiChevronUp as i, mdiChevronDown as j, mdiRadioboxMarked as k, mdiRadioboxBlank as l, mdiAlert as m, mdiCloseCircle as n, mdiMenuDown as o, mdiArrowUp as p, mdiArrowDown as q, mdiImageBrokenVariant as r };
|
|
22
|
+
//# sourceMappingURL=mdi.js.map
|