@procore/core-react 12.37.0 → 12.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- package/dist/Banner/Banner.d.ts +2 -1
- package/dist/Banner/Banner.js +53 -34
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Banner/Banner.types.d.ts +6 -0
- package/dist/Banner/Banner.types.js.map +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js.map +1 -1
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.styles.js +9 -9
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js +3 -1
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js.map +1 -1
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.js +10 -5
- package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +14 -14
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/Form/stories/util.js +1 -12
- package/dist/Form/stories/util.js.map +1 -1
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.styles.js +7 -7
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +4 -2
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +8 -0
- package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.d.ts +1 -0
- package/dist/PageLayout/PageLayout.styles.js +17 -17
- package/dist/PageLayout/PageLayout.styles.js.map +1 -1
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +3 -3
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.js +2 -1
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +35 -13
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +8 -8
- package/dist/Select/Select.types.d.ts +13 -0
- package/dist/Select/Select.types.js.map +1 -1
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.js +21 -6
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.js +6 -15
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.js +1 -1
- package/dist/SuperSelect/SuperSelect.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +38 -38
- package/dist/SuperSelect/SuperSelect.types.d.ts +0 -3
- package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
- package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
- package/dist/SuperSelect/useSuperSelect.js +19 -52
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +15 -15
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/Tearsheet/storybook/PageLayoutDemo.js +4 -1
- package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -1
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.styles.js +10 -10
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/I18n.d.ts +4 -19
- package/dist/_locales/en.json +3 -1
- package/dist/_locales/pseudo.json +3 -1
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +39 -13
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +13 -13
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
- package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
- package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
- package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +750 -750
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +1 -1
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +77 -77
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +48 -48
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +42 -32
- package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +30 -30
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
- package/dist/_typedoc/Popover/Popover.types.json +15 -15
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
- package/dist/_typedoc/Select/Select.types.json +95 -60
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
- package/dist/_typedoc/Table/Table.types.json +102 -102
- package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +1 -1
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +7 -7
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
- package/dist/_typedoc/Tooltip/Tooltip.types.json +14 -14
- package/dist/_typedoc/Tree/Tree.types.json +88 -88
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/package.json +2 -2
|
@@ -8,19 +8,19 @@ var trackWidth = 36;
|
|
|
8
8
|
var toggleSize = 16;
|
|
9
9
|
export var StyledTrack = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledTrack",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_38_0__sc-mwn4kg-0"
|
|
12
12
|
})(["background-color:", ";border-radius:", "px;height:", "px;width:", "px;position:relative;transition:0.2s;"], colors.gray70, trackHeight, trackHeight, trackWidth);
|
|
13
13
|
export var StyledToggle = /*#__PURE__*/styled.span.withConfig({
|
|
14
14
|
displayName: "StyledToggle",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_38_0__sc-mwn4kg-1"
|
|
16
16
|
})(["background-color:", ";border-radius:50%;bottom:2px;height:", "px;left:2px;position:absolute;transition:all 0.2s;width:", "px;"], colors.white, toggleSize, toggleSize);
|
|
17
17
|
export var StyledSwitchLabel = /*#__PURE__*/styled.span.withConfig({
|
|
18
18
|
displayName: "StyledSwitchLabel",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_38_0__sc-mwn4kg-2"
|
|
20
20
|
})(["", " padding-left:", "px;user-select:none;"], getTypographyIntent('body'), spacing.md);
|
|
21
21
|
export var StyledSwitchContainer = /*#__PURE__*/styled.label.withConfig({
|
|
22
22
|
displayName: "StyledSwitchContainer",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_38_0__sc-mwn4kg-3"
|
|
24
24
|
})(["cursor:pointer;display:grid;grid-template-columns:", "px 1fr;position:relative;& + &{margin-top:", "px;}", " ", " ", ""], trackWidth, spacing.md, function (_ref) {
|
|
25
25
|
var $checked = _ref.$checked;
|
|
26
26
|
return $checked && css(["", "{background-color:", ";", "{transform:translateX(", "px);}}"], StyledTrack, colors.blue50, StyledToggle, spacing.lg);
|
|
@@ -48,26 +48,26 @@ var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
|
|
|
48
48
|
var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
|
|
49
49
|
export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
|
|
50
50
|
displayName: "StyledTableHeaderCellSortableContainer",
|
|
51
|
-
componentId: "core-
|
|
51
|
+
componentId: "core-12_38_0__sc-9c7xd-0"
|
|
52
52
|
})([""]);
|
|
53
53
|
export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
|
|
54
54
|
displayName: "StyledTableHeaderCellLabel",
|
|
55
|
-
componentId: "core-
|
|
55
|
+
componentId: "core-12_38_0__sc-9c7xd-1"
|
|
56
56
|
})(["display:inline-block;flex:1 1 auto;position:relative;"]);
|
|
57
57
|
export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
|
|
58
58
|
displayName: "StyledCheckbox",
|
|
59
|
-
componentId: "core-
|
|
59
|
+
componentId: "core-12_38_0__sc-9c7xd-2"
|
|
60
60
|
})([""]);
|
|
61
61
|
export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
|
|
62
62
|
displayName: "StyledTableBodyCell",
|
|
63
|
-
componentId: "core-
|
|
63
|
+
componentId: "core-12_38_0__sc-9c7xd-3"
|
|
64
64
|
})(["position:relative;vertical-align:middle;", ""], function (_ref) {
|
|
65
65
|
var $snugfit = _ref.$snugfit;
|
|
66
66
|
return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
|
|
67
67
|
});
|
|
68
68
|
export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
|
|
69
69
|
displayName: "StyledTableHeaderCell",
|
|
70
|
-
componentId: "core-
|
|
70
|
+
componentId: "core-12_38_0__sc-9c7xd-4"
|
|
71
71
|
})(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", "{", "{min-height:14px;}}", " ", " ", " ", " ", ""], getTypographyIntent('small'), tableHeaderFontWeight, tableHeaderBorderRight, tableHeaderFontColor, tableHeaderHeight, tableHeaderPadding, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellLabel, function (_ref2) {
|
|
72
72
|
var $sortable = _ref2.$sortable;
|
|
73
73
|
return $sortable && css(["cursor:pointer;padding:", "px;", ",", "{color:", ";opacity:0;transition:all 0.15s ease-in-out;position:absolute;}::before,::after{font-size:16px;}&:hover{background-color:", ";", "{color:", ";}}"], spacing.lg, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc, tableSortFontColor, tableHeaderBgColorHover, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover);
|
|
@@ -86,27 +86,27 @@ export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
|
|
|
86
86
|
});
|
|
87
87
|
export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
88
88
|
displayName: "StyledTableHeaderCellIconWrapper",
|
|
89
|
-
componentId: "core-
|
|
89
|
+
componentId: "core-12_38_0__sc-9c7xd-5"
|
|
90
90
|
})(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
|
|
91
91
|
export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
|
|
92
92
|
displayName: "StyledTableHeaderCellSortIconAsc",
|
|
93
|
-
componentId: "core-
|
|
93
|
+
componentId: "core-12_38_0__sc-9c7xd-6"
|
|
94
94
|
})(["margin-top:-", "px;"], spacing.sm);
|
|
95
95
|
export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
|
|
96
96
|
displayName: "StyledTableHeaderCellSortIconDesc",
|
|
97
|
-
componentId: "core-
|
|
97
|
+
componentId: "core-12_38_0__sc-9c7xd-7"
|
|
98
98
|
})([""]);
|
|
99
99
|
export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
|
|
100
100
|
displayName: "StyledHead",
|
|
101
|
-
componentId: "core-
|
|
101
|
+
componentId: "core-12_38_0__sc-9c7xd-8"
|
|
102
102
|
})(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,q &::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
|
|
103
103
|
export var StyledCaratWrapper = /*#__PURE__*/styled(Button).withConfig({
|
|
104
104
|
displayName: "StyledCaratWrapper",
|
|
105
|
-
componentId: "core-
|
|
105
|
+
componentId: "core-12_38_0__sc-9c7xd-9"
|
|
106
106
|
})([""]);
|
|
107
107
|
export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
108
108
|
displayName: "StyledCarat",
|
|
109
|
-
componentId: "core-
|
|
109
|
+
componentId: "core-12_38_0__sc-9c7xd-10"
|
|
110
110
|
})(["", ""], function (_ref7) {
|
|
111
111
|
var $expanded = _ref7.$expanded;
|
|
112
112
|
return $expanded && css(["transform:rotate(90deg);"]);
|
|
@@ -114,7 +114,7 @@ export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
|
114
114
|
var cellInputCSS = /*#__PURE__*/css(["background-color:rgba(255,255,255,0);&&&{border:", ";border-radius:4px;width:100%;&::placeholder{color:", ";}&::-ms-clear{display:none;}&:hover{border-color:transparent;}&:focus{background-color:", ";border-style:solid;border-width:1px;border-color:", ";box-shadow:0 0 0 1px ", ";outline:none;}&:disabled{border:", ";color:", ";}}"], tableCellInputBorder, tableCellInputPlaceholderColor, colors.white, colors.blue40, colors.blue40, tableCellInputBorder, colors.gray70);
|
|
115
115
|
export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
|
|
116
116
|
displayName: "StyledTableCellSelect",
|
|
117
|
-
componentId: "core-
|
|
117
|
+
componentId: "core-12_38_0__sc-9c7xd-11"
|
|
118
118
|
})(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus,", ":focus-within &{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", " ", "{white-space:normal;}", ",& + ", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, StyledSelectButtonWrapper, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
|
|
119
119
|
var $hasClearIcon = _ref8.$hasClearIcon;
|
|
120
120
|
return $hasClearIcon && css(["& + ", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
|
|
@@ -135,25 +135,25 @@ export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
|
|
|
135
135
|
});
|
|
136
136
|
export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
|
|
137
137
|
displayName: "StyledTableCellInput",
|
|
138
|
-
componentId: "core-
|
|
138
|
+
componentId: "core-12_38_0__sc-9c7xd-12"
|
|
139
139
|
})(["", ""], cellInputCSS);
|
|
140
140
|
export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
|
|
141
141
|
displayName: "StyledTableCellDateInput",
|
|
142
|
-
componentId: "core-
|
|
142
|
+
componentId: "core-12_38_0__sc-9c7xd-13"
|
|
143
143
|
})(["background-color:transparent;border-color:transparent;&:active:hover{border-color:", ";}&&&:focus-within{", ";background-color:", ";}", " ", "{opacity:0;}", "{&[data-qa-table-visible='false']{opacity:0;}}", "{&[data-placeholder='true']{opacity:0;}}&:focus-within{", "{opacity:1;}", "{&[data-qa-table-visible='false']{opacity:1;}}", "{&[data-placeholder='true']{opacity:1;}}}"], colors.gray45, getFocus(), colors.white, function (_ref11) {
|
|
144
144
|
var error = _ref11.error;
|
|
145
145
|
return error && css(["border-color:", ";"], colors.red50);
|
|
146
146
|
}, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
|
|
147
147
|
export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
|
|
148
148
|
displayName: "StyledTableCellTextArea",
|
|
149
|
-
componentId: "core-
|
|
149
|
+
componentId: "core-12_38_0__sc-9c7xd-14"
|
|
150
150
|
})(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref12) {
|
|
151
151
|
var $resizable = _ref12.$resizable;
|
|
152
152
|
return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
|
|
153
153
|
});
|
|
154
154
|
export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
|
|
155
155
|
displayName: "StyledTableCellText",
|
|
156
|
-
componentId: "core-
|
|
156
|
+
componentId: "core-12_38_0__sc-9c7xd-15"
|
|
157
157
|
})(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref13) {
|
|
158
158
|
var $percent = _ref13.$percent,
|
|
159
159
|
$currency = _ref13.$currency;
|
|
@@ -161,15 +161,15 @@ export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
|
|
|
161
161
|
});
|
|
162
162
|
export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
|
|
163
163
|
displayName: "StyledIconCell",
|
|
164
|
-
componentId: "core-
|
|
164
|
+
componentId: "core-12_38_0__sc-9c7xd-16"
|
|
165
165
|
})(["display:flex;color:", ";"], tableCellIconColor);
|
|
166
166
|
export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
167
167
|
displayName: "StyledSelectCellWrapper",
|
|
168
|
-
componentId: "core-
|
|
168
|
+
componentId: "core-12_38_0__sc-9c7xd-17"
|
|
169
169
|
})(["display:flex;flex-direction:column;"]);
|
|
170
170
|
export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
|
|
171
171
|
displayName: "StyledTableInlineEditErrorBox",
|
|
172
|
-
componentId: "core-
|
|
172
|
+
componentId: "core-12_38_0__sc-9c7xd-18"
|
|
173
173
|
})(["", " color:", ";font-style:italic;background:", ";border-radius:0 2px 2px 2px;box-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 3px rgba(0,0,0,0.1);padding:6px ", "px;position:absolute;max-width:160px;z-index:1;", ""], getTypographyIntent('small'), colors.white, colors.red50, spacing.md, function (_ref14) {
|
|
174
174
|
var $size = _ref14.$size;
|
|
175
175
|
var sizes = {
|
|
@@ -187,7 +187,7 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
|
|
|
187
187
|
});
|
|
188
188
|
export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
|
|
189
189
|
displayName: "StyledTableInlineEditContainer",
|
|
190
|
-
componentId: "core-
|
|
190
|
+
componentId: "core-12_38_0__sc-9c7xd-19"
|
|
191
191
|
})(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref15) {
|
|
192
192
|
var $error = _ref15.$error;
|
|
193
193
|
return $error && css(["position:static;background-color:", ";", ",", ",", ",", "{border:", ";border-radius:4px 4px 0 0;border-bottom:none;&:hover{border-bottom:none;}&:focus{background-color:", ";border:", ";border-bottom:none;}}"], tableCellInputErrorBgColor, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBgColor, tableCellInputFocusBorder);
|
|
@@ -211,26 +211,26 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
211
211
|
});
|
|
212
212
|
export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
|
|
213
213
|
displayName: "StyledTableBodyRow",
|
|
214
|
-
componentId: "core-
|
|
214
|
+
componentId: "core-12_38_0__sc-9c7xd-20"
|
|
215
215
|
})(["", " ", " &:focus-within{", "{background-color:", ";&.disabled{background-color:transparent;}}", ".error{background-color:", ";}}&:hover{", "{background-color:", ";cursor:pointer;&:hover{background-color:", ";}&.disabled{&,&:hover{background-color:transparent;cursor:default;}}}", ".error{background-color:", ";&:hover{background-color:", ";}", ",", ",", "{border:", ";border-bottom:none;&:hover{border-bottom:none;}&:focus{border:", ";border-bottom:none;}}}}"], tableRowBorderBottom, function (_ref17) {
|
|
216
216
|
var $overdue = _ref17.$overdue;
|
|
217
217
|
return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
|
|
218
218
|
}, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
|
|
219
219
|
export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
|
|
220
220
|
displayName: "StyledTableGroupRowContent",
|
|
221
|
-
componentId: "core-
|
|
221
|
+
componentId: "core-12_38_0__sc-9c7xd-21"
|
|
222
222
|
})([""]);
|
|
223
223
|
export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
|
|
224
224
|
displayName: "StyledTableGroupRowHeader",
|
|
225
|
-
componentId: "core-
|
|
225
|
+
componentId: "core-12_38_0__sc-9c7xd-22"
|
|
226
226
|
})([""]);
|
|
227
227
|
export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
|
|
228
228
|
displayName: "StyledTableGroupRowTitle",
|
|
229
|
-
componentId: "core-
|
|
229
|
+
componentId: "core-12_38_0__sc-9c7xd-23"
|
|
230
230
|
})([""]);
|
|
231
231
|
export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
|
|
232
232
|
displayName: "StyledTableGroupRow",
|
|
233
|
-
componentId: "core-
|
|
233
|
+
componentId: "core-12_38_0__sc-9c7xd-24"
|
|
234
234
|
})(["background-color:", ";", " ", "{margin-left:", "px;padding:", "px 0;display:flex;flex-direction:row;}", "{display:flex;align-items:center;}", "{font-weight:", ";padding-left:", "px;}", ""], tableGroupRowBgColor, tableRowBorderBottom, StyledTableGroupRowContent, spacing.lg, spacing.lg, StyledTableGroupRowHeader, StyledTableGroupRowTitle, tableHeaderFontWeight, spacing.lg, function (_ref18) {
|
|
235
235
|
var $depth = _ref18.$depth;
|
|
236
236
|
if (typeof $depth !== 'number') {
|
|
@@ -240,7 +240,7 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
|
|
|
240
240
|
});
|
|
241
241
|
export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
|
|
242
242
|
displayName: "StyledTableWrapper",
|
|
243
|
-
componentId: "core-
|
|
243
|
+
componentId: "core-12_38_0__sc-9c7xd-25"
|
|
244
244
|
})(["border-radius:", "px;border:", ";", ",tbody{&:first-child{tr:first-child{", ",td{&:first-child{border-top-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;}}}}&:last-child{tr:last-child{", ",td{&:first-child{border-bottom-left-radius:", "px;}&:last-child{border-bottom-right-radius:", "px;}}}}}", ""], tableBorderRadius, tableBorder, StyledHead, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, function (_ref19) {
|
|
245
245
|
var $withShelf = _ref19.$withShelf;
|
|
246
246
|
return $withShelf && css(["position:relative;height:100%;"]);
|
|
@@ -249,7 +249,7 @@ var BodyRow = StyledTableBodyRow;
|
|
|
249
249
|
var GroupRow = StyledTableGroupRow;
|
|
250
250
|
export var StyledTable = /*#__PURE__*/styled.table.withConfig({
|
|
251
251
|
displayName: "StyledTable",
|
|
252
|
-
componentId: "core-
|
|
252
|
+
componentId: "core-12_38_0__sc-9c7xd-26"
|
|
253
253
|
})(["background-color:", ";border-collapse:collapse;border-radius:", "px;", " width:100%;td:first-child ", "{padding-left:", "px;}", " ", " + ", "{margin-left:", "px;padding-left:0;}", " ", " ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " + ", " > td{padding-left:", "px;}", " ~ ", "{", "{padding-left:0;margin:0 ", "px;}& > td:first-child{padding-left:", "px;}}", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}"], tableBgColor, tableBorderRadius, getTypographyIntent('body'), StyledCheckbox, spacing.lg, StyledTableGroupRow, StyledCaratWrapper, StyledCheckbox, spacing.xs, function (_ref20) {
|
|
254
254
|
var $fixed = _ref20.$fixed;
|
|
255
255
|
return $fixed && css(["table-layout:fixed;"]);
|
|
@@ -259,6 +259,6 @@ export var StyledTable = /*#__PURE__*/styled.table.withConfig({
|
|
|
259
259
|
}, GroupRow, GroupRow, tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, 2 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, 3 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, 4 * tableGroupHeaderRowIndentation, GroupRow, BodyRow, StyledCheckbox, spacing.xs, tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, BodyRow, 2 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, BodyRow, 3 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 4 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 5 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation);
|
|
260
260
|
export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
|
|
261
261
|
displayName: "StyledLoadingContainer",
|
|
262
|
-
componentId: "core-
|
|
262
|
+
componentId: "core-12_38_0__sc-9c7xd-27"
|
|
263
263
|
})(["cursor:default;align-items:center;background:", ";display:flex;height:100%;justify-content:center;opacity:0.9;position:absolute;width:100%;z-index:2;"], colors.gray96);
|
|
264
264
|
//# sourceMappingURL=Table.styles.js.map
|
|
@@ -4,22 +4,22 @@ import { spacing } from '../_styles/spacing';
|
|
|
4
4
|
var tableShelfShadow = '-4px 0px 5px 0px rgba(112, 112, 112, 0.1)';
|
|
5
5
|
export var StyledShelf = /*#__PURE__*/styled.div.withConfig({
|
|
6
6
|
displayName: "StyledShelf",
|
|
7
|
-
componentId: "core-
|
|
7
|
+
componentId: "core-12_38_0__sc-a6498a-0"
|
|
8
8
|
})(["position:absolute;right:0;top:0;bottom:0;box-shadow:", ";background-color:", ";"], tableShelfShadow, colors.white);
|
|
9
9
|
export var StyledHead = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledHead",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_38_0__sc-a6498a-1"
|
|
12
12
|
})(["background-color:", ";transition:background-color 0.2s ease-in-out;"], colors.gray96);
|
|
13
13
|
export var StyledBodyRow = /*#__PURE__*/styled.div.withConfig({
|
|
14
14
|
displayName: "StyledBodyRow",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_38_0__sc-a6498a-2"
|
|
16
16
|
})(["border-top:1px solid ", ";transition:background-color 0.2s ease-in-out;"], colors.gray85);
|
|
17
17
|
export var StyledHeadCell = /*#__PURE__*/styled.div.withConfig({
|
|
18
18
|
displayName: "StyledHeadCell",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_38_0__sc-a6498a-3"
|
|
20
20
|
})(["text-align:left;padding:", "px;line-height:13px;"], spacing.lg);
|
|
21
21
|
export var StyledBodyCell = /*#__PURE__*/styled.div.withConfig({
|
|
22
22
|
displayName: "StyledBodyCell",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_38_0__sc-a6498a-4"
|
|
24
24
|
})(["padding:", "px;line-height:13px;"], spacing.lg);
|
|
25
25
|
//# sourceMappingURL=TableShelf.styles.js.map
|
package/dist/Tabs/Tabs.styles.js
CHANGED
|
@@ -17,17 +17,17 @@ var borderRadius = /*#__PURE__*/css(["border-radius:", "px ", "px 0 0;"], spacin
|
|
|
17
17
|
*/
|
|
18
18
|
var StyledTabBase = /*#__PURE__*/styled.div.withConfig({
|
|
19
19
|
displayName: "StyledTabBase",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_38_0__sc-17s58xs-0"
|
|
21
21
|
})(["align-items:center;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:0 0 auto;justify-content:center;position:relative;white-space:nowrap;text-decoration:none;background-color:transparent;border:none;font-family:inherit;padding:0;"]);
|
|
22
22
|
var StyledTabInnerBase = /*#__PURE__*/styled.div.withConfig({
|
|
23
23
|
displayName: "StyledTabInnerBase",
|
|
24
|
-
componentId: "core-
|
|
24
|
+
componentId: "core-12_38_0__sc-17s58xs-1"
|
|
25
25
|
})(["align-self:baseline;box-sizing:border-box;&,> a{display:flex;text-decoration:none;width:100%;}"]);
|
|
26
26
|
|
|
27
27
|
// This so that it can be visible/hidden via CSS down below
|
|
28
28
|
var StyledDropdownTabBase = /*#__PURE__*/styled(StyledTabBase).withConfig({
|
|
29
29
|
displayName: "StyledDropdownTabBase",
|
|
30
|
-
componentId: "core-
|
|
30
|
+
componentId: "core-12_38_0__sc-17s58xs-2"
|
|
31
31
|
})(["", ""], hiddenTab);
|
|
32
32
|
|
|
33
33
|
//// END BASE LAYOUT COMPONENTS FOR TABS ////
|
|
@@ -50,11 +50,11 @@ function getTabStyle() {
|
|
|
50
50
|
}
|
|
51
51
|
var StyledTab = /*#__PURE__*/styled(StyledTabBase).withConfig({
|
|
52
52
|
displayName: "StyledTab",
|
|
53
|
-
componentId: "core-
|
|
53
|
+
componentId: "core-12_38_0__sc-17s58xs-3"
|
|
54
54
|
})(["", ""], getTabStyle);
|
|
55
55
|
var StyledTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
|
|
56
56
|
displayName: "StyledTabInner",
|
|
57
|
-
componentId: "core-
|
|
57
|
+
componentId: "core-12_38_0__sc-17s58xs-4"
|
|
58
58
|
})(["", " padding:0 ", "px;font-weight:", ";&,> a{", ";color:", ";height:23px;}", ""], getTypographyIntent('body'), spacing.xs, function (_ref3) {
|
|
59
59
|
var $selected = _ref3.$selected;
|
|
60
60
|
return $selected ? 600 : 400;
|
|
@@ -67,15 +67,15 @@ var StyledTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
|
|
|
67
67
|
});
|
|
68
68
|
var StyledDropdownTab = /*#__PURE__*/styled(StyledDropdownTabBase).withConfig({
|
|
69
69
|
displayName: "StyledDropdownTab",
|
|
70
|
-
componentId: "core-
|
|
70
|
+
componentId: "core-12_38_0__sc-17s58xs-5"
|
|
71
71
|
})(["", ""], getTabStyle);
|
|
72
72
|
var StyledDropdownTabInner = /*#__PURE__*/styled(StyledTabInner).withConfig({
|
|
73
73
|
displayName: "StyledDropdownTabInner",
|
|
74
|
-
componentId: "core-
|
|
74
|
+
componentId: "core-12_38_0__sc-17s58xs-6"
|
|
75
75
|
})(["align-items:center;cursor:pointer;display:inline-flex;"]);
|
|
76
76
|
var StyledLink = /*#__PURE__*/styled.span.withConfig({
|
|
77
77
|
displayName: "StyledLink",
|
|
78
|
-
componentId: "core-
|
|
78
|
+
componentId: "core-12_38_0__sc-17s58xs-7"
|
|
79
79
|
})(["align-items:center;display:flex;height:23px;", ";box-sizing:border-box;"], borderRadius);
|
|
80
80
|
|
|
81
81
|
//// END TRADITIONAL DESIGN SYSTEM TAB STYLES ////
|
|
@@ -92,34 +92,34 @@ function getHelixHeaderTabStyles() {
|
|
|
92
92
|
}
|
|
93
93
|
var StyledGlobalNavigationTab = /*#__PURE__*/styled(StyledTabBase).withConfig({
|
|
94
94
|
displayName: "StyledGlobalNavigationTab",
|
|
95
|
-
componentId: "core-
|
|
95
|
+
componentId: "core-12_38_0__sc-17s58xs-8"
|
|
96
96
|
})(["", ""], getHelixHeaderTabStyles);
|
|
97
97
|
var StyledGlobalNavigationDropdownTab = /*#__PURE__*/styled(StyledDropdownTabBase).withConfig({
|
|
98
98
|
displayName: "StyledGlobalNavigationDropdownTab",
|
|
99
|
-
componentId: "core-
|
|
99
|
+
componentId: "core-12_38_0__sc-17s58xs-9"
|
|
100
100
|
})(["", ""], getHelixHeaderTabStyles);
|
|
101
101
|
var StyledGlobalNavigationDropdownTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
|
|
102
102
|
displayName: "StyledGlobalNavigationDropdownTabInner",
|
|
103
|
-
componentId: "core-
|
|
103
|
+
componentId: "core-12_38_0__sc-17s58xs-10"
|
|
104
104
|
})(["align-items:center;cursor:pointer;display:inline-flex;"]);
|
|
105
105
|
var StyledGlobalNavigationLink = /*#__PURE__*/styled.span.withConfig({
|
|
106
106
|
displayName: "StyledGlobalNavigationLink",
|
|
107
|
-
componentId: "core-
|
|
107
|
+
componentId: "core-12_38_0__sc-17s58xs-11"
|
|
108
108
|
})(["padding-left:6px;padding-right:6px;"]);
|
|
109
109
|
|
|
110
110
|
//// END HELIX GLOBAL NAVIGATION TAB STYLES ////
|
|
111
111
|
|
|
112
112
|
export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
|
|
113
113
|
displayName: "StyledOverlay",
|
|
114
|
-
componentId: "core-
|
|
114
|
+
componentId: "core-12_38_0__sc-17s58xs-12"
|
|
115
115
|
})(["max-height:40vh;", "{padding:0;display:flex;justify-content:center;a{margin:unset;padding:unset;}}", "{padding:0;display:flex;}", "{padding:2px 16px 4px 16px;}", ",", "{color:", ";border-radius:0;display:flex;width:100%;background:inherit;font-weight:inherit;font-size:inherit;padding:0;}[data-selected='true']{", ",", "{border-bottom-color:transparent;color:", ";}}"], StyledItem, StyledLink, StyledTabInnerBase, StyledLink, StyledTabBase, colors.gray15, StyledLink, StyledTabBase, colors.blue50);
|
|
116
116
|
export var StyledTabList = /*#__PURE__*/styled.div.withConfig({
|
|
117
117
|
displayName: "StyledTabList",
|
|
118
|
-
componentId: "core-
|
|
118
|
+
componentId: "core-12_38_0__sc-17s58xs-13"
|
|
119
119
|
})(["display:flex;width:100%;"]);
|
|
120
120
|
export var StyledTabs = /*#__PURE__*/styled.nav.withConfig({
|
|
121
121
|
displayName: "StyledTabs",
|
|
122
|
-
componentId: "core-
|
|
122
|
+
componentId: "core-12_38_0__sc-17s58xs-14"
|
|
123
123
|
})(["background-color:", ";display:flex;overflow:hidden;width:100%;", "{&:nth-child(1n + ", "){&:not(", "){", "}}}", ""], function (_ref6) {
|
|
124
124
|
var $dark = _ref6.$dark;
|
|
125
125
|
return $dark && colors.gray15;
|
|
@@ -48,7 +48,7 @@ var getSlideOutAnimation = function getSlideOutAnimation($placement) {
|
|
|
48
48
|
};
|
|
49
49
|
export var StyledTearsheetContent = /*#__PURE__*/styled.div.withConfig({
|
|
50
50
|
displayName: "StyledTearsheetContent",
|
|
51
|
-
componentId: "core-
|
|
51
|
+
componentId: "core-12_38_0__sc-ljrxoq-0"
|
|
52
52
|
})(["display:flex;z-index:2;width:100%;", " ", " ", " ", ""], function (_ref) {
|
|
53
53
|
var $open = _ref.$open,
|
|
54
54
|
$placement = _ref.$placement;
|
|
@@ -68,7 +68,7 @@ export var StyledTearsheetContent = /*#__PURE__*/styled.div.withConfig({
|
|
|
68
68
|
export var minScrimSize = spacing.xxl * 3;
|
|
69
69
|
export var StyledTearsheetBody = /*#__PURE__*/styled.div.withConfig({
|
|
70
70
|
displayName: "StyledTearsheetBody",
|
|
71
|
-
componentId: "core-
|
|
71
|
+
componentId: "core-12_38_0__sc-ljrxoq-1"
|
|
72
72
|
})(["display:flex;overflow-y:auto;flex-direction:column;background-color:", ";&:focus-visible{", "}", " ", "}"], colors.white, getFocusInset(), function (_ref5) {
|
|
73
73
|
var $block = _ref5.$block,
|
|
74
74
|
$placement = _ref5.$placement,
|
|
@@ -89,7 +89,7 @@ var zoomIn = /*#__PURE__*/keyframes(["from{transform:scale(0);}to{transform:scal
|
|
|
89
89
|
var zoomOut = /*#__PURE__*/keyframes(["from{transform:scale(1);}to{transform:scale(0);}"]);
|
|
90
90
|
export var StyledScrimContainer = /*#__PURE__*/styled.div.withConfig({
|
|
91
91
|
displayName: "StyledScrimContainer",
|
|
92
|
-
componentId: "core-
|
|
92
|
+
componentId: "core-12_38_0__sc-ljrxoq-2"
|
|
93
93
|
})(["", ""], function (_ref7) {
|
|
94
94
|
var $placement = _ref7.$placement;
|
|
95
95
|
var minSizeProp = ['top', 'bottom'].includes($placement) ? 'min-height' : 'min-width';
|
|
@@ -97,7 +97,7 @@ export var StyledScrimContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
97
97
|
});
|
|
98
98
|
export var StyledButtonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
99
99
|
displayName: "StyledButtonContainer",
|
|
100
|
-
componentId: "core-
|
|
100
|
+
componentId: "core-12_38_0__sc-ljrxoq-3"
|
|
101
101
|
})(["", ""], function (_ref8) {
|
|
102
102
|
var $placement = _ref8.$placement;
|
|
103
103
|
switch ($placement) {
|
|
@@ -112,7 +112,7 @@ export var StyledButtonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
112
112
|
});
|
|
113
113
|
export var StyledButtonCard = /*#__PURE__*/styled(Card).withConfig({
|
|
114
114
|
displayName: "StyledButtonCard",
|
|
115
|
-
componentId: "core-
|
|
115
|
+
componentId: "core-12_38_0__sc-ljrxoq-4"
|
|
116
116
|
})(["display:inline-flex;margin:", "px;", " ", " ", ""], spacing.xl, function (_ref9) {
|
|
117
117
|
var $open = _ref9.$open;
|
|
118
118
|
return $open ? css(["transform:scale(1);"]) : css(["transform:scale(0);"]);
|
|
@@ -16,6 +16,7 @@ import { Input } from '../../Input';
|
|
|
16
16
|
import { Modal } from '../../Modal';
|
|
17
17
|
import { useLabelledPopup } from '../../OverlayTrigger/a11yPresets';
|
|
18
18
|
import { Page } from '../../PageLayout';
|
|
19
|
+
import { StyledPageHeaderItem } from '../../PageLayout/PageLayout.styles';
|
|
19
20
|
import { Panel } from '../../Panel';
|
|
20
21
|
import { Required } from '../../Required';
|
|
21
22
|
import { H1, Label } from '../../Semantic';
|
|
@@ -89,7 +90,9 @@ export var PageLayoutDemo = /*#__PURE__*/React.forwardRef(function PageLayoutDem
|
|
|
89
90
|
howToClose: ['x']
|
|
90
91
|
}), /*#__PURE__*/React.createElement(Modal.Header, labelProps, shortText), /*#__PURE__*/React.createElement(Modal.Body, {
|
|
91
92
|
tabIndex: 0
|
|
92
|
-
}, longText)), /*#__PURE__*/React.createElement(Page, null, /*#__PURE__*/React.createElement(Page.Main, null, /*#__PURE__*/React.createElement(Page.Header, null, /*#__PURE__*/React.createElement(
|
|
93
|
+
}, longText)), /*#__PURE__*/React.createElement(Page, null, /*#__PURE__*/React.createElement(Page.Main, null, /*#__PURE__*/React.createElement(Page.Header, null, /*#__PURE__*/React.createElement(StyledPageHeaderItem, null, /*#__PURE__*/React.createElement(Breadcrumbs, {
|
|
94
|
+
variant: "list"
|
|
95
|
+
}, /*#__PURE__*/React.createElement(Breadcrumbs.Crumb, {
|
|
93
96
|
active: true
|
|
94
97
|
}, "Tool Name"), /*#__PURE__*/React.createElement(Breadcrumbs.Crumb, null, "Item"))), /*#__PURE__*/React.createElement(Page.Title, null, /*#__PURE__*/React.createElement(H1, {
|
|
95
98
|
id: "page-title"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayoutDemo.js","names":["React","Box","Breadcrumbs","Button","Card","Flex","FlexList","Input","Modal","useLabelledPopup","Page","Panel","Required","H1","Label","SuperSelect","Tabs","Tab","exampleText","longText","longest_ipsum","shortText","short_sentence","panelContent","createElement","direction","alignItems","paddingBottom","style","width","Array","from","length","map","_","i","key","concat","height","marginTop","backgroundColor","border","borderRadius","PanelSample","_ref","onClose","footer","hasFooter","Header","Title","Body","Footer","space","marginLeft","variant","onClick","PageLayoutDemo","forwardRef","props","ref","_props$asideVisible","_React$useState","useState","asideVisible","_React$useState2","_slicedToArray","isAsideVisible","setIsAsideVisible","_React$useState3","_React$useState4","isModalVisible","setIsModalVisible","_useLabelledPopup","isOpen","popupRole","triggerProps","labelProps","popupProps","Fragment","_extends","open","role","howToClose","tabIndex","Main","Crumb","active","id","Link","padding","placeholder","block","multiple","options","value","label","onChange","console","log","marginBottom","htmlFor","display","Aside"],"sources":["../../../src/Tearsheet/storybook/PageLayoutDemo.tsx"],"sourcesContent":["import React from 'react'\n\nimport { Box } from '../../Box'\nimport { Breadcrumbs } from '../../Breadcrumbs'\nimport { Button } from '../../Button'\nimport { Card } from '../../Card'\nimport { Flex } from '../../Flex'\nimport { FlexList } from '../../FlexList'\nimport { Input } from '../../Input'\nimport { Modal } from '../../Modal'\nimport { useLabelledPopup } from '../../OverlayTrigger/a11yPresets'\nimport { Page } from '../../PageLayout'\nimport { Panel } from '../../Panel'\nimport { Required } from '../../Required'\nimport { H1, Label } from '../../Semantic'\nimport { SuperSelect } from '../../SuperSelect/SuperSelect'\nimport { Tabs } from '../../Tabs'\nimport { Tab } from '../../Tabs/Tabs'\nimport { exampleText } from '../../_storyHelpers_/constants'\n\nconst longText = exampleText.longest_ipsum\nconst shortText = exampleText.short_sentence\n\nconst panelContent = (\n <Flex\n direction=\"column\"\n alignItems=\"center\"\n paddingBottom=\"lg\"\n style={{ width: '100%' }}\n >\n {Array.from({ length: 10 }).map((_, i) => (\n <div\n key={`${i}-content-item`}\n style={{\n width: '80%',\n height: '100px',\n marginTop: '16px',\n backgroundColor: 'white',\n border: '1px solid lightgray',\n borderRadius: '8px',\n }}\n />\n ))}\n </Flex>\n)\n\nfunction PanelSample({\n onClose,\n hasFooter: footer,\n}: {\n onClose: () => void\n hasFooter?: boolean\n}) {\n return (\n <Panel>\n <Panel.Header onClose={onClose}>\n <Panel.Title>Sample heading</Panel.Title>\n </Panel.Header>\n <Panel.Body>{panelContent}</Panel.Body>\n {footer && (\n <Panel.Footer>\n <Button>Action 3</Button>\n <FlexList space=\"sm\" marginLeft=\"auto\">\n <Button variant=\"primary\">Action 4</Button>\n <Button onClick={onClose} variant=\"secondary\">\n Close\n </Button>\n </FlexList>\n </Panel.Footer>\n )}\n </Panel>\n )\n}\n\nexport const PageLayoutDemo = React.forwardRef<\n HTMLInputElement,\n { asideVisible?: boolean }\n>(function PageLayoutDemo(props, ref) {\n const [isAsideVisible, setIsAsideVisible] = React.useState(\n props.asideVisible ?? false\n )\n const [isModalVisible, setIsModalVisible] = React.useState(false)\n\n const { triggerProps, labelProps, popupProps } = useLabelledPopup({\n isOpen: isModalVisible,\n popupRole: 'dialog',\n })\n\n return (\n <>\n <Modal\n open={isModalVisible}\n onClose={() => setIsModalVisible(false)}\n {...popupProps}\n role=\"dialog\"\n howToClose={['x']}\n >\n <Modal.Header {...labelProps}>{shortText}</Modal.Header>\n <Modal.Body tabIndex={0}>{longText}</Modal.Body>\n </Modal>\n <Page>\n <Page.Main>\n <Page.Header>\n <Page.Breadcrumbs>\n <Breadcrumbs>\n <Breadcrumbs.Crumb active>Tool Name</Breadcrumbs.Crumb>\n <Breadcrumbs.Crumb>Item</Breadcrumbs.Crumb>\n </Breadcrumbs>\n </Page.Breadcrumbs>\n <Page.Title>\n <H1 id=\"page-title\">Page Title</H1>\n </Page.Title>\n <Page.Tabs>\n <Tabs>\n <Tab active>\n <Tabs.Link>Active</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Second</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Third</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Fourth</Tabs.Link>\n </Tab>\n </Tabs>\n </Page.Tabs>\n </Page.Header>\n <Page.Body>\n <Card>\n <Box padding=\"md\">\n <SuperSelect\n placeholder=\"Select\"\n block\n multiple\n options={[\n { value: '1', label: 'some label one' },\n { value: '2', label: 'two 2' },\n { value: '3', label: 'three three three' },\n ]}\n onChange={console.log}\n />\n </Box>\n\n <Box padding=\"md\">\n <Label block style={{ marginBottom: '4px' }} htmlFor=\"example\">\n Label Text\n <Required />\n </Label>\n\n <Input id=\"example\" placeholder=\"Hello\" ref={ref} />\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n </Page.Body>\n <Page.Footer>\n <Box padding=\"16px\" display=\"flex\">\n <Button\n {...triggerProps}\n variant=\"secondary\"\n onClick={() => setIsModalVisible(true)}\n >\n Open Modal\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() => setIsAsideVisible(true)}\n style={{ marginLeft: 'auto' }}\n >\n Open Panel\n </Button>\n </Box>\n </Page.Footer>\n </Page.Main>\n <Page.Aside open={isAsideVisible}>\n <PanelSample hasFooter onClose={() => setIsAsideVisible(false)} />\n </Page.Aside>\n </Page>\n </>\n )\n})\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,GAAG,QAAQ,WAAW;AAC/B,SAASC,WAAW,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,cAAc;AACrC,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,KAAK,QAAQ,aAAa;AACnC,SAASC,KAAK,QAAQ,aAAa;AACnC,SAASC,gBAAgB,QAAQ,kCAAkC;AACnE,SAASC,IAAI,QAAQ,kBAAkB;AACvC,SAASC,KAAK,QAAQ,aAAa;AACnC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,EAAE,EAAEC,KAAK,QAAQ,gBAAgB;AAC1C,SAASC,WAAW,QAAQ,+BAA+B;AAC3D,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,GAAG,QAAQ,iBAAiB;AACrC,SAASC,WAAW,QAAQ,gCAAgC;AAE5D,IAAMC,QAAQ,GAAGD,WAAW,CAACE,aAAa;AAC1C,IAAMC,SAAS,GAAGH,WAAW,CAACI,cAAc;AAE5C,IAAMC,YAAY,gBAChBvB,KAAA,CAAAwB,aAAA,CAACnB,IAAI;EACHoB,SAAS,EAAC,QAAQ;EAClBC,UAAU,EAAC,QAAQ;EACnBC,aAAa,EAAC,IAAI;EAClBC,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAO;AAAE,GAExBC,KAAK,CAACC,IAAI,CAAC;EAAEC,MAAM,EAAE;AAAG,CAAC,CAAC,CAACC,GAAG,CAAC,UAACC,CAAC,EAAEC,CA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AA,CAACvB,GAAG;IAACwF,OAAO,EAAC,IAAI;IAAClD,SAAS,EAAC;EAAI,GAC7BpB,QACE,CACD,CAAC,eACPnB,KAAA,CAAAwB,aAAA,CAACpB,IAAI,qBACHJ,KAAA,CAAAwB,aAAA,CAACvB,GAAG;IAACwF,OAAO,EAAC,IAAI;IAAClD,SAAS,EAAC;EAAI,GAC7BpB,QACE,CACD,CACG,CAAC,eACZnB,KAAA,CAAAwB,aAAA,CAACd,IAAI,CAACyC,MAAM,qBACVnD,KAAA,CAAAwB,aAAA,CAACvB,GAAG;IAACwF,OAAO,EAAC,MAAM;IAACY,OAAO,EAAC;EAAM,gBAChCrG,KAAA,CAAAwB,aAAA,CAACrB,MAAM,EAAA4E,QAAA,KACDJ,YAAY;IAChBrB,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQgB,iBAAiB,CAAC,IAAI,CAAC;IAAA;EAAC,IACxC,YAEO,CAAC,eACTvE,KAAA,CAAAwB,aAAA,CAACrB,MAAM;IACLmD,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQY,iBAAiB,CAAC,IAAI,CAAC;IAAA,CAAC;IACvCvC,KAAK,EAAE;MAAEyB,UAAU,EAAE;IAAO;EAAE,GAC/B,YAEO,CACL,CACM,CACJ,CAAC,eACZrD,KAAA,CAAAwB,aAAA,CAACd,IAAI,CAAC4F,KAAK;IAACtB,IAAI,EAAEd;EAAe,gBAC/BlE,KAAA,CAAAwB,aAAA,CAACmB,WAAW;IAACI,SAAS;IAACF,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQsB,iBAAiB,CAAC,KAAK,CAAC;IAAA;EAAC,CAAE,CACvD,CACR,CACN,CAAC;AAEP,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"PageLayoutDemo.js","names":["React","Box","Breadcrumbs","Button","Card","Flex","FlexList","Input","Modal","useLabelledPopup","Page","StyledPageHeaderItem","Panel","Required","H1","Label","SuperSelect","Tabs","Tab","exampleText","longText","longest_ipsum","shortText","short_sentence","panelContent","createElement","direction","alignItems","paddingBottom","style","width","Array","from","length","map","_","i","key","concat","height","marginTop","backgroundColor","border","borderRadius","PanelSample","_ref","onClose","footer","hasFooter","Header","Title","Body","Footer","space","marginLeft","variant","onClick","PageLayoutDemo","forwardRef","props","ref","_props$asideVisible","_React$useState","useState","asideVisible","_React$useState2","_slicedToArray","isAsideVisible","setIsAsideVisible","_React$useState3","_React$useState4","isModalVisible","setIsModalVisible","_useLabelledPopup","isOpen","popupRole","triggerProps","labelProps","popupProps","Fragment","_extends","open","role","howToClose","tabIndex","Main","Crumb","active","id","Link","padding","placeholder","block","multiple","options","value","label","onChange","console","log","marginBottom","htmlFor","display","Aside"],"sources":["../../../src/Tearsheet/storybook/PageLayoutDemo.tsx"],"sourcesContent":["import React from 'react'\n\nimport { Box } from '../../Box'\nimport { Breadcrumbs } from '../../Breadcrumbs'\nimport { Button } from '../../Button'\nimport { Card } from '../../Card'\nimport { Flex } from '../../Flex'\nimport { FlexList } from '../../FlexList'\nimport { Input } from '../../Input'\nimport { Modal } from '../../Modal'\nimport { useLabelledPopup } from '../../OverlayTrigger/a11yPresets'\nimport { Page } from '../../PageLayout'\nimport { StyledPageHeaderItem } from '../../PageLayout/PageLayout.styles'\nimport { Panel } from '../../Panel'\nimport { Required } from '../../Required'\nimport { H1, Label } from '../../Semantic'\nimport { SuperSelect } from '../../SuperSelect/SuperSelect'\nimport { Tabs } from '../../Tabs'\nimport { Tab } from '../../Tabs/Tabs'\nimport { exampleText } from '../../_storyHelpers_/constants'\n\nconst longText = exampleText.longest_ipsum\nconst shortText = exampleText.short_sentence\n\nconst panelContent = (\n <Flex\n direction=\"column\"\n alignItems=\"center\"\n paddingBottom=\"lg\"\n style={{ width: '100%' }}\n >\n {Array.from({ length: 10 }).map((_, i) => (\n <div\n key={`${i}-content-item`}\n style={{\n width: '80%',\n height: '100px',\n marginTop: '16px',\n backgroundColor: 'white',\n border: '1px solid lightgray',\n borderRadius: '8px',\n }}\n />\n ))}\n </Flex>\n)\n\nfunction PanelSample({\n onClose,\n hasFooter: footer,\n}: {\n onClose: () => void\n hasFooter?: boolean\n}) {\n return (\n <Panel>\n <Panel.Header onClose={onClose}>\n <Panel.Title>Sample heading</Panel.Title>\n </Panel.Header>\n <Panel.Body>{panelContent}</Panel.Body>\n {footer && (\n <Panel.Footer>\n <Button>Action 3</Button>\n <FlexList space=\"sm\" marginLeft=\"auto\">\n <Button variant=\"primary\">Action 4</Button>\n <Button onClick={onClose} variant=\"secondary\">\n Close\n </Button>\n </FlexList>\n </Panel.Footer>\n )}\n </Panel>\n )\n}\n\nexport const PageLayoutDemo = React.forwardRef<\n HTMLInputElement,\n { asideVisible?: boolean }\n>(function PageLayoutDemo(props, ref) {\n const [isAsideVisible, setIsAsideVisible] = React.useState(\n props.asideVisible ?? false\n )\n const [isModalVisible, setIsModalVisible] = React.useState(false)\n\n const { triggerProps, labelProps, popupProps } = useLabelledPopup({\n isOpen: isModalVisible,\n popupRole: 'dialog',\n })\n\n return (\n <>\n <Modal\n open={isModalVisible}\n onClose={() => setIsModalVisible(false)}\n {...popupProps}\n role=\"dialog\"\n howToClose={['x']}\n >\n <Modal.Header {...labelProps}>{shortText}</Modal.Header>\n <Modal.Body tabIndex={0}>{longText}</Modal.Body>\n </Modal>\n <Page>\n <Page.Main>\n <Page.Header>\n <StyledPageHeaderItem>\n <Breadcrumbs variant=\"list\">\n <Breadcrumbs.Crumb active>Tool Name</Breadcrumbs.Crumb>\n <Breadcrumbs.Crumb>Item</Breadcrumbs.Crumb>\n </Breadcrumbs>\n </StyledPageHeaderItem>\n <Page.Title>\n <H1 id=\"page-title\">Page Title</H1>\n </Page.Title>\n <Page.Tabs>\n <Tabs>\n <Tab active>\n <Tabs.Link>Active</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Second</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Third</Tabs.Link>\n </Tab>\n <Tab>\n <Tabs.Link>Fourth</Tabs.Link>\n </Tab>\n </Tabs>\n </Page.Tabs>\n </Page.Header>\n <Page.Body>\n <Card>\n <Box padding=\"md\">\n <SuperSelect\n placeholder=\"Select\"\n block\n multiple\n options={[\n { value: '1', label: 'some label one' },\n { value: '2', label: 'two 2' },\n { value: '3', label: 'three three three' },\n ]}\n onChange={console.log}\n />\n </Box>\n\n <Box padding=\"md\">\n <Label block style={{ marginBottom: '4px' }} htmlFor=\"example\">\n Label Text\n <Required />\n </Label>\n\n <Input id=\"example\" placeholder=\"Hello\" ref={ref} />\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n <Card>\n <Box padding=\"md\" marginTop=\"sm\">\n {longText}\n </Box>\n </Card>\n </Page.Body>\n <Page.Footer>\n <Box padding=\"16px\" display=\"flex\">\n <Button\n {...triggerProps}\n variant=\"secondary\"\n onClick={() => setIsModalVisible(true)}\n >\n Open Modal\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() => setIsAsideVisible(true)}\n style={{ marginLeft: 'auto' }}\n >\n Open Panel\n </Button>\n </Box>\n </Page.Footer>\n </Page.Main>\n <Page.Aside open={isAsideVisible}>\n <PanelSample hasFooter onClose={() => setIsAsideVisible(false)} />\n </Page.Aside>\n </Page>\n </>\n )\n})\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,GAAG,QAAQ,WAAW;AAC/B,SAASC,WAAW,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,cAAc;AACrC,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,IAAI,QAAQ,YAAY;AACjC,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,KA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CAAAyB,aAAA,CAACtB,MAAM,EAAA6E,QAAA,KACDJ,YAAY;IAChBrB,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQgB,iBAAiB,CAAC,IAAI,CAAC;IAAA;EAAC,IACxC,YAEO,CAAC,eACTxE,KAAA,CAAAyB,aAAA,CAACtB,MAAM;IACLoD,OAAO,EAAC,WAAW;IACnBC,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQY,iBAAiB,CAAC,IAAI,CAAC;IAAA,CAAC;IACvCvC,KAAK,EAAE;MAAEyB,UAAU,EAAE;IAAO;EAAE,GAC/B,YAEO,CACL,CACM,CACJ,CAAC,eACZtD,KAAA,CAAAyB,aAAA,CAACf,IAAI,CAAC6F,KAAK;IAACtB,IAAI,EAAEd;EAAe,gBAC/BnE,KAAA,CAAAyB,aAAA,CAACmB,WAAW;IAACI,SAAS;IAACF,OAAO,EAAE,SAATA,OAAOA,CAAA;MAAA,OAAQsB,iBAAiB,CAAC,KAAK,CAAC;IAAA;EAAC,CAAE,CACvD,CACR,CACN,CAAC;AAEP,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { getInputStyles } from '../Input/Input.styles';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledTextArea = /*#__PURE__*/styled.textarea.withConfig({
|
|
5
5
|
displayName: "StyledTextArea",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-12_38_0__sc-u5mow1-0"
|
|
7
7
|
})(["", ";height:auto;min-height:64px;padding:", "px ", "px;resize:", ";"], getInputStyles, spacing.sm, spacing.md, function (_ref) {
|
|
8
8
|
var _ref$$resize = _ref.$resize,
|
|
9
9
|
$resize = _ref$$resize === void 0 ? 'both' : _ref$$resize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export var StyledEditor = /*#__PURE__*/styled.div.withConfig({
|
|
3
3
|
displayName: "StyledEditor",
|
|
4
|
-
componentId: "core-
|
|
4
|
+
componentId: "core-12_38_0__sc-1lje1b0-0"
|
|
5
5
|
})(["> .tox-tinymce{border:none;}"]);
|
|
6
6
|
//# sourceMappingURL=TextEditorOutput.styles.js.map
|