@guardian/stand 0.0.55 → 0.0.57
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/ButtonGroup.cjs +5 -0
- package/dist/ButtonGroup.d.cts +5 -0
- package/dist/ButtonGroup.d.ts +5 -0
- package/dist/ButtonGroup.js +3 -0
- package/dist/Tabs.cjs +5 -0
- package/dist/Tabs.d.cts +5 -0
- package/dist/Tabs.d.ts +5 -0
- package/dist/Tabs.js +3 -0
- package/dist/components/ButtonGroup/ButtonGroup.cjs +25 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.cts +11 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +11 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +23 -0
- package/dist/components/ButtonGroup/styles.cjs +21 -0
- package/dist/components/ButtonGroup/styles.d.cts +9 -0
- package/dist/components/ButtonGroup/styles.d.ts +9 -0
- package/dist/components/ButtonGroup/styles.js +20 -0
- package/dist/components/ButtonGroup/types.d.cts +13 -0
- package/dist/components/ButtonGroup/types.d.ts +13 -0
- package/dist/components/Tabs/Tabs.cjs +88 -0
- package/dist/components/Tabs/Tabs.d.cts +15 -0
- package/dist/components/Tabs/Tabs.d.ts +15 -0
- package/dist/components/Tabs/Tabs.js +86 -0
- package/dist/components/Tabs/styles.cjs +146 -0
- package/dist/components/Tabs/styles.d.cts +17 -0
- package/dist/components/Tabs/styles.d.ts +17 -0
- package/dist/components/Tabs/styles.js +137 -0
- package/dist/components/Tabs/types.d.cts +63 -0
- package/dist/components/Tabs/types.d.ts +63 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/styleD/build/css/component/buttonGroup.css +13 -0
- package/dist/styleD/build/css/component/tabs.css +49 -0
- package/dist/styleD/build/typescript/component/buttonGroup.cjs +15 -0
- package/dist/styleD/build/typescript/component/buttonGroup.d.cts +18 -0
- package/dist/styleD/build/typescript/component/buttonGroup.d.ts +18 -0
- package/dist/styleD/build/typescript/component/buttonGroup.js +15 -0
- package/dist/styleD/build/typescript/component/tabs.cjs +87 -0
- package/dist/styleD/build/typescript/component/tabs.d.cts +104 -0
- package/dist/styleD/build/typescript/component/tabs.d.ts +104 -0
- package/dist/styleD/build/typescript/component/tabs.js +87 -0
- package/package.json +32 -4
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { convertTypographyToEmotionStringStyle } from "../../styleD/utils/semantic/typography.js";
|
|
2
|
+
import { componentTabs } from "../../styleD/build/typescript/component/tabs.js";
|
|
3
|
+
import { css } from "@emotion/react";
|
|
4
|
+
//#region src/components/Tabs/styles.ts
|
|
5
|
+
const defaultTabsTheme = componentTabs.tabs;
|
|
6
|
+
const tabsStyles = (theme) => {
|
|
7
|
+
return css`
|
|
8
|
+
display: ${theme.shared.display};
|
|
9
|
+
max-width: ${theme.shared.maxWidth};
|
|
10
|
+
|
|
11
|
+
&[data-orientation='vertical'] {
|
|
12
|
+
flex-direction: ${theme.shared.orientation.vertical.flexDirection};
|
|
13
|
+
width: ${theme.shared.orientation.vertical.width};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&[data-orientation='horizontal'] {
|
|
17
|
+
flex-direction: ${theme.shared.orientation.horizontal.flexDirection};
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
};
|
|
21
|
+
const defaultTabTheme = componentTabs.tab;
|
|
22
|
+
const tabStyles = (theme, { orientation, size, icon }) => {
|
|
23
|
+
const hasIcon = !!icon;
|
|
24
|
+
return css`
|
|
25
|
+
position: ${theme.shared.position};
|
|
26
|
+
display: ${theme.shared.display};
|
|
27
|
+
gap: ${theme.shared.gap};
|
|
28
|
+
height: ${theme[size].height};
|
|
29
|
+
cursor: ${theme.shared.cursor};
|
|
30
|
+
flex-direction: ${theme.shared.flexDirection};
|
|
31
|
+
justify-content: ${theme.shared.justifyContent};
|
|
32
|
+
align-items: ${theme.shared.alignItems};
|
|
33
|
+
padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
|
|
34
|
+
${theme.shared.padding.bottom} ${theme.shared.padding.left};
|
|
35
|
+
${hasIcon && css`
|
|
36
|
+
padding-right: ${theme.shared.padding.withIcon.right};
|
|
37
|
+
`}
|
|
38
|
+
color: ${theme.shared.color};
|
|
39
|
+
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
40
|
+
|
|
41
|
+
&[data-disabled] {
|
|
42
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
43
|
+
color: ${theme.shared.disabled.color};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Override default browser focus behaviour */
|
|
47
|
+
&:focus-visible {
|
|
48
|
+
outline: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[data-focus-visible] {
|
|
52
|
+
outline: ${theme.shared.focusVisible.outline};
|
|
53
|
+
outline-offset: ${theme.shared.focusVisible.outlineOffset};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&[data-selected] {
|
|
57
|
+
background: ${theme.shared.selected.background};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[data-hovered]::after,
|
|
61
|
+
&[data-selected]::after {
|
|
62
|
+
background: ${theme.shared.selected.border.background};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
${orientation === "horizontal" && css`
|
|
66
|
+
border-right: ${theme.shared.border};
|
|
67
|
+
|
|
68
|
+
&:first-child {
|
|
69
|
+
border-left: ${theme.shared.border};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::after {
|
|
73
|
+
content: '';
|
|
74
|
+
position: absolute;
|
|
75
|
+
bottom: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
height: ${theme.shared.selected.border.size};
|
|
79
|
+
background: transparent;
|
|
80
|
+
}
|
|
81
|
+
`}
|
|
82
|
+
|
|
83
|
+
${orientation === "vertical" && css`
|
|
84
|
+
border-bottom: ${theme.shared.border};
|
|
85
|
+
padding-right: ${theme.shared.padding.verticalRight};
|
|
86
|
+
${hasIcon && css`
|
|
87
|
+
padding-right: ${theme.shared.padding.withIcon.verticalRight};
|
|
88
|
+
`}
|
|
89
|
+
|
|
90
|
+
&:first-child {
|
|
91
|
+
border-top: ${theme.shared.border};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
bottom: 0;
|
|
99
|
+
right: 0;
|
|
100
|
+
width: ${theme.shared.selected.border.size};
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
`}
|
|
104
|
+
`;
|
|
105
|
+
};
|
|
106
|
+
const defaultTabListTheme = componentTabs.tabList;
|
|
107
|
+
const tabListStyles = (theme) => {
|
|
108
|
+
return css`
|
|
109
|
+
display: ${theme.shared.display};
|
|
110
|
+
|
|
111
|
+
&[data-orientation='horizontal'] {
|
|
112
|
+
flex-direction: ${theme.shared.orientation.horizontal.flexDirection};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&[data-orientation='vertical'] {
|
|
116
|
+
flex-direction: ${theme.shared.orientation.vertical.flexDirection};
|
|
117
|
+
}
|
|
118
|
+
`;
|
|
119
|
+
};
|
|
120
|
+
const defaultTabPanelsTheme = componentTabs.tabPanels;
|
|
121
|
+
const tabPanelsStyles = (theme) => {
|
|
122
|
+
return css`
|
|
123
|
+
position: ${theme.shared.position};
|
|
124
|
+
height: var(--tab-panel-height, auto);
|
|
125
|
+
width: var(--tab-panel-width, auto);
|
|
126
|
+
overflow: ${theme.shared.overflow};
|
|
127
|
+
`;
|
|
128
|
+
};
|
|
129
|
+
const defaultTabPanelTheme = componentTabs.tabPanel;
|
|
130
|
+
const tabPanelStyles = (theme) => {
|
|
131
|
+
return css`
|
|
132
|
+
/* TODO: Designs to be provided for tab panel */
|
|
133
|
+
position: ${theme.shared.position};
|
|
134
|
+
`;
|
|
135
|
+
};
|
|
136
|
+
//#endregion
|
|
137
|
+
export { defaultTabListTheme, defaultTabPanelTheme, defaultTabPanelsTheme, defaultTabTheme, defaultTabsTheme, tabListStyles, tabPanelStyles, tabPanelsStyles, tabStyles, tabsStyles };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
2
|
+
import { IconProps } from "../Icon/types.cjs";
|
|
3
|
+
import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.cjs";
|
|
4
|
+
import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Tabs/types.d.ts
|
|
7
|
+
interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
|
|
8
|
+
/**
|
|
9
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
10
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
11
|
+
* @default 'md'
|
|
12
|
+
*/
|
|
13
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
14
|
+
}
|
|
15
|
+
interface TabListProps$1 extends DefaultPropsWithChildren<TabListTheme, TabListProps<object>['className']>, Omit<TabListProps<object>, 'children'> {
|
|
16
|
+
/**
|
|
17
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
18
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
19
|
+
* @default 'horizontal'
|
|
20
|
+
*/
|
|
21
|
+
orientation?: TabsProps$1['orientation'];
|
|
22
|
+
/**
|
|
23
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
24
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
25
|
+
* @default 'md'
|
|
26
|
+
*/
|
|
27
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
28
|
+
}
|
|
29
|
+
interface TabProps$1 extends DefaultPropsWithChildren<TabTheme, TabProps['className']>, Omit<TabProps, 'children'> {
|
|
30
|
+
/**
|
|
31
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
32
|
+
* Shouldn't need to set this manually, as it will be inherited from `Tabs` via `TabList`.
|
|
33
|
+
* @default 'horizontal'
|
|
34
|
+
*/
|
|
35
|
+
orientation?: TabsProps$1['orientation'];
|
|
36
|
+
/**
|
|
37
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
38
|
+
* Shouldn't need to set this manually, as it will be inherited from `Tabs` via `TabList`.
|
|
39
|
+
* @default 'md'
|
|
40
|
+
*/
|
|
41
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
42
|
+
/**
|
|
43
|
+
* Icon to display in the tab. Can be either a symbol from the Icon component or a custom ReactNode.
|
|
44
|
+
*/
|
|
45
|
+
icon?: IconProps['symbol'] | Exclude<IconProps['children'], string>;
|
|
46
|
+
}
|
|
47
|
+
interface TabPanelsProps$1 extends DefaultPropsWithChildren<TabPanelsTheme, TabPanelsProps<object>['className']>, Omit<TabPanelsProps<object>, 'children'> {
|
|
48
|
+
/**
|
|
49
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
50
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `TabList`.
|
|
51
|
+
* @default 'horizontal'
|
|
52
|
+
*/
|
|
53
|
+
orientation?: TabsProps$1['orientation'];
|
|
54
|
+
/**
|
|
55
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
56
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
57
|
+
* @default 'md'
|
|
58
|
+
*/
|
|
59
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
60
|
+
}
|
|
61
|
+
interface TabPanelProps$1 extends DefaultPropsWithChildren<TabPanelTheme, TabPanelProps['className']>, Omit<TabPanelProps, 'children'> {}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { TabListProps$1 as TabListProps, TabPanelProps$1 as TabPanelProps, TabPanelsProps$1 as TabPanelsProps, TabProps$1 as TabProps, TabsProps$1 as TabsProps };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
2
|
+
import { IconProps } from "../Icon/types.js";
|
|
3
|
+
import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.js";
|
|
4
|
+
import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Tabs/types.d.ts
|
|
7
|
+
interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
|
|
8
|
+
/**
|
|
9
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
10
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
11
|
+
* @default 'md'
|
|
12
|
+
*/
|
|
13
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
14
|
+
}
|
|
15
|
+
interface TabListProps$1 extends DefaultPropsWithChildren<TabListTheme, TabListProps<object>['className']>, Omit<TabListProps<object>, 'children'> {
|
|
16
|
+
/**
|
|
17
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
18
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
19
|
+
* @default 'horizontal'
|
|
20
|
+
*/
|
|
21
|
+
orientation?: TabsProps$1['orientation'];
|
|
22
|
+
/**
|
|
23
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
24
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
25
|
+
* @default 'md'
|
|
26
|
+
*/
|
|
27
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
28
|
+
}
|
|
29
|
+
interface TabProps$1 extends DefaultPropsWithChildren<TabTheme, TabProps['className']>, Omit<TabProps, 'children'> {
|
|
30
|
+
/**
|
|
31
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
32
|
+
* Shouldn't need to set this manually, as it will be inherited from `Tabs` via `TabList`.
|
|
33
|
+
* @default 'horizontal'
|
|
34
|
+
*/
|
|
35
|
+
orientation?: TabsProps$1['orientation'];
|
|
36
|
+
/**
|
|
37
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
38
|
+
* Shouldn't need to set this manually, as it will be inherited from `Tabs` via `TabList`.
|
|
39
|
+
* @default 'md'
|
|
40
|
+
*/
|
|
41
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
42
|
+
/**
|
|
43
|
+
* Icon to display in the tab. Can be either a symbol from the Icon component or a custom ReactNode.
|
|
44
|
+
*/
|
|
45
|
+
icon?: IconProps['symbol'] | Exclude<IconProps['children'], string>;
|
|
46
|
+
}
|
|
47
|
+
interface TabPanelsProps$1 extends DefaultPropsWithChildren<TabPanelsTheme, TabPanelsProps<object>['className']>, Omit<TabPanelsProps<object>, 'children'> {
|
|
48
|
+
/**
|
|
49
|
+
* Orientation of the tabs. Can be either 'horizontal' or 'vertical'.
|
|
50
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `TabList`.
|
|
51
|
+
* @default 'horizontal'
|
|
52
|
+
*/
|
|
53
|
+
orientation?: TabsProps$1['orientation'];
|
|
54
|
+
/**
|
|
55
|
+
* Size of the tab. Can be either 'sm', 'md'.
|
|
56
|
+
* Shouldn't need to set this manually, as it will be inherited from the parent `Tabs`.
|
|
57
|
+
* @default 'md'
|
|
58
|
+
*/
|
|
59
|
+
size?: keyof Omit<TabTheme, 'shared'>;
|
|
60
|
+
}
|
|
61
|
+
interface TabPanelProps$1 extends DefaultPropsWithChildren<TabPanelTheme, TabPanelProps['className']>, Omit<TabPanelProps, 'children'> {}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { TabListProps$1 as TabListProps, TabPanelProps$1 as TabPanelProps, TabPanelsProps$1 as TabPanelsProps, TabProps$1 as TabProps, TabsProps$1 as TabsProps };
|
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,7 @@ const require_button = require("./styleD/build/typescript/component/button.cjs")
|
|
|
4
4
|
const require_alertBanner = require("./styleD/build/typescript/component/alertBanner.cjs");
|
|
5
5
|
const require_breakpoints = require("./styleD/build/typescript/semantic/breakpoints.cjs");
|
|
6
6
|
const require_avatar = require("./styleD/build/typescript/component/avatar.cjs");
|
|
7
|
+
const require_buttonGroup = require("./styleD/build/typescript/component/buttonGroup.cjs");
|
|
7
8
|
const require_byline = require("./styleD/build/typescript/component/byline.cjs");
|
|
8
9
|
const require_checkbox = require("./styleD/build/typescript/component/checkbox.cjs");
|
|
9
10
|
const require_autocomplete = require("./styleD/build/typescript/component/autocomplete.cjs");
|
|
@@ -25,6 +26,7 @@ const require_textArea = require("./styleD/build/typescript/component/textArea.c
|
|
|
25
26
|
const require_textInput = require("./styleD/build/typescript/component/textInput.cjs");
|
|
26
27
|
const require_topBar = require("./styleD/build/typescript/component/topBar.cjs");
|
|
27
28
|
const require_typography = require("./styleD/build/typescript/component/typography.cjs");
|
|
29
|
+
const require_tabs = require("./styleD/build/typescript/component/tabs.cjs");
|
|
28
30
|
const require_colors = require("./styleD/build/typescript/base/colors.cjs");
|
|
29
31
|
const require_radius = require("./styleD/build/typescript/base/radius.cjs");
|
|
30
32
|
const require_sizing = require("./styleD/build/typescript/base/sizing.cjs");
|
|
@@ -46,6 +48,7 @@ exports.componentAlertBanner = require_alertBanner.componentAlertBanner;
|
|
|
46
48
|
exports.componentAutocomplete = require_autocomplete.componentAutocomplete;
|
|
47
49
|
exports.componentAvatar = require_avatar.componentAvatar;
|
|
48
50
|
exports.componentButton = require_button.componentButton;
|
|
51
|
+
exports.componentButtonGroup = require_buttonGroup.componentButtonGroup;
|
|
49
52
|
exports.componentByline = require_byline.componentByline;
|
|
50
53
|
exports.componentCheckbox = require_checkbox.componentCheckbox;
|
|
51
54
|
exports.componentDatePicker = require_datePicker.componentDatePicker;
|
|
@@ -61,6 +64,7 @@ exports.componentMenu = require_menu.componentMenu;
|
|
|
61
64
|
exports.componentModal = require_modal.componentModal;
|
|
62
65
|
exports.componentRadioGroup = require_radioGroup.componentRadioGroup;
|
|
63
66
|
exports.componentSelect = require_select.componentSelect;
|
|
67
|
+
exports.componentTabs = require_tabs.componentTabs;
|
|
64
68
|
exports.componentTagTable = require_tagTable.componentTagTable;
|
|
65
69
|
exports.componentTextArea = require_textArea.componentTextArea;
|
|
66
70
|
exports.componentTextInput = require_textInput.componentTextInput;
|
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,7 @@ import { ComponentIcon, componentIcon } from "./styleD/build/typescript/componen
|
|
|
2
2
|
import { ComponentButton, componentButton } from "./styleD/build/typescript/component/button.cjs";
|
|
3
3
|
import { ComponentAlertBanner, componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.cjs";
|
|
4
4
|
import { ComponentAvatar, componentAvatar } from "./styleD/build/typescript/component/avatar.cjs";
|
|
5
|
+
import { ComponentButtonGroup, componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.cjs";
|
|
5
6
|
import { ComponentByline, componentByline } from "./styleD/build/typescript/component/byline.cjs";
|
|
6
7
|
import { ComponentForm, componentForm } from "./styleD/build/typescript/component/form.cjs";
|
|
7
8
|
import { ComponentCheckbox, componentCheckbox } from "./styleD/build/typescript/component/checkbox.cjs";
|
|
@@ -19,6 +20,7 @@ import { ComponentMenu, componentMenu } from "./styleD/build/typescript/componen
|
|
|
19
20
|
import { ComponentModal, componentModal } from "./styleD/build/typescript/component/modal.cjs";
|
|
20
21
|
import { ComponentRadioGroup, componentRadioGroup } from "./styleD/build/typescript/component/radioGroup.cjs";
|
|
21
22
|
import { ComponentSelect, componentSelect } from "./styleD/build/typescript/component/select.cjs";
|
|
23
|
+
import { ComponentTabs, componentTabs } from "./styleD/build/typescript/component/tabs.cjs";
|
|
22
24
|
import { ComponentAutocomplete, componentAutocomplete } from "./styleD/build/typescript/component/autocomplete.cjs";
|
|
23
25
|
import { ComponentTagTable, componentTagTable } from "./styleD/build/typescript/component/tagTable.cjs";
|
|
24
26
|
import { ComponentTextArea, componentTextArea } from "./styleD/build/typescript/component/textArea.cjs";
|
|
@@ -36,4 +38,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
|
|
|
36
38
|
import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.cjs";
|
|
37
39
|
import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.cjs";
|
|
38
40
|
import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.cjs";
|
|
39
|
-
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
41
|
+
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ComponentIcon, componentIcon } from "./styleD/build/typescript/componen
|
|
|
2
2
|
import { ComponentButton, componentButton } from "./styleD/build/typescript/component/button.js";
|
|
3
3
|
import { ComponentAlertBanner, componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.js";
|
|
4
4
|
import { ComponentAvatar, componentAvatar } from "./styleD/build/typescript/component/avatar.js";
|
|
5
|
+
import { ComponentButtonGroup, componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.js";
|
|
5
6
|
import { ComponentByline, componentByline } from "./styleD/build/typescript/component/byline.js";
|
|
6
7
|
import { ComponentForm, componentForm } from "./styleD/build/typescript/component/form.js";
|
|
7
8
|
import { ComponentCheckbox, componentCheckbox } from "./styleD/build/typescript/component/checkbox.js";
|
|
@@ -19,6 +20,7 @@ import { ComponentMenu, componentMenu } from "./styleD/build/typescript/componen
|
|
|
19
20
|
import { ComponentModal, componentModal } from "./styleD/build/typescript/component/modal.js";
|
|
20
21
|
import { ComponentRadioGroup, componentRadioGroup } from "./styleD/build/typescript/component/radioGroup.js";
|
|
21
22
|
import { ComponentSelect, componentSelect } from "./styleD/build/typescript/component/select.js";
|
|
23
|
+
import { ComponentTabs, componentTabs } from "./styleD/build/typescript/component/tabs.js";
|
|
22
24
|
import { ComponentAutocomplete, componentAutocomplete } from "./styleD/build/typescript/component/autocomplete.js";
|
|
23
25
|
import { ComponentTagTable, componentTagTable } from "./styleD/build/typescript/component/tagTable.js";
|
|
24
26
|
import { ComponentTextArea, componentTextArea } from "./styleD/build/typescript/component/textArea.js";
|
|
@@ -36,4 +38,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
|
|
|
36
38
|
import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
|
|
37
39
|
import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
|
|
38
40
|
import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
|
|
39
|
-
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
41
|
+
export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { componentButton } from "./styleD/build/typescript/component/button.js";
|
|
|
3
3
|
import { componentAlertBanner } from "./styleD/build/typescript/component/alertBanner.js";
|
|
4
4
|
import { semanticBreakpoints } from "./styleD/build/typescript/semantic/breakpoints.js";
|
|
5
5
|
import { componentAvatar } from "./styleD/build/typescript/component/avatar.js";
|
|
6
|
+
import { componentButtonGroup } from "./styleD/build/typescript/component/buttonGroup.js";
|
|
6
7
|
import { componentByline } from "./styleD/build/typescript/component/byline.js";
|
|
7
8
|
import { componentCheckbox } from "./styleD/build/typescript/component/checkbox.js";
|
|
8
9
|
import { componentAutocomplete } from "./styleD/build/typescript/component/autocomplete.js";
|
|
@@ -24,6 +25,7 @@ import { componentTextArea } from "./styleD/build/typescript/component/textArea.
|
|
|
24
25
|
import { componentTextInput } from "./styleD/build/typescript/component/textInput.js";
|
|
25
26
|
import { componentTopBar } from "./styleD/build/typescript/component/topBar.js";
|
|
26
27
|
import { componentTypography } from "./styleD/build/typescript/component/typography.js";
|
|
28
|
+
import { componentTabs } from "./styleD/build/typescript/component/tabs.js";
|
|
27
29
|
import { baseColors } from "./styleD/build/typescript/base/colors.js";
|
|
28
30
|
import { baseRadius } from "./styleD/build/typescript/base/radius.js";
|
|
29
31
|
import { baseSizing } from "./styleD/build/typescript/base/sizing.js";
|
|
@@ -36,4 +38,4 @@ import { semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
|
|
|
36
38
|
import { semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
|
|
37
39
|
import { semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
|
|
38
40
|
import { semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
|
|
39
|
-
export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
41
|
+
export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-button-group-display: flex;
|
|
7
|
+
--component-button-group-flex-direction: column;
|
|
8
|
+
--component-button-group-flex-wrap: wrap;
|
|
9
|
+
--component-button-group-gap: 1rem;
|
|
10
|
+
--component-button-group-width: 100%;
|
|
11
|
+
--component-button-group-justify-content: flex-start;
|
|
12
|
+
--component-button-group-md-flex-direction: row;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-tabs-tabs-shared-display: flex;
|
|
7
|
+
--component-tabs-tabs-shared-max-width: 100%;
|
|
8
|
+
--component-tabs-tabs-shared-orientation-vertical-flex-direction: row;
|
|
9
|
+
--component-tabs-tabs-shared-orientation-vertical-width: 100%;
|
|
10
|
+
--component-tabs-tabs-shared-orientation-horizontal-flex-direction: column;
|
|
11
|
+
--component-tabs-tab-shared-position: relative;
|
|
12
|
+
--component-tabs-tab-shared-display: inline-flex;
|
|
13
|
+
--component-tabs-tab-shared-gap: 0.375rem;
|
|
14
|
+
--component-tabs-tab-shared-cursor: pointer;
|
|
15
|
+
--component-tabs-tab-shared-flex-direction: row;
|
|
16
|
+
--component-tabs-tab-shared-justify-content: center;
|
|
17
|
+
--component-tabs-tab-shared-align-items: center;
|
|
18
|
+
--component-tabs-tab-shared-padding-top: 0;
|
|
19
|
+
--component-tabs-tab-shared-padding-bottom: 0;
|
|
20
|
+
--component-tabs-tab-shared-padding-left: 1rem;
|
|
21
|
+
--component-tabs-tab-shared-padding-right: 1rem;
|
|
22
|
+
--component-tabs-tab-shared-padding-vertical-right: 1.25rem;
|
|
23
|
+
--component-tabs-tab-shared-padding-with-icon-right: 1.25rem;
|
|
24
|
+
--component-tabs-tab-shared-padding-with-icon-vertical-right: 1.5rem;
|
|
25
|
+
--component-tabs-tab-shared-color: #545454;
|
|
26
|
+
--component-tabs-tab-shared-border: 0.0625rem solid #cccccc;
|
|
27
|
+
--component-tabs-tab-shared-selected-background: #f6f6f6;
|
|
28
|
+
--component-tabs-tab-shared-selected-border-border: 0.5rem solid #0072a9;
|
|
29
|
+
--component-tabs-tab-shared-selected-border-size: 0.5rem;
|
|
30
|
+
--component-tabs-tab-shared-selected-border-background: #0072a9;
|
|
31
|
+
--component-tabs-tab-shared-disabled-cursor: not-allowed;
|
|
32
|
+
--component-tabs-tab-shared-disabled-color: #999999;
|
|
33
|
+
--component-tabs-tab-shared-focus-visible-outline: 0.125rem solid #0072a9;
|
|
34
|
+
--component-tabs-tab-shared-focus-visible-outline-offset: -0.0625rem;
|
|
35
|
+
--component-tabs-tab-md-height: 3rem;
|
|
36
|
+
--component-tabs-tab-md-typography-font: normal 700 1rem/1.15 'Open Sans';
|
|
37
|
+
--component-tabs-tab-md-typography-letter-spacing: -0.03125rem;
|
|
38
|
+
--component-tabs-tab-md-typography-font-width: 95;
|
|
39
|
+
--component-tabs-tab-sm-height: 2.5rem;
|
|
40
|
+
--component-tabs-tab-sm-typography-font: normal 700 0.875rem/1.15 'Open Sans';
|
|
41
|
+
--component-tabs-tab-sm-typography-letter-spacing: -0.0125rem;
|
|
42
|
+
--component-tabs-tab-sm-typography-font-width: 95;
|
|
43
|
+
--component-tabs-tab-list-shared-display: flex;
|
|
44
|
+
--component-tabs-tab-list-shared-orientation-horizontal-flex-direction: row;
|
|
45
|
+
--component-tabs-tab-list-shared-orientation-vertical-flex-direction: column;
|
|
46
|
+
--component-tabs-tab-panels-shared-position: relative;
|
|
47
|
+
--component-tabs-tab-panels-shared-overflow: clip;
|
|
48
|
+
--component-tabs-tab-panel-shared-position: initial;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/buttonGroup.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentButtonGroup = {
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
flexWrap: "wrap",
|
|
9
|
+
gap: "1rem",
|
|
10
|
+
width: "100%",
|
|
11
|
+
justifyContent: "flex-start",
|
|
12
|
+
md: { flexDirection: "row" }
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.componentButtonGroup = componentButtonGroup;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/buttonGroup.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentButtonGroup: {
|
|
6
|
+
display: string;
|
|
7
|
+
flexDirection: string;
|
|
8
|
+
flexWrap: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
width: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
md: {
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type ComponentButtonGroup = typeof componentButtonGroup;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { ComponentButtonGroup, componentButtonGroup };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/buttonGroup.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentButtonGroup: {
|
|
6
|
+
display: string;
|
|
7
|
+
flexDirection: string;
|
|
8
|
+
flexWrap: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
width: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
md: {
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type ComponentButtonGroup = typeof componentButtonGroup;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { ComponentButtonGroup, componentButtonGroup };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/buttonGroup.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentButtonGroup = {
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
flexWrap: "wrap",
|
|
9
|
+
gap: "1rem",
|
|
10
|
+
width: "100%",
|
|
11
|
+
justifyContent: "flex-start",
|
|
12
|
+
md: { flexDirection: "row" }
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { componentButtonGroup };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/tabs.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentTabs = {
|
|
6
|
+
tabs: { shared: {
|
|
7
|
+
display: "flex",
|
|
8
|
+
maxWidth: "100%",
|
|
9
|
+
orientation: {
|
|
10
|
+
vertical: {
|
|
11
|
+
flexDirection: "row",
|
|
12
|
+
width: "100%"
|
|
13
|
+
},
|
|
14
|
+
horizontal: { flexDirection: "column" }
|
|
15
|
+
}
|
|
16
|
+
} },
|
|
17
|
+
tab: {
|
|
18
|
+
shared: {
|
|
19
|
+
position: "relative",
|
|
20
|
+
display: "inline-flex",
|
|
21
|
+
gap: "0.375rem",
|
|
22
|
+
cursor: "pointer",
|
|
23
|
+
flexDirection: "row",
|
|
24
|
+
justifyContent: "center",
|
|
25
|
+
alignItems: "center",
|
|
26
|
+
padding: {
|
|
27
|
+
top: "0",
|
|
28
|
+
bottom: "0",
|
|
29
|
+
left: "1rem",
|
|
30
|
+
right: "1rem",
|
|
31
|
+
verticalRight: "1.25rem",
|
|
32
|
+
withIcon: {
|
|
33
|
+
right: "1.25rem",
|
|
34
|
+
verticalRight: "1.5rem"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
color: "#545454",
|
|
38
|
+
border: "0.0625rem solid #cccccc",
|
|
39
|
+
selected: {
|
|
40
|
+
background: "#f6f6f6",
|
|
41
|
+
border: {
|
|
42
|
+
border: "0.5rem solid #0072a9",
|
|
43
|
+
size: "0.5rem",
|
|
44
|
+
background: "#0072a9"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
cursor: "not-allowed",
|
|
49
|
+
color: "#999999"
|
|
50
|
+
},
|
|
51
|
+
focusVisible: {
|
|
52
|
+
outline: "0.125rem solid #0072a9",
|
|
53
|
+
outlineOffset: "-0.0625rem"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
md: {
|
|
57
|
+
height: "3rem",
|
|
58
|
+
typography: {
|
|
59
|
+
font: "normal 700 1rem/1.15 Open Sans",
|
|
60
|
+
letterSpacing: "-0.03125rem",
|
|
61
|
+
fontWidth: 95
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
height: "2.5rem",
|
|
66
|
+
typography: {
|
|
67
|
+
font: "normal 700 0.875rem/1.15 Open Sans",
|
|
68
|
+
letterSpacing: "-0.0125rem",
|
|
69
|
+
fontWidth: 95
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
tabList: { shared: {
|
|
74
|
+
display: "flex",
|
|
75
|
+
orientation: {
|
|
76
|
+
horizontal: { flexDirection: "row" },
|
|
77
|
+
vertical: { flexDirection: "column" }
|
|
78
|
+
}
|
|
79
|
+
} },
|
|
80
|
+
tabPanels: { shared: {
|
|
81
|
+
position: "relative",
|
|
82
|
+
overflow: "clip"
|
|
83
|
+
} },
|
|
84
|
+
tabPanel: { shared: { position: "initial" } }
|
|
85
|
+
};
|
|
86
|
+
//#endregion
|
|
87
|
+
exports.componentTabs = componentTabs;
|