@pingux/astro 2.20.0-alpha.0 → 2.20.0-alpha.10
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/{experimental → components}/ButtonBar/ButtonBar.js +6 -9
- package/lib/{experimental → cjs/components}/ButtonBar/ButtonBar.mdx +1 -2
- package/lib/cjs/{experimental → components}/ButtonBar/ButtonBar.stories.js +22 -9
- package/lib/cjs/components/ButtonBar/ButtonBar.styles.js +33 -0
- package/lib/cjs/{experimental → components}/ButtonBar/ButtonBar.test.js +5 -5
- package/lib/cjs/components/ColorField/ColorField.js +4 -1
- package/lib/cjs/components/ListView/ListView.js +8 -2
- package/lib/cjs/components/TreeView/TreeView.js +100 -0
- package/lib/cjs/components/TreeView/TreeView.mdx +16 -0
- package/lib/cjs/components/TreeView/TreeView.stories.js +89 -0
- package/lib/cjs/components/TreeView/TreeView.styles.js +32 -0
- package/lib/cjs/components/TreeView/TreeView.test.js +124 -0
- package/lib/cjs/components/TreeView/TreeViewItem.js +74 -0
- package/lib/cjs/components/TreeView/TreeViewRow.js +147 -0
- package/lib/cjs/components/TreeView/TreeViewSection.js +88 -0
- package/lib/cjs/components/TreeView/index.js +28 -0
- package/lib/cjs/context/TreeViewContext/index.js +14 -0
- package/lib/cjs/index.d.ts +4 -2
- package/lib/cjs/index.js +32 -6
- package/lib/cjs/recipes/CountryPicker.stories.js +11 -2
- package/lib/cjs/recipes/{EditableInput.stories.js → InlineEditing.stories.js} +12 -2
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +8 -1
- package/lib/cjs/styles/variants/variants.js +5 -1
- package/lib/cjs/utils/designUtils/figmaLinks.js +13 -0
- package/lib/{experimental → components}/ButtonBar/ButtonBar.js +6 -9
- package/lib/{cjs/experimental → components}/ButtonBar/ButtonBar.mdx +1 -2
- package/lib/{experimental → components}/ButtonBar/ButtonBar.stories.js +15 -2
- package/lib/components/ButtonBar/ButtonBar.styles.js +25 -0
- package/lib/{experimental → components}/ButtonBar/ButtonBar.test.js +1 -1
- package/lib/components/ColorField/ColorField.js +4 -1
- package/lib/components/ListView/ListView.js +8 -2
- package/lib/components/TreeView/TreeView.js +89 -0
- package/lib/components/TreeView/TreeView.mdx +16 -0
- package/lib/components/TreeView/TreeView.stories.js +79 -0
- package/lib/components/TreeView/TreeView.styles.js +24 -0
- package/lib/components/TreeView/TreeView.test.js +121 -0
- package/lib/components/TreeView/TreeViewItem.js +60 -0
- package/lib/components/TreeView/TreeViewRow.js +135 -0
- package/lib/components/TreeView/TreeViewSection.js +74 -0
- package/lib/components/TreeView/index.js +3 -0
- package/lib/context/TreeViewContext/index.js +5 -0
- package/lib/index.js +4 -2
- package/lib/recipes/CountryPicker.stories.js +10 -1
- package/lib/recipes/{EditableInput.stories.js → InlineEditing.stories.js} +10 -1
- package/lib/recipes/OneWayToBidirectionalArrow.stories.js +7 -0
- package/lib/styles/variants/variants.js +5 -1
- package/lib/utils/designUtils/figmaLinks.js +13 -0
- package/package.json +1 -1
- package/lib/cjs/recipes/RowLineChart.stories.js +0 -578
- package/lib/recipes/RowLineChart.stories.js +0 -565
- /package/lib/cjs/{experimental → components}/ButtonBar/index.js +0 -0
- /package/lib/{experimental → components}/ButtonBar/index.js +0 -0
@@ -0,0 +1,135 @@
|
|
1
|
+
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
2
|
+
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
3
|
+
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
4
|
+
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
5
|
+
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
6
|
+
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
7
|
+
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
8
|
+
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
9
|
+
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
10
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
11
|
+
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
12
|
+
var _excluded = ["title", "mainIcon", "lastIcon", "item", "items", "isExpanded", "isSelected", "isDisabled", "iconButtonProps"];
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
15
|
+
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
16
|
+
import FolderIcon from '@pingux/mdi-react/FolderIcon';
|
17
|
+
import LockIcon from '@pingux/mdi-react/LockIcon';
|
18
|
+
import MenuDownIcon from '@pingux/mdi-react/MenuDownIcon';
|
19
|
+
import MenuRight from '@pingux/mdi-react/MenuRightIcon';
|
20
|
+
import { useHover, usePress } from '@react-aria/interactions';
|
21
|
+
import { mergeProps } from '@react-aria/utils';
|
22
|
+
import PropTypes from 'prop-types';
|
23
|
+
import { useTreeViewContext } from '../../context/TreeViewContext';
|
24
|
+
import { useStatusClasses } from '../../hooks';
|
25
|
+
import { Box, Icon, IconButtonToggle, Text } from '../../index';
|
26
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
27
|
+
var TreeViewRow = /*#__PURE__*/forwardRef(function (props, ref) {
|
28
|
+
var title = props.title,
|
29
|
+
_props$mainIcon = props.mainIcon,
|
30
|
+
mainIcon = _props$mainIcon === void 0 ? FolderIcon : _props$mainIcon,
|
31
|
+
_props$lastIcon = props.lastIcon,
|
32
|
+
lastIcon = _props$lastIcon === void 0 ? LockIcon : _props$lastIcon,
|
33
|
+
item = props.item,
|
34
|
+
items = props.items,
|
35
|
+
isExpanded = props.isExpanded,
|
36
|
+
isSelected = props.isSelected,
|
37
|
+
isDisabled = props.isDisabled,
|
38
|
+
iconButtonProps = props.iconButtonProps,
|
39
|
+
others = _objectWithoutProperties(props, _excluded);
|
40
|
+
var treeRowRef = useRef();
|
41
|
+
/* istanbul ignore next */
|
42
|
+
useImperativeHandle(ref, function () {
|
43
|
+
return treeRowRef.current;
|
44
|
+
});
|
45
|
+
var key = item.key;
|
46
|
+
var _useTreeViewContext = useTreeViewContext(),
|
47
|
+
state = _useTreeViewContext.state,
|
48
|
+
tree = _useTreeViewContext.tree;
|
49
|
+
var _useHover = useHover({}),
|
50
|
+
hoverProps = _useHover.hoverProps,
|
51
|
+
isHovered = _useHover.isHovered;
|
52
|
+
var pressIcon = function pressIcon(e) {
|
53
|
+
state.toggleKey(item.key);
|
54
|
+
if (iconButtonProps !== null && iconButtonProps !== void 0 && iconButtonProps.onPress) {
|
55
|
+
iconButtonProps.onPress(e);
|
56
|
+
}
|
57
|
+
};
|
58
|
+
var pressRow = function pressRow() {
|
59
|
+
tree.setSelectedKeys([item.key]);
|
60
|
+
};
|
61
|
+
var _usePress = usePress(_objectSpread(_objectSpread({}, others), {}, {
|
62
|
+
ref: treeRowRef,
|
63
|
+
onPress: pressRow
|
64
|
+
})),
|
65
|
+
isPressed = _usePress.isPressed,
|
66
|
+
pressProps = _usePress.pressProps;
|
67
|
+
var _useStatusClasses = useStatusClasses('', {
|
68
|
+
isHovered: isHovered,
|
69
|
+
isSelected: isSelected,
|
70
|
+
isExpanded: isExpanded,
|
71
|
+
isPressed: isPressed,
|
72
|
+
isDisabled: isDisabled
|
73
|
+
}),
|
74
|
+
classNames = _useStatusClasses.classNames;
|
75
|
+
var mergedProps = mergeProps(hoverProps, pressProps, others);
|
76
|
+
return ___EmotionJSX(Box, _extends({
|
77
|
+
ref: treeRowRef,
|
78
|
+
isRow: true,
|
79
|
+
alignItems: "center",
|
80
|
+
gap: "xs",
|
81
|
+
sx: {
|
82
|
+
flexGrow: 1
|
83
|
+
},
|
84
|
+
className: classNames,
|
85
|
+
key: "".concat(key, " box")
|
86
|
+
}, mergedProps), (items === null || items === void 0 ? void 0 : items.length) > 0 && ___EmotionJSX(IconButtonToggle, {
|
87
|
+
onToggle: pressIcon,
|
88
|
+
isToggled: isExpanded,
|
89
|
+
defaultIcon: MenuRight,
|
90
|
+
toggledIcon: MenuDownIcon,
|
91
|
+
iconProps: {
|
92
|
+
size: 25,
|
93
|
+
title: "".concat(title, " expand or collapse button")
|
94
|
+
},
|
95
|
+
buttonProps: {
|
96
|
+
'aria-label': "".concat(title, " expand or collapse button")
|
97
|
+
}
|
98
|
+
}), ___EmotionJSX(Box, {
|
99
|
+
isRow: true,
|
100
|
+
className: classNames,
|
101
|
+
alignItems: "center",
|
102
|
+
gap: "xs",
|
103
|
+
variant: "treeView.treeRow"
|
104
|
+
}, ___EmotionJSX(Icon, {
|
105
|
+
color: "focus",
|
106
|
+
icon: mainIcon,
|
107
|
+
size: 25,
|
108
|
+
title: "folder icon",
|
109
|
+
alt: "folder icon"
|
110
|
+
}), ___EmotionJSX(Text, {
|
111
|
+
className: classNames
|
112
|
+
}, title), ___EmotionJSX(Icon, {
|
113
|
+
icon: lastIcon,
|
114
|
+
size: 15,
|
115
|
+
color: "accent.80",
|
116
|
+
title: "lock icon",
|
117
|
+
alt: "lock icon"
|
118
|
+
})));
|
119
|
+
});
|
120
|
+
TreeViewRow.propTypes = {
|
121
|
+
isSelected: PropTypes.bool,
|
122
|
+
isDisabled: PropTypes.bool,
|
123
|
+
isExpanded: PropTypes.bool,
|
124
|
+
title: PropTypes.string,
|
125
|
+
items: PropTypes.arrayOf(PropTypes.shape({})),
|
126
|
+
iconButtonProps: PropTypes.shape({
|
127
|
+
onPress: PropTypes.func
|
128
|
+
}),
|
129
|
+
item: PropTypes.shape({
|
130
|
+
key: PropTypes.string
|
131
|
+
}),
|
132
|
+
mainIcon: PropTypes.elementType,
|
133
|
+
lastIcon: PropTypes.elementType
|
134
|
+
};
|
135
|
+
export default TreeViewRow;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
2
|
+
import _Array$from from "@babel/runtime-corejs3/core-js-stable/array/from";
|
3
|
+
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
4
|
+
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
5
|
+
import PropTypes from 'prop-types';
|
6
|
+
import { useTreeViewContext } from '../../context/TreeViewContext';
|
7
|
+
import { Box, TreeViewItem } from '../../index';
|
8
|
+
import { SectionOrItemRender } from './TreeView';
|
9
|
+
import TreeViewRow from './TreeViewRow';
|
10
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
11
|
+
var TreeViewSection = /*#__PURE__*/forwardRef(function (props, ref) {
|
12
|
+
var _context, _context2, _context3, _context4;
|
13
|
+
var item = props.item,
|
14
|
+
items = props.items,
|
15
|
+
title = props.title;
|
16
|
+
var treeSectionRef = useRef();
|
17
|
+
/* istanbul ignore next */
|
18
|
+
useImperativeHandle(ref, function () {
|
19
|
+
return treeSectionRef.current;
|
20
|
+
});
|
21
|
+
var _useTreeViewContext = useTreeViewContext(),
|
22
|
+
state = _useTreeViewContext.state,
|
23
|
+
tree = _useTreeViewContext.tree;
|
24
|
+
var isExpanded = _includesInstanceProperty(_context = _Array$from(state.expandedKeys)).call(_context, item.key);
|
25
|
+
var isSelected = _includesInstanceProperty(_context2 = _Array$from(tree.selectedKeys)).call(_context2, item.key);
|
26
|
+
var isDisabled = _includesInstanceProperty(_context3 = _Array$from(state.disabledKeys)).call(_context3, item.key);
|
27
|
+
return ___EmotionJSX(Box, {
|
28
|
+
ref: treeSectionRef,
|
29
|
+
as: "li",
|
30
|
+
sx: {
|
31
|
+
':not(:last-child)': {
|
32
|
+
pb: 'sm'
|
33
|
+
}
|
34
|
+
},
|
35
|
+
role: "treeitem",
|
36
|
+
"aria-expanded": isExpanded,
|
37
|
+
"aria-selected": isSelected,
|
38
|
+
"aria-disabled": isDisabled
|
39
|
+
}, ___EmotionJSX(TreeViewRow, {
|
40
|
+
item: item,
|
41
|
+
title: title,
|
42
|
+
items: items,
|
43
|
+
isExpanded: isExpanded,
|
44
|
+
isSelected: isSelected,
|
45
|
+
isDisabled: isDisabled
|
46
|
+
}), isExpanded && ___EmotionJSX(Box, {
|
47
|
+
as: "ul",
|
48
|
+
role: "group",
|
49
|
+
key: "".concat(item.key, " ul"),
|
50
|
+
sx: {
|
51
|
+
pl: 'md'
|
52
|
+
}
|
53
|
+
}, _mapInstanceProperty(_context4 = _Array$from(items)).call(_context4, function (_item) {
|
54
|
+
var _item$value$items;
|
55
|
+
return SectionOrItemRender(((_item$value$items = _item.value.items) === null || _item$value$items === void 0 ? void 0 : _item$value$items.length) > 0, ___EmotionJSX(TreeViewSection, {
|
56
|
+
item: _item,
|
57
|
+
items: _item.children,
|
58
|
+
title: _item.value.title,
|
59
|
+
key: _item.value.title
|
60
|
+
}), ___EmotionJSX(TreeViewItem, {
|
61
|
+
item: _item,
|
62
|
+
title: _item.value.title,
|
63
|
+
key: _item.value.title
|
64
|
+
}));
|
65
|
+
})));
|
66
|
+
});
|
67
|
+
TreeViewSection.propTypes = {
|
68
|
+
items: PropTypes.arrayOf(PropTypes.shape({})),
|
69
|
+
item: PropTypes.shape({
|
70
|
+
key: PropTypes.string
|
71
|
+
}),
|
72
|
+
title: PropTypes.string
|
73
|
+
};
|
74
|
+
export default TreeViewSection;
|
package/lib/index.js
CHANGED
@@ -26,6 +26,7 @@ export { default as Breadcrumbs } from './components/Breadcrumbs';
|
|
26
26
|
export * from './components/Breadcrumbs';
|
27
27
|
export { default as Button } from './components/Button';
|
28
28
|
export * from './components/Button';
|
29
|
+
export { default as ButtonBar } from './components/ButtonBar/ButtonBar';
|
29
30
|
export { default as Calendar } from './components/Calendar';
|
30
31
|
export * from './components/Calendar';
|
31
32
|
export { default as CalendarCell } from './components/Calendar/CalendarCell';
|
@@ -162,6 +163,8 @@ export * from './components/TextField';
|
|
162
163
|
export { default as TimeZonePicker } from './components/TimeZonePicker';
|
163
164
|
export { default as TooltipTrigger } from './components/TooltipTrigger';
|
164
165
|
export * from './components/TooltipTrigger';
|
166
|
+
export { default as TreeView } from './components/TreeView';
|
167
|
+
export * from './components/TreeView';
|
165
168
|
export { default as PageHeader } from './experimental/PageHeader';
|
166
169
|
export * from './experimental/PageHeader';
|
167
170
|
|
@@ -171,11 +174,10 @@ export { default as DataTable } from './components/DataTable';
|
|
171
174
|
export * from './components/DataTable';
|
172
175
|
export * from './types';
|
173
176
|
export { OverlayProvider, useOverlayPosition, useOverlayTrigger } from 'react-aria';
|
174
|
-
export { Item, Section, useOverlayTriggerState } from 'react-stately';
|
177
|
+
export { Item, Section, useOverlayTriggerState, useTreeData } from 'react-stately';
|
175
178
|
export { TableBody as DataTableBody, Cell as DataTableCell, Column as DataTableColumn, TableHeader as DataTableHeader, Row as DataTableRow } from 'react-stately';
|
176
179
|
|
177
180
|
// Experimental
|
178
|
-
export { default as ButtonBar } from './experimental/ButtonBar/ButtonBar';
|
179
181
|
export { default as EditButton } from './experimental/EditButton';
|
180
182
|
export { default as PanelHeader } from './experimental/PanelHeader';
|
181
183
|
export { default as PanelHeaderCloseButton } from './experimental/PanelHeader/controls/PanelHeaderCloseButton';
|
@@ -3,10 +3,13 @@ import _Object$entries from "@babel/runtime-corejs3/core-js-stable/object/entrie
|
|
3
3
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
4
4
|
import React, { useState } from 'react';
|
5
5
|
import { countries as countriesObj } from 'countries-list';
|
6
|
+
import { withDesign } from 'storybook-addon-designs';
|
6
7
|
import { Box, ComboBoxField, Input, Item } from '../index';
|
8
|
+
import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks';
|
7
9
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
8
10
|
export default {
|
9
|
-
title: 'Recipes/Country Picker'
|
11
|
+
title: 'Recipes/Country Picker',
|
12
|
+
decorators: [withDesign]
|
10
13
|
};
|
11
14
|
var validatePhoneNumber = function validatePhoneNumber(str) {
|
12
15
|
var reg = /^$|^[\d\-(\d)\s.]+$|^\+/g;
|
@@ -117,4 +120,10 @@ export var Default = function Default() {
|
|
117
120
|
onChange: onPhoneNumberValueChange,
|
118
121
|
value: phoneNumber
|
119
122
|
})));
|
123
|
+
};
|
124
|
+
Default.parameters = {
|
125
|
+
design: {
|
126
|
+
type: 'figma',
|
127
|
+
url: FIGMA_LINKS.countryPicker["default"]
|
128
|
+
}
|
120
129
|
};
|
@@ -13,10 +13,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
13
13
|
import React, { createContext, useContext, useEffect, useRef, useState } from 'react';
|
14
14
|
import CheckIcon from '@pingux/mdi-react/CheckIcon';
|
15
15
|
import CloseIcon from '@pingux/mdi-react/CloseIcon';
|
16
|
+
import { withDesign } from 'storybook-addon-designs';
|
16
17
|
import { Box, Icon, IconButton, TextAreaField } from '../index';
|
18
|
+
import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks';
|
17
19
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
18
20
|
export default {
|
19
|
-
title: 'Recipes/
|
21
|
+
title: 'Recipes/Inline Editing',
|
22
|
+
decorators: [withDesign]
|
20
23
|
};
|
21
24
|
var EditableAreaContext = /*#__PURE__*/createContext();
|
22
25
|
var EditableAreaProvider = EditableAreaContext.Provider;
|
@@ -85,6 +88,12 @@ export var Default = function Default() {
|
|
85
88
|
controlProps: controlProps
|
86
89
|
}));
|
87
90
|
};
|
91
|
+
Default.parameters = {
|
92
|
+
design: {
|
93
|
+
type: 'figma',
|
94
|
+
url: FIGMA_LINKS.inlineEditing["default"]
|
95
|
+
}
|
96
|
+
};
|
88
97
|
|
89
98
|
/**
|
90
99
|
* Editable
|
@@ -4,6 +4,7 @@ import CogsIcon from '@pingux/mdi-react/CogsIcon';
|
|
4
4
|
import DeleteIcon from '@pingux/mdi-react/DeleteIcon';
|
5
5
|
import DragVerticalIcon from '@pingux/mdi-react/DragVerticalIcon';
|
6
6
|
import { Box, ComboBoxField, Icon, IconButton, IconButtonToggle, Item } from '../index';
|
7
|
+
import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks.js';
|
7
8
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
8
9
|
export default {
|
9
10
|
title: 'Recipes/One Way to Bidirectional Arrow'
|
@@ -252,4 +253,10 @@ export var Default = function Default() {
|
|
252
253
|
name: 'Delete Icon'
|
253
254
|
}
|
254
255
|
})))));
|
256
|
+
};
|
257
|
+
Default.parameters = {
|
258
|
+
design: {
|
259
|
+
type: 'figma',
|
260
|
+
url: FIGMA_LINKS.OnewayToBidirectionalArrow["default"]
|
261
|
+
}
|
255
262
|
};
|
@@ -14,6 +14,7 @@ import accordion from '../../components/AccordionGroup/Accordion.styles';
|
|
14
14
|
import box from '../../components/Box/Box.styles';
|
15
15
|
import bracket from '../../components/Bracket/Bracket.styles';
|
16
16
|
import breadcrumb from '../../components/Breadcrumbs/Breadcrumb.styles';
|
17
|
+
import buttonBar from '../../components/ButtonBar/ButtonBar.styles';
|
17
18
|
import calendar from '../../components/Calendar/Calendar.styles';
|
18
19
|
import callout from '../../components/Callout/Callout.styles';
|
19
20
|
import codeView from '../../components/CodeView/CodeView.styles';
|
@@ -44,6 +45,7 @@ import table from '../../components/Table/Table.styles';
|
|
44
45
|
import * as tab from '../../components/Tabs/Tabs.style';
|
45
46
|
import timeZone from '../../components/TimeZonePicker/TimeZone.styles';
|
46
47
|
import tooltip from '../../components/TooltipTrigger/Tooltip.styles';
|
48
|
+
import treeView from '../../components/TreeView/TreeView.styles';
|
47
49
|
import panelHeader from '../../experimental/PanelHeader/PanelHeader.styles';
|
48
50
|
export default _objectSpread({
|
49
51
|
accordion: accordion,
|
@@ -51,6 +53,7 @@ export default _objectSpread({
|
|
51
53
|
box: box,
|
52
54
|
bracket: bracket,
|
53
55
|
breadcrumb: breadcrumb,
|
56
|
+
buttonBar: buttonBar,
|
54
57
|
calendar: calendar,
|
55
58
|
callout: callout,
|
56
59
|
codeView: codeView,
|
@@ -80,5 +83,6 @@ export default _objectSpread({
|
|
80
83
|
stepper: stepper,
|
81
84
|
table: table,
|
82
85
|
timeZone: timeZone,
|
83
|
-
tooltip: tooltip
|
86
|
+
tooltip: tooltip,
|
87
|
+
treeView: treeView
|
84
88
|
}, tab);
|
@@ -17,6 +17,10 @@ export var FIGMA_LINKS = {
|
|
17
17
|
button: {
|
18
18
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=0-1&t=8Wwd3tIBh3GEjCJB-0'
|
19
19
|
},
|
20
|
+
buttonBar: {
|
21
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=3660%3A20551&mode=dev',
|
22
|
+
rightAligned: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=3660%3A20657&mode=dev'
|
23
|
+
},
|
20
24
|
calendar: {
|
21
25
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=6373%3A25490&t=BoHXzVpQq9Lf7MaU-1'
|
22
26
|
},
|
@@ -39,6 +43,9 @@ export var FIGMA_LINKS = {
|
|
39
43
|
copyText: {
|
40
44
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=218-1442&t=8Wwd3tIBh3GEjCJB-0'
|
41
45
|
},
|
46
|
+
countryPicker: {
|
47
|
+
"default": 'https://www.figma.com/file/Oa6VYtJcUJzEJuuRp0p4ls/Astro?type=design&node-id=4568-7532&mode=design&t=eSfQYHRFNPf37J4C-0'
|
48
|
+
},
|
42
49
|
helpHint: {
|
43
50
|
"default": 'https://www.figma.com/file/Oa6VYtJcUJzEJuuRp0p4ls/Astro?type=design&node-id=0%3A4534&t=We3h7LaaFJQnxdSy-1',
|
44
51
|
withLink: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=28958%3A40081&mode=design&t=WmSYPx1hR8kxFiXf-1'
|
@@ -52,6 +59,9 @@ export var FIGMA_LINKS = {
|
|
52
59
|
iconButton: {
|
53
60
|
"default": 'https://www.figma.com/file/Oa6VYtJcUJzEJuuRp0p4ls/Astro?type=design&node-id=0%3A2520&t=We3h7LaaFJQnxdSy-1'
|
54
61
|
},
|
62
|
+
inlineEditing: {
|
63
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=5244-14864&mode=design&t=1pPbrQvGkdMYBNqk-0'
|
64
|
+
},
|
55
65
|
link: {
|
56
66
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=8708-29543&t=8Wwd3tIBh3GEjCJB-0'
|
57
67
|
},
|
@@ -79,6 +89,9 @@ export var FIGMA_LINKS = {
|
|
79
89
|
navBar: {
|
80
90
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=548-3473&t=8Wwd3tIBh3GEjCJB-0'
|
81
91
|
},
|
92
|
+
OnewayToBidirectionalArrow: {
|
93
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=43504-1214&mode=design&t=R4kdj0liRHxsqbV5-0'
|
94
|
+
},
|
82
95
|
popoverMenu: {
|
83
96
|
"default": 'https://www.figma.com/file/Oa6VYtJcUJzEJuuRp0p4ls/Astro?type=design&node-id=0%3A3073&t=We3h7LaaFJQnxdSy-1'
|
84
97
|
},
|