@usefragments/ui 1.0.2 → 1.2.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/README.md +16 -16
- package/dist/assets/fragments-wordmark.cjs +30 -0
- package/dist/assets/fragments-wordmark.d.ts +13 -0
- package/dist/assets/fragments-wordmark.d.ts.map +1 -0
- package/dist/assets/fragments-wordmark.js +30 -0
- package/dist/assets/ui.css +3234 -3116
- package/dist/components/Accordion/Accordion.module.scss.cjs +8 -8
- package/dist/components/Accordion/Accordion.module.scss.js +8 -8
- package/dist/components/Accordion/index.cjs +22 -10
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +22 -10
- package/dist/components/Alert/Alert.module.scss.cjs +13 -13
- package/dist/components/Alert/Alert.module.scss.js +13 -13
- package/dist/components/AppShell/AppShell.module.scss.cjs +22 -10
- package/dist/components/AppShell/AppShell.module.scss.js +22 -10
- package/dist/components/AppShell/index.cjs +1 -1
- package/dist/components/AppShell/index.js +1 -1
- package/dist/components/Avatar/Avatar.module.scss.cjs +13 -13
- package/dist/components/Avatar/Avatar.module.scss.js +13 -13
- package/dist/components/Badge/Badge.module.scss.cjs +16 -16
- package/dist/components/Badge/Badge.module.scss.js +16 -16
- package/dist/components/BentoGrid/BentoGrid.module.scss.cjs +14 -14
- package/dist/components/BentoGrid/BentoGrid.module.scss.js +14 -14
- package/dist/components/Box/Box.module.scss.cjs +152 -152
- package/dist/components/Box/Box.module.scss.js +152 -152
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs +8 -8
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.js +8 -8
- package/dist/components/Button/Button.module.scss.cjs +13 -13
- package/dist/components/Button/Button.module.scss.js +13 -13
- package/dist/components/Card/Card.module.scss.cjs +17 -17
- package/dist/components/Card/Card.module.scss.js +17 -17
- package/dist/components/Card/index.d.ts +3 -3
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Chart/Chart.module.scss.cjs +15 -15
- package/dist/components/Chart/Chart.module.scss.js +15 -15
- package/dist/components/Checkbox/Checkbox.module.scss.cjs +11 -11
- package/dist/components/Checkbox/Checkbox.module.scss.js +11 -11
- package/dist/components/Chip/Chip.module.scss.cjs +15 -15
- package/dist/components/Chip/Chip.module.scss.js +15 -15
- package/dist/components/CodeBlock/CodeBlock.module.scss.cjs +21 -21
- package/dist/components/CodeBlock/CodeBlock.module.scss.js +21 -21
- package/dist/components/Collapsible/Collapsible.module.scss.cjs +10 -10
- package/dist/components/Collapsible/Collapsible.module.scss.js +10 -10
- package/dist/components/ColorPicker/ColorPicker.module.scss.cjs +14 -14
- package/dist/components/ColorPicker/ColorPicker.module.scss.js +14 -14
- package/dist/components/Combobox/Combobox.module.scss.cjs +23 -23
- package/dist/components/Combobox/Combobox.module.scss.js +23 -23
- package/dist/components/Combobox/index.cjs +106 -9
- package/dist/components/Combobox/index.d.ts.map +1 -1
- package/dist/components/Combobox/index.js +106 -9
- package/dist/components/Command/Command.module.scss.cjs +11 -11
- package/dist/components/Command/Command.module.scss.js +11 -11
- package/dist/components/ConversationList/ConversationList.module.scss.cjs +10 -10
- package/dist/components/ConversationList/ConversationList.module.scss.js +10 -10
- package/dist/components/DataTable/DataTable.module.scss.cjs +37 -34
- package/dist/components/DataTable/DataTable.module.scss.js +37 -34
- package/dist/components/DataTable/index.d.ts +3 -1
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs +33 -33
- package/dist/components/DatePicker/DatePicker.module.scss.js +33 -33
- package/dist/components/DatePicker/index.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.module.scss.cjs +14 -14
- package/dist/components/Dialog/Dialog.module.scss.js +14 -14
- package/dist/components/Drawer/Drawer.module.scss.cjs +28 -28
- package/dist/components/Drawer/Drawer.module.scss.js +28 -28
- package/dist/components/Drawer/index.cjs +20 -3
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +20 -3
- package/dist/components/Editor/Editor.module.scss.cjs +17 -17
- package/dist/components/Editor/Editor.module.scss.js +17 -17
- package/dist/components/EmptyState/EmptyState.module.scss.cjs +8 -8
- package/dist/components/EmptyState/EmptyState.module.scss.js +8 -8
- package/dist/components/Field/Field.module.scss.cjs +4 -4
- package/dist/components/Field/Field.module.scss.js +4 -4
- package/dist/components/Field/index.cjs +10 -9
- package/dist/components/Field/index.d.ts +7 -7
- package/dist/components/Field/index.d.ts.map +1 -1
- package/dist/components/Field/index.js +10 -9
- package/dist/components/Fieldset/Fieldset.module.scss.cjs +3 -3
- package/dist/components/Fieldset/Fieldset.module.scss.js +3 -3
- package/dist/components/Header/Header.module.scss.cjs +44 -29
- package/dist/components/Header/Header.module.scss.js +44 -29
- package/dist/components/Header/index.cjs +56 -3
- package/dist/components/Header/index.d.ts +25 -3
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +56 -3
- package/dist/components/Icon/Icon.module.scss.cjs +8 -8
- package/dist/components/Icon/Icon.module.scss.js +8 -8
- package/dist/components/IconButton/IconButton.module.scss.cjs +8 -8
- package/dist/components/IconButton/IconButton.module.scss.js +8 -8
- package/dist/components/Image/Image.module.scss.cjs +27 -27
- package/dist/components/Image/Image.module.scss.js +27 -27
- package/dist/components/Input/Input.module.scss.cjs +19 -19
- package/dist/components/Input/Input.module.scss.js +19 -19
- package/dist/components/Link/Link.module.scss.cjs +10 -10
- package/dist/components/Link/Link.module.scss.js +10 -10
- package/dist/components/List/List.module.scss.cjs +19 -19
- package/dist/components/List/List.module.scss.js +19 -19
- package/dist/components/Listbox/Listbox.module.scss.cjs +8 -8
- package/dist/components/Listbox/Listbox.module.scss.js +8 -8
- package/dist/components/Loading/Loading.module.scss.cjs +30 -30
- package/dist/components/Loading/Loading.module.scss.js +30 -30
- package/dist/components/Main/Main.module.scss.cjs +26 -0
- package/dist/components/Main/Main.module.scss.js +26 -0
- package/dist/components/Main/index.cjs +128 -0
- package/dist/components/Main/index.d.ts +22 -0
- package/dist/components/Main/index.d.ts.map +1 -0
- package/dist/components/Main/index.js +111 -0
- package/dist/components/Markdown/Markdown.module.scss.cjs +1 -1
- package/dist/components/Markdown/Markdown.module.scss.js +1 -1
- package/dist/components/Menu/Menu.module.scss.cjs +14 -14
- package/dist/components/Menu/Menu.module.scss.js +14 -14
- package/dist/components/Message/Message.module.scss.cjs +18 -18
- package/dist/components/Message/Message.module.scss.js +18 -18
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.cjs +28 -28
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.js +28 -28
- package/dist/components/Pagination/Pagination.module.scss.cjs +7 -7
- package/dist/components/Pagination/Pagination.module.scss.js +7 -7
- package/dist/components/Popover/Popover.module.scss.cjs +10 -10
- package/dist/components/Popover/Popover.module.scss.js +10 -10
- package/dist/components/Popover/index.cjs +27 -2
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +27 -2
- package/dist/components/Progress/Progress.module.scss.cjs +25 -25
- package/dist/components/Progress/Progress.module.scss.js +25 -25
- package/dist/components/Prompt/Prompt.module.scss.cjs +18 -18
- package/dist/components/Prompt/Prompt.module.scss.js +18 -18
- package/dist/components/RadioGroup/RadioGroup.module.scss.cjs +17 -17
- package/dist/components/RadioGroup/RadioGroup.module.scss.js +17 -17
- package/dist/components/RadioGroup/index.cjs +2 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +2 -0
- package/dist/components/ScrollArea/ScrollArea.module.scss.cjs +10 -10
- package/dist/components/ScrollArea/ScrollArea.module.scss.js +10 -10
- package/dist/components/Select/Select.module.scss.cjs +17 -17
- package/dist/components/Select/Select.module.scss.js +17 -17
- package/dist/components/Separator/Separator.module.scss.cjs +10 -10
- package/dist/components/Separator/Separator.module.scss.js +10 -10
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +42 -42
- package/dist/components/Sidebar/Sidebar.module.scss.js +42 -42
- package/dist/components/Skeleton/Skeleton.module.scss.cjs +38 -38
- package/dist/components/Skeleton/Skeleton.module.scss.js +38 -38
- package/dist/components/Slider/Slider.module.scss.cjs +12 -12
- package/dist/components/Slider/Slider.module.scss.js +12 -12
- package/dist/components/Table/Table.module.scss.cjs +19 -19
- package/dist/components/Table/Table.module.scss.js +19 -19
- package/dist/components/TableOfContents/TableOfContents.module.scss.cjs +15 -15
- package/dist/components/TableOfContents/TableOfContents.module.scss.js +15 -15
- package/dist/components/TableOfContents/index.cjs +22 -42
- package/dist/components/TableOfContents/index.d.ts +3 -3
- package/dist/components/TableOfContents/index.d.ts.map +1 -1
- package/dist/components/TableOfContents/index.js +22 -42
- package/dist/components/Tabs/Tabs.module.scss.cjs +12 -12
- package/dist/components/Tabs/Tabs.module.scss.js +12 -12
- package/dist/components/Text/Text.module.scss.cjs +51 -51
- package/dist/components/Text/Text.module.scss.js +51 -51
- package/dist/components/Textarea/Textarea.module.scss.cjs +23 -23
- package/dist/components/Textarea/Textarea.module.scss.js +23 -23
- package/dist/components/Theme/ThemeToggle.module.scss.cjs +6 -6
- package/dist/components/Theme/ThemeToggle.module.scss.js +6 -6
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.cjs +13 -13
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.js +13 -13
- package/dist/components/Toast/Toast.module.scss.cjs +21 -21
- package/dist/components/Toast/Toast.module.scss.js +21 -21
- package/dist/components/Toggle/Toggle.module.scss.cjs +13 -13
- package/dist/components/Toggle/Toggle.module.scss.js +13 -13
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.cjs +17 -17
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.js +17 -17
- package/dist/components/Tooltip/Tooltip.module.scss.cjs +3 -3
- package/dist/components/Tooltip/Tooltip.module.scss.js +3 -3
- package/dist/data-table.cjs +58 -41
- package/dist/data-table.js +59 -41
- package/dist/datepicker.cjs +32 -72
- package/dist/datepicker.js +32 -72
- package/dist/index.cjs +89 -85
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/fragments.json +1 -1
- package/package.json +9 -8
- package/src/assets/fragments-wordmark.tsx +47 -0
- package/src/components/Accordion/index.tsx +13 -3
- package/src/components/Alert/Alert.module.scss +15 -2
- package/src/components/AppShell/AppShell.module.scss +73 -15
- package/src/components/AppShell/index.tsx +1 -1
- package/src/components/Button/Button.module.scss +19 -20
- package/src/components/Card/Card.module.scss +3 -3
- package/src/components/Card/index.tsx +3 -3
- package/src/components/Checkbox/Checkbox.contract.json +5 -24
- package/src/components/Checkbox/Checkbox.module.scss +4 -2
- package/src/components/Chip/Chip.contract.json +11 -28
- package/src/components/Chip/Chip.module.scss +21 -45
- package/src/components/CodeBlock/CodeBlock.module.scss +2 -7
- package/src/components/Combobox/Combobox.contract.json +6 -24
- package/src/components/Combobox/Combobox.module.scss +3 -2
- package/src/components/Combobox/index.tsx +132 -6
- package/src/components/DataTable/DataTable.contract.json +16 -23
- package/src/components/DataTable/DataTable.module.scss +31 -8
- package/src/components/DataTable/index.tsx +25 -4
- package/src/components/DatePicker/index.tsx +32 -84
- package/src/components/Drawer/index.tsx +38 -12
- package/src/components/Field/index.tsx +35 -35
- package/src/components/Header/Header.contract.json +41 -1
- package/src/components/Header/Header.module.scss +40 -0
- package/src/components/Header/index.tsx +88 -2
- package/src/components/IconButton/IconButton.contract.json +120 -0
- package/src/components/Listbox/Listbox.module.scss +5 -4
- package/src/components/Main/Main.contract.json +79 -0
- package/src/components/Main/Main.module.scss +31 -0
- package/src/components/Main/index.tsx +124 -0
- package/src/components/Menu/Menu.module.scss +8 -10
- package/src/components/Popover/index.tsx +34 -2
- package/src/components/RadioGroup/RadioGroup.contract.json +13 -27
- package/src/components/RadioGroup/index.tsx +4 -0
- package/src/components/Select/Select.module.scss +13 -12
- package/src/components/Table/Table.module.scss +22 -5
- package/src/components/TableOfContents/TableOfContents.contract.json +6 -16
- package/src/components/TableOfContents/TableOfContents.module.scss +20 -14
- package/src/components/TableOfContents/index.tsx +27 -38
- package/src/components/Toast/Toast.module.scss +15 -2
- package/src/components/ToggleGroup/ToggleGroup.module.scss +4 -1
- package/src/index.ts +4 -0
- package/src/styles/globals.scss +13 -10
- package/src/tokens/_component-properties.scss +26 -0
- package/src/tokens/_computed.scss +22 -4
- package/src/tokens/_derive.scss +55 -6
- package/src/tokens/_palettes.scss +24 -0
- package/src/tokens/_seeds.scss +20 -12
- package/src/tokens/_variables.scss +110 -63
- package/dist/components/Cloud/DashboardLayoutPrototypes.shared.d.ts +0 -33
- package/dist/components/Cloud/DashboardLayoutPrototypes.shared.d.ts.map +0 -1
- package/dist/components/Cloud/DashboardLayoutPrototypes.shell.d.ts +0 -11
- package/dist/components/Cloud/DashboardLayoutPrototypes.shell.d.ts.map +0 -1
- package/dist/components/Cloud/PullRequestsPrototypes.content.d.ts +0 -5
- package/dist/components/Cloud/PullRequestsPrototypes.content.d.ts.map +0 -1
- package/dist/components/Cloud/PullRequestsPrototypes.detail-panels.d.ts +0 -4
- package/dist/components/Cloud/PullRequestsPrototypes.detail-panels.d.ts.map +0 -1
- package/dist/components/Cloud/PullRequestsPrototypes.detail.d.ts +0 -3
- package/dist/components/Cloud/PullRequestsPrototypes.detail.d.ts.map +0 -1
- package/dist/components/Cloud/PullRequestsPrototypes.id-data.d.ts +0 -86
- package/dist/components/Cloud/PullRequestsPrototypes.id-data.d.ts.map +0 -1
- package/dist/components/Cloud/PullRequestsPrototypes.id-page.d.ts +0 -2
- package/dist/components/Cloud/PullRequestsPrototypes.id-page.d.ts.map +0 -1
- package/src/components/Accordion/Accordion.stories.tsx +0 -106
- package/src/components/Alert/Alert.stories.tsx +0 -119
- package/src/components/AppShell/AppShell.stories.tsx +0 -156
- package/src/components/Avatar/Avatar.stories.tsx +0 -74
- package/src/components/Badge/Badge.stories.tsx +0 -92
- package/src/components/BentoGrid/BentoGrid.stories.tsx +0 -98
- package/src/components/Box/Box.stories.tsx +0 -150
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -87
- package/src/components/Button/Button.stories.tsx +0 -103
- package/src/components/ButtonGroup/ButtonGroup.stories.tsx +0 -97
- package/src/components/Card/Card.stories.tsx +0 -144
- package/src/components/Chart/Chart.stories.tsx +0 -119
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -68
- package/src/components/Chip/Chip.stories.tsx +0 -70
- package/src/components/Cloud/CloudGovernanceShell.module.scss +0 -88
- package/src/components/Cloud/CloudGovernanceShell.stories.tsx +0 -446
- package/src/components/Cloud/ControlSizing.module.scss +0 -49
- package/src/components/Cloud/ControlSizing.stories.tsx +0 -238
- package/src/components/Cloud/DashboardLayoutPrototypes.module.scss +0 -462
- package/src/components/Cloud/DashboardLayoutPrototypes.shared.tsx +0 -375
- package/src/components/Cloud/DashboardLayoutPrototypes.shell.tsx +0 -147
- package/src/components/Cloud/DashboardLayoutPrototypes.stories.tsx +0 -328
- package/src/components/Cloud/PullRequestsPrototypes.content.tsx +0 -283
- package/src/components/Cloud/PullRequestsPrototypes.detail-panels.tsx +0 -381
- package/src/components/Cloud/PullRequestsPrototypes.detail.tsx +0 -204
- package/src/components/Cloud/PullRequestsPrototypes.id-data.ts +0 -395
- package/src/components/Cloud/PullRequestsPrototypes.id-page.tsx +0 -349
- package/src/components/Cloud/PullRequestsPrototypes.stories.tsx +0 -81
- package/src/components/CodeBlock/CodeBlock.stories.tsx +0 -147
- package/src/components/Collapsible/Collapsible.stories.tsx +0 -94
- package/src/components/ColorPicker/ColorPicker.stories.tsx +0 -74
- package/src/components/Combobox/Combobox.stories.tsx +0 -133
- package/src/components/Command/Command.stories.tsx +0 -102
- package/src/components/ConversationList/ConversationList.stories.tsx +0 -93
- package/src/components/DataTable/DataTable.stories.tsx +0 -129
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -129
- package/src/components/Dialog/Dialog.stories.tsx +0 -154
- package/src/components/Drawer/Drawer.stories.tsx +0 -144
- package/src/components/Editor/Editor.stories.tsx +0 -99
- package/src/components/EmptyState/EmptyState.stories.tsx +0 -97
- package/src/components/Field/Field.stories.tsx +0 -109
- package/src/components/Fieldset/Fieldset.stories.tsx +0 -116
- package/src/components/Form/Form.stories.tsx +0 -142
- package/src/components/Grid/Grid.stories.tsx +0 -125
- package/src/components/Header/Header.stories.tsx +0 -133
- package/src/components/Icon/Icon.stories.tsx +0 -80
- package/src/components/IconButton/IconButton.stories.tsx +0 -78
- package/src/components/Image/Image.stories.tsx +0 -109
- package/src/components/Input/Input.stories.tsx +0 -104
- package/src/components/Link/Link.stories.tsx +0 -67
- package/src/components/List/List.stories.tsx +0 -95
- package/src/components/Listbox/Listbox.stories.tsx +0 -81
- package/src/components/Loading/Loading.stories.tsx +0 -69
- package/src/components/Markdown/Markdown.stories.tsx +0 -75
- package/src/components/Menu/Menu.stories.tsx +0 -113
- package/src/components/Message/Message.stories.tsx +0 -85
- package/src/components/NavigationMenu/NavigationMenu.stories.tsx +0 -161
- package/src/components/Pagination/Pagination.stories.tsx +0 -81
- package/src/components/Popover/Popover.stories.tsx +0 -152
- package/src/components/Progress/Progress.stories.tsx +0 -64
- package/src/components/Prompt/Prompt.stories.tsx +0 -93
- package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -107
- package/src/components/ScrollArea/ScrollArea.stories.tsx +0 -97
- package/src/components/Select/Select.stories.tsx +0 -127
- package/src/components/Separator/Separator.stories.tsx +0 -84
- package/src/components/Sidebar/Sidebar.stories.tsx +0 -122
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -80
- package/src/components/Slider/Slider.stories.tsx +0 -73
- package/src/components/Stack/Stack.stories.tsx +0 -73
- package/src/components/Switch/Switch.stories.tsx +0 -59
- package/src/components/Table/Table.stories.tsx +0 -219
- package/src/components/TableOfContents/TableOfContents.stories.tsx +0 -120
- package/src/components/Tabs/Tabs.stories.tsx +0 -136
- package/src/components/Text/Text.stories.tsx +0 -133
- package/src/components/Textarea/Textarea.stories.tsx +0 -107
- package/src/components/Theme/Theme.stories.tsx +0 -95
- package/src/components/ThinkingIndicator/ThinkingIndicator.stories.tsx +0 -85
- package/src/components/Toast/Toast.stories.tsx +0 -91
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +0 -114
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -95
- package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +0 -78
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const link = "
|
|
4
|
-
const subtle = "
|
|
5
|
-
const muted = "
|
|
6
|
-
const underlineAlways = "_underline-
|
|
7
|
-
const underlineHover = "_underline-
|
|
8
|
-
const underlineNone = "_underline-
|
|
3
|
+
const link = "_link_awvuv_1";
|
|
4
|
+
const subtle = "_subtle_awvuv_34";
|
|
5
|
+
const muted = "_muted_awvuv_41";
|
|
6
|
+
const underlineAlways = "_underline-always_awvuv_48";
|
|
7
|
+
const underlineHover = "_underline-hover_awvuv_53";
|
|
8
|
+
const underlineNone = "_underline-none_awvuv_61";
|
|
9
9
|
const styles = {
|
|
10
10
|
link,
|
|
11
|
-
"default": "
|
|
11
|
+
"default": "_default_awvuv_27",
|
|
12
12
|
subtle,
|
|
13
13
|
muted,
|
|
14
|
-
"underline-always": "_underline-
|
|
14
|
+
"underline-always": "_underline-always_awvuv_48",
|
|
15
15
|
underlineAlways,
|
|
16
|
-
"underline-hover": "_underline-
|
|
16
|
+
"underline-hover": "_underline-hover_awvuv_53",
|
|
17
17
|
underlineHover,
|
|
18
|
-
"underline-none": "_underline-
|
|
18
|
+
"underline-none": "_underline-none_awvuv_61",
|
|
19
19
|
underlineNone
|
|
20
20
|
};
|
|
21
21
|
exports.default = styles;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const link = "
|
|
2
|
-
const subtle = "
|
|
3
|
-
const muted = "
|
|
4
|
-
const underlineAlways = "_underline-
|
|
5
|
-
const underlineHover = "_underline-
|
|
6
|
-
const underlineNone = "_underline-
|
|
1
|
+
const link = "_link_awvuv_1";
|
|
2
|
+
const subtle = "_subtle_awvuv_34";
|
|
3
|
+
const muted = "_muted_awvuv_41";
|
|
4
|
+
const underlineAlways = "_underline-always_awvuv_48";
|
|
5
|
+
const underlineHover = "_underline-hover_awvuv_53";
|
|
6
|
+
const underlineNone = "_underline-none_awvuv_61";
|
|
7
7
|
const styles = {
|
|
8
8
|
link,
|
|
9
|
-
"default": "
|
|
9
|
+
"default": "_default_awvuv_27",
|
|
10
10
|
subtle,
|
|
11
11
|
muted,
|
|
12
|
-
"underline-always": "_underline-
|
|
12
|
+
"underline-always": "_underline-always_awvuv_48",
|
|
13
13
|
underlineAlways,
|
|
14
|
-
"underline-hover": "_underline-
|
|
14
|
+
"underline-hover": "_underline-hover_awvuv_53",
|
|
15
15
|
underlineHover,
|
|
16
|
-
"underline-none": "_underline-
|
|
16
|
+
"underline-none": "_underline-none_awvuv_61",
|
|
17
17
|
underlineNone
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const list = "
|
|
4
|
-
const none = "
|
|
5
|
-
const disc = "
|
|
6
|
-
const decimal = "
|
|
7
|
-
const icon = "
|
|
8
|
-
const gapNone = "_gap-
|
|
9
|
-
const gapXs = "_gap-
|
|
10
|
-
const gapSm = "_gap-
|
|
11
|
-
const gapMd = "_gap-
|
|
12
|
-
const gapLg = "_gap-
|
|
13
|
-
const item = "
|
|
14
|
-
const iconItem = "
|
|
15
|
-
const iconWrapper = "
|
|
16
|
-
const itemContent = "
|
|
3
|
+
const list = "_list_13ive_1";
|
|
4
|
+
const none = "_none_13ive_8";
|
|
5
|
+
const disc = "_disc_13ive_12";
|
|
6
|
+
const decimal = "_decimal_13ive_17";
|
|
7
|
+
const icon = "_icon_13ive_22";
|
|
8
|
+
const gapNone = "_gap-none_13ive_26";
|
|
9
|
+
const gapXs = "_gap-xs_13ive_30";
|
|
10
|
+
const gapSm = "_gap-sm_13ive_34";
|
|
11
|
+
const gapMd = "_gap-md_13ive_38";
|
|
12
|
+
const gapLg = "_gap-lg_13ive_42";
|
|
13
|
+
const item = "_item_13ive_46";
|
|
14
|
+
const iconItem = "_iconItem_13ive_50";
|
|
15
|
+
const iconWrapper = "_iconWrapper_13ive_56";
|
|
16
|
+
const itemContent = "_itemContent_13ive_64";
|
|
17
17
|
const styles = {
|
|
18
18
|
list,
|
|
19
19
|
none,
|
|
20
20
|
disc,
|
|
21
21
|
decimal,
|
|
22
22
|
icon,
|
|
23
|
-
"gap-none": "_gap-
|
|
23
|
+
"gap-none": "_gap-none_13ive_26",
|
|
24
24
|
gapNone,
|
|
25
|
-
"gap-xs": "_gap-
|
|
25
|
+
"gap-xs": "_gap-xs_13ive_30",
|
|
26
26
|
gapXs,
|
|
27
|
-
"gap-sm": "_gap-
|
|
27
|
+
"gap-sm": "_gap-sm_13ive_34",
|
|
28
28
|
gapSm,
|
|
29
|
-
"gap-md": "_gap-
|
|
29
|
+
"gap-md": "_gap-md_13ive_38",
|
|
30
30
|
gapMd,
|
|
31
|
-
"gap-lg": "_gap-
|
|
31
|
+
"gap-lg": "_gap-lg_13ive_42",
|
|
32
32
|
gapLg,
|
|
33
33
|
item,
|
|
34
34
|
iconItem,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
const list = "
|
|
2
|
-
const none = "
|
|
3
|
-
const disc = "
|
|
4
|
-
const decimal = "
|
|
5
|
-
const icon = "
|
|
6
|
-
const gapNone = "_gap-
|
|
7
|
-
const gapXs = "_gap-
|
|
8
|
-
const gapSm = "_gap-
|
|
9
|
-
const gapMd = "_gap-
|
|
10
|
-
const gapLg = "_gap-
|
|
11
|
-
const item = "
|
|
12
|
-
const iconItem = "
|
|
13
|
-
const iconWrapper = "
|
|
14
|
-
const itemContent = "
|
|
1
|
+
const list = "_list_13ive_1";
|
|
2
|
+
const none = "_none_13ive_8";
|
|
3
|
+
const disc = "_disc_13ive_12";
|
|
4
|
+
const decimal = "_decimal_13ive_17";
|
|
5
|
+
const icon = "_icon_13ive_22";
|
|
6
|
+
const gapNone = "_gap-none_13ive_26";
|
|
7
|
+
const gapXs = "_gap-xs_13ive_30";
|
|
8
|
+
const gapSm = "_gap-sm_13ive_34";
|
|
9
|
+
const gapMd = "_gap-md_13ive_38";
|
|
10
|
+
const gapLg = "_gap-lg_13ive_42";
|
|
11
|
+
const item = "_item_13ive_46";
|
|
12
|
+
const iconItem = "_iconItem_13ive_50";
|
|
13
|
+
const iconWrapper = "_iconWrapper_13ive_56";
|
|
14
|
+
const itemContent = "_itemContent_13ive_64";
|
|
15
15
|
const styles = {
|
|
16
16
|
list,
|
|
17
17
|
none,
|
|
18
18
|
disc,
|
|
19
19
|
decimal,
|
|
20
20
|
icon,
|
|
21
|
-
"gap-none": "_gap-
|
|
21
|
+
"gap-none": "_gap-none_13ive_26",
|
|
22
22
|
gapNone,
|
|
23
|
-
"gap-xs": "_gap-
|
|
23
|
+
"gap-xs": "_gap-xs_13ive_30",
|
|
24
24
|
gapXs,
|
|
25
|
-
"gap-sm": "_gap-
|
|
25
|
+
"gap-sm": "_gap-sm_13ive_34",
|
|
26
26
|
gapSm,
|
|
27
|
-
"gap-md": "_gap-
|
|
27
|
+
"gap-md": "_gap-md_13ive_38",
|
|
28
28
|
gapMd,
|
|
29
|
-
"gap-lg": "_gap-
|
|
29
|
+
"gap-lg": "_gap-lg_13ive_42",
|
|
30
30
|
gapLg,
|
|
31
31
|
item,
|
|
32
32
|
iconItem,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const listbox = "
|
|
4
|
-
const item = "
|
|
5
|
-
const itemSelected = "
|
|
6
|
-
const itemActive = "
|
|
7
|
-
const itemDisabled = "
|
|
8
|
-
const group = "
|
|
9
|
-
const groupLabel = "
|
|
10
|
-
const empty = "
|
|
3
|
+
const listbox = "_listbox_m7g6f_1";
|
|
4
|
+
const item = "_item_m7g6f_25";
|
|
5
|
+
const itemSelected = "_itemSelected_m7g6f_65";
|
|
6
|
+
const itemActive = "_itemActive_m7g6f_71";
|
|
7
|
+
const itemDisabled = "_itemDisabled_m7g6f_82";
|
|
8
|
+
const group = "_group_m7g6f_88";
|
|
9
|
+
const groupLabel = "_groupLabel_m7g6f_94";
|
|
10
|
+
const empty = "_empty_m7g6f_103";
|
|
11
11
|
const styles = {
|
|
12
12
|
listbox,
|
|
13
13
|
item,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const listbox = "
|
|
2
|
-
const item = "
|
|
3
|
-
const itemSelected = "
|
|
4
|
-
const itemActive = "
|
|
5
|
-
const itemDisabled = "
|
|
6
|
-
const group = "
|
|
7
|
-
const groupLabel = "
|
|
8
|
-
const empty = "
|
|
1
|
+
const listbox = "_listbox_m7g6f_1";
|
|
2
|
+
const item = "_item_m7g6f_25";
|
|
3
|
+
const itemSelected = "_itemSelected_m7g6f_65";
|
|
4
|
+
const itemActive = "_itemActive_m7g6f_71";
|
|
5
|
+
const itemDisabled = "_itemDisabled_m7g6f_82";
|
|
6
|
+
const group = "_group_m7g6f_88";
|
|
7
|
+
const groupLabel = "_groupLabel_m7g6f_94";
|
|
8
|
+
const empty = "_empty_m7g6f_103";
|
|
9
9
|
const styles = {
|
|
10
10
|
listbox,
|
|
11
11
|
item,
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const loading = "
|
|
4
|
-
const sm = "
|
|
5
|
-
const md = "
|
|
6
|
-
const lg = "
|
|
7
|
-
const xl = "
|
|
8
|
-
const colorAccent = "_color-
|
|
9
|
-
const colorCurrent = "_color-
|
|
10
|
-
const colorMuted = "_color-
|
|
11
|
-
const centered = "
|
|
12
|
-
const fill = "
|
|
13
|
-
const spinnerIcon = "
|
|
14
|
-
const spin = "
|
|
15
|
-
const dots = "
|
|
16
|
-
const dot = "
|
|
17
|
-
const bounce = "
|
|
18
|
-
const pulse = "
|
|
19
|
-
const pulseRing = "
|
|
20
|
-
const pulseDot = "
|
|
21
|
-
const overlayBackdrop = "
|
|
22
|
-
const inline = "
|
|
23
|
-
const inlineSm = "_inline-
|
|
24
|
-
const inlineMd = "_inline-
|
|
25
|
-
const inlineSpinner = "
|
|
26
|
-
const screen = "
|
|
27
|
-
const screenLabel = "
|
|
3
|
+
const loading = "_loading_1janb_1";
|
|
4
|
+
const sm = "_sm_1janb_8";
|
|
5
|
+
const md = "_md_1janb_12";
|
|
6
|
+
const lg = "_lg_1janb_16";
|
|
7
|
+
const xl = "_xl_1janb_20";
|
|
8
|
+
const colorAccent = "_color-accent_1janb_24";
|
|
9
|
+
const colorCurrent = "_color-current_1janb_28";
|
|
10
|
+
const colorMuted = "_color-muted_1janb_32";
|
|
11
|
+
const centered = "_centered_1janb_36";
|
|
12
|
+
const fill = "_fill_1janb_42";
|
|
13
|
+
const spinnerIcon = "_spinnerIcon_1janb_50";
|
|
14
|
+
const spin = "_spin_1janb_50";
|
|
15
|
+
const dots = "_dots_1janb_70";
|
|
16
|
+
const dot = "_dot_1janb_70";
|
|
17
|
+
const bounce = "_bounce_1janb_1";
|
|
18
|
+
const pulse = "_pulse_1janb_109";
|
|
19
|
+
const pulseRing = "_pulseRing_1janb_118";
|
|
20
|
+
const pulseDot = "_pulseDot_1janb_134";
|
|
21
|
+
const overlayBackdrop = "_overlayBackdrop_1janb_152";
|
|
22
|
+
const inline = "_inline_1janb_162";
|
|
23
|
+
const inlineSm = "_inline-sm_1janb_168";
|
|
24
|
+
const inlineMd = "_inline-md_1janb_172";
|
|
25
|
+
const inlineSpinner = "_inlineSpinner_1janb_176";
|
|
26
|
+
const screen = "_screen_1janb_189";
|
|
27
|
+
const screenLabel = "_screenLabel_1janb_201";
|
|
28
28
|
const styles = {
|
|
29
29
|
loading,
|
|
30
30
|
sm,
|
|
31
31
|
md,
|
|
32
32
|
lg,
|
|
33
33
|
xl,
|
|
34
|
-
"color-accent": "_color-
|
|
34
|
+
"color-accent": "_color-accent_1janb_24",
|
|
35
35
|
colorAccent,
|
|
36
|
-
"color-current": "_color-
|
|
36
|
+
"color-current": "_color-current_1janb_28",
|
|
37
37
|
colorCurrent,
|
|
38
|
-
"color-muted": "_color-
|
|
38
|
+
"color-muted": "_color-muted_1janb_32",
|
|
39
39
|
colorMuted,
|
|
40
40
|
centered,
|
|
41
41
|
fill,
|
|
@@ -49,9 +49,9 @@ const styles = {
|
|
|
49
49
|
pulseDot,
|
|
50
50
|
overlayBackdrop,
|
|
51
51
|
inline,
|
|
52
|
-
"inline-sm": "_inline-
|
|
52
|
+
"inline-sm": "_inline-sm_1janb_168",
|
|
53
53
|
inlineSm,
|
|
54
|
-
"inline-md": "_inline-
|
|
54
|
+
"inline-md": "_inline-md_1janb_172",
|
|
55
55
|
inlineMd,
|
|
56
56
|
inlineSpinner,
|
|
57
57
|
screen,
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
const loading = "
|
|
2
|
-
const sm = "
|
|
3
|
-
const md = "
|
|
4
|
-
const lg = "
|
|
5
|
-
const xl = "
|
|
6
|
-
const colorAccent = "_color-
|
|
7
|
-
const colorCurrent = "_color-
|
|
8
|
-
const colorMuted = "_color-
|
|
9
|
-
const centered = "
|
|
10
|
-
const fill = "
|
|
11
|
-
const spinnerIcon = "
|
|
12
|
-
const spin = "
|
|
13
|
-
const dots = "
|
|
14
|
-
const dot = "
|
|
15
|
-
const bounce = "
|
|
16
|
-
const pulse = "
|
|
17
|
-
const pulseRing = "
|
|
18
|
-
const pulseDot = "
|
|
19
|
-
const overlayBackdrop = "
|
|
20
|
-
const inline = "
|
|
21
|
-
const inlineSm = "_inline-
|
|
22
|
-
const inlineMd = "_inline-
|
|
23
|
-
const inlineSpinner = "
|
|
24
|
-
const screen = "
|
|
25
|
-
const screenLabel = "
|
|
1
|
+
const loading = "_loading_1janb_1";
|
|
2
|
+
const sm = "_sm_1janb_8";
|
|
3
|
+
const md = "_md_1janb_12";
|
|
4
|
+
const lg = "_lg_1janb_16";
|
|
5
|
+
const xl = "_xl_1janb_20";
|
|
6
|
+
const colorAccent = "_color-accent_1janb_24";
|
|
7
|
+
const colorCurrent = "_color-current_1janb_28";
|
|
8
|
+
const colorMuted = "_color-muted_1janb_32";
|
|
9
|
+
const centered = "_centered_1janb_36";
|
|
10
|
+
const fill = "_fill_1janb_42";
|
|
11
|
+
const spinnerIcon = "_spinnerIcon_1janb_50";
|
|
12
|
+
const spin = "_spin_1janb_50";
|
|
13
|
+
const dots = "_dots_1janb_70";
|
|
14
|
+
const dot = "_dot_1janb_70";
|
|
15
|
+
const bounce = "_bounce_1janb_1";
|
|
16
|
+
const pulse = "_pulse_1janb_109";
|
|
17
|
+
const pulseRing = "_pulseRing_1janb_118";
|
|
18
|
+
const pulseDot = "_pulseDot_1janb_134";
|
|
19
|
+
const overlayBackdrop = "_overlayBackdrop_1janb_152";
|
|
20
|
+
const inline = "_inline_1janb_162";
|
|
21
|
+
const inlineSm = "_inline-sm_1janb_168";
|
|
22
|
+
const inlineMd = "_inline-md_1janb_172";
|
|
23
|
+
const inlineSpinner = "_inlineSpinner_1janb_176";
|
|
24
|
+
const screen = "_screen_1janb_189";
|
|
25
|
+
const screenLabel = "_screenLabel_1janb_201";
|
|
26
26
|
const styles = {
|
|
27
27
|
loading,
|
|
28
28
|
sm,
|
|
29
29
|
md,
|
|
30
30
|
lg,
|
|
31
31
|
xl,
|
|
32
|
-
"color-accent": "_color-
|
|
32
|
+
"color-accent": "_color-accent_1janb_24",
|
|
33
33
|
colorAccent,
|
|
34
|
-
"color-current": "_color-
|
|
34
|
+
"color-current": "_color-current_1janb_28",
|
|
35
35
|
colorCurrent,
|
|
36
|
-
"color-muted": "_color-
|
|
36
|
+
"color-muted": "_color-muted_1janb_32",
|
|
37
37
|
colorMuted,
|
|
38
38
|
centered,
|
|
39
39
|
fill,
|
|
@@ -47,9 +47,9 @@ const styles = {
|
|
|
47
47
|
pulseDot,
|
|
48
48
|
overlayBackdrop,
|
|
49
49
|
inline,
|
|
50
|
-
"inline-sm": "_inline-
|
|
50
|
+
"inline-sm": "_inline-sm_1janb_168",
|
|
51
51
|
inlineSm,
|
|
52
|
-
"inline-md": "_inline-
|
|
52
|
+
"inline-md": "_inline-md_1janb_172",
|
|
53
53
|
inlineMd,
|
|
54
54
|
inlineSpinner,
|
|
55
55
|
screen,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "_root_1wv9j_1";
|
|
4
|
+
const full = "_full_1wv9j_10";
|
|
5
|
+
const narrow = "_narrow_1wv9j_14";
|
|
6
|
+
const header = "_header_1wv9j_18";
|
|
7
|
+
const description = "_description_1wv9j_19";
|
|
8
|
+
const content = "_content_1wv9j_20";
|
|
9
|
+
const footer = "_footer_1wv9j_21";
|
|
10
|
+
const styles = {
|
|
11
|
+
root,
|
|
12
|
+
full,
|
|
13
|
+
narrow,
|
|
14
|
+
header,
|
|
15
|
+
description,
|
|
16
|
+
content,
|
|
17
|
+
footer
|
|
18
|
+
};
|
|
19
|
+
exports.content = content;
|
|
20
|
+
exports.default = styles;
|
|
21
|
+
exports.description = description;
|
|
22
|
+
exports.footer = footer;
|
|
23
|
+
exports.full = full;
|
|
24
|
+
exports.header = header;
|
|
25
|
+
exports.narrow = narrow;
|
|
26
|
+
exports.root = root;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const root = "_root_1wv9j_1";
|
|
2
|
+
const full = "_full_1wv9j_10";
|
|
3
|
+
const narrow = "_narrow_1wv9j_14";
|
|
4
|
+
const header = "_header_1wv9j_18";
|
|
5
|
+
const description = "_description_1wv9j_19";
|
|
6
|
+
const content = "_content_1wv9j_20";
|
|
7
|
+
const footer = "_footer_1wv9j_21";
|
|
8
|
+
const styles = {
|
|
9
|
+
root,
|
|
10
|
+
full,
|
|
11
|
+
narrow,
|
|
12
|
+
header,
|
|
13
|
+
description,
|
|
14
|
+
content,
|
|
15
|
+
footer
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
content,
|
|
19
|
+
styles as default,
|
|
20
|
+
description,
|
|
21
|
+
footer,
|
|
22
|
+
full,
|
|
23
|
+
header,
|
|
24
|
+
narrow,
|
|
25
|
+
root
|
|
26
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const index = require("../Stack/index.cjs");
|
|
6
|
+
const Main_module = require("./Main.module.scss.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
24
|
+
function joinClasses(...classes) {
|
|
25
|
+
return classes.filter(Boolean).join(" ");
|
|
26
|
+
}
|
|
27
|
+
const MainRoot = React__namespace.forwardRef(function MainRoot2({ as = "main", children, className, measure = "full", ...htmlProps }, ref) {
|
|
28
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29
|
+
index.Stack,
|
|
30
|
+
{
|
|
31
|
+
...htmlProps,
|
|
32
|
+
ref,
|
|
33
|
+
as,
|
|
34
|
+
direction: "column",
|
|
35
|
+
gap: "lg",
|
|
36
|
+
className: joinClasses(
|
|
37
|
+
Main_module.default.root,
|
|
38
|
+
measure === "narrow" ? Main_module.default.narrow : Main_module.default.full,
|
|
39
|
+
className
|
|
40
|
+
),
|
|
41
|
+
"data-main-measure": measure,
|
|
42
|
+
children
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
});
|
|
46
|
+
function MainHeader({
|
|
47
|
+
as = "header",
|
|
48
|
+
direction = "column",
|
|
49
|
+
gap = "sm",
|
|
50
|
+
className,
|
|
51
|
+
...props
|
|
52
|
+
}) {
|
|
53
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54
|
+
index.Stack,
|
|
55
|
+
{
|
|
56
|
+
...props,
|
|
57
|
+
as,
|
|
58
|
+
direction,
|
|
59
|
+
gap,
|
|
60
|
+
className: joinClasses(Main_module.default.header, className)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
function MainDescription({
|
|
65
|
+
as = "div",
|
|
66
|
+
direction = "column",
|
|
67
|
+
gap = "xs",
|
|
68
|
+
className,
|
|
69
|
+
...props
|
|
70
|
+
}) {
|
|
71
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
72
|
+
index.Stack,
|
|
73
|
+
{
|
|
74
|
+
...props,
|
|
75
|
+
as,
|
|
76
|
+
direction,
|
|
77
|
+
gap,
|
|
78
|
+
className: joinClasses(Main_module.default.description, className)
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
function MainContent({
|
|
83
|
+
as = "div",
|
|
84
|
+
direction = "column",
|
|
85
|
+
gap = "lg",
|
|
86
|
+
className,
|
|
87
|
+
...props
|
|
88
|
+
}) {
|
|
89
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
90
|
+
index.Stack,
|
|
91
|
+
{
|
|
92
|
+
...props,
|
|
93
|
+
as,
|
|
94
|
+
direction,
|
|
95
|
+
gap,
|
|
96
|
+
className: joinClasses(Main_module.default.content, className)
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function MainFooter({
|
|
101
|
+
as = "footer",
|
|
102
|
+
direction = "row",
|
|
103
|
+
gap = "sm",
|
|
104
|
+
justify = "end",
|
|
105
|
+
wrap = true,
|
|
106
|
+
className,
|
|
107
|
+
...props
|
|
108
|
+
}) {
|
|
109
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
110
|
+
index.Stack,
|
|
111
|
+
{
|
|
112
|
+
...props,
|
|
113
|
+
as,
|
|
114
|
+
direction,
|
|
115
|
+
gap,
|
|
116
|
+
justify,
|
|
117
|
+
wrap,
|
|
118
|
+
className: joinClasses(Main_module.default.footer, className)
|
|
119
|
+
}
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
const Main = Object.assign(MainRoot, {
|
|
123
|
+
Header: MainHeader,
|
|
124
|
+
Description: MainDescription,
|
|
125
|
+
Content: MainContent,
|
|
126
|
+
Footer: MainFooter
|
|
127
|
+
});
|
|
128
|
+
exports.Main = Main;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type StackProps } from "../Stack";
|
|
3
|
+
export type MainMeasure = "full" | "narrow";
|
|
4
|
+
export interface MainProps extends Omit<StackProps, "as" | "children" | "direction" | "gap"> {
|
|
5
|
+
as?: StackProps["as"];
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/** Maximum readable width for the page content. */
|
|
8
|
+
measure?: MainMeasure;
|
|
9
|
+
}
|
|
10
|
+
export type MainRegionProps = StackProps;
|
|
11
|
+
declare function MainHeader({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function MainDescription({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function MainContent({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function MainFooter({ as, direction, gap, justify, wrap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Main: React.ForwardRefExoticComponent<MainProps & React.RefAttributes<HTMLElement>> & {
|
|
16
|
+
Header: typeof MainHeader;
|
|
17
|
+
Description: typeof MainDescription;
|
|
18
|
+
Content: typeof MainContent;
|
|
19
|
+
Footer: typeof MainFooter;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Main/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE5C,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAAC;IAC1F,EAAE,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AA6BzC,iBAAS,UAAU,CAAC,EAClB,EAAa,EACb,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,eAAe,CAAC,EACvB,EAAU,EACV,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,WAAW,CAAC,EACnB,EAAU,EACV,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,UAAU,CAAC,EAClB,EAAa,EACb,SAAiB,EACjB,GAAU,EACV,OAAe,EACf,IAAW,EACX,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAYjB;AAED,eAAO,MAAM,IAAI;;;;;CAKf,CAAC"}
|