@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,4 +1,4 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
export interface TableOfContentsProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
/** Label for the nav landmark (default: "Table of contents") */
|
|
@@ -8,7 +8,7 @@ export interface TableOfContentsProps extends React.HTMLAttributes<HTMLElement>
|
|
|
8
8
|
/** Hide the title */
|
|
9
9
|
hideTitle?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface TableOfContentsItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
11
|
+
export interface TableOfContentsItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children"> {
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
/** The heading ID to link to */
|
|
14
14
|
id: string;
|
|
@@ -42,7 +42,7 @@ export interface TableOfContentsGroupProps {
|
|
|
42
42
|
/** Highlight the group label in accent — typically when a child is active. */
|
|
43
43
|
active?: boolean;
|
|
44
44
|
}
|
|
45
|
-
declare function TableOfContentsRoot({ children, label, title, hideTitle, className,
|
|
45
|
+
declare function TableOfContentsRoot({ children, label, title, hideTitle, className, "aria-label": ariaLabel, ...htmlProps }: TableOfContentsProps): import("react/jsx-runtime").JSX.Element;
|
|
46
46
|
declare function TableOfContentsItem({ children, id, active, indent, leading, trailing, className, onClick, href: _href, ...htmlProps }: TableOfContentsItemProps): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
declare function TableOfContentsGroup({ children, label, leading, trailing, defaultOpen, open: controlledOpen, onOpenChange, collapsible, disabled, active, }: TableOfContentsGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export declare const TableOfContents: typeof TableOfContentsRoot & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC7E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAyB,SAAQ,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC7E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CACpD,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,UAAU,CACX;IACC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gFAAgF;IAChF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6CAA6C;IAC7C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,6CAA6C;IAC7C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAmCD,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,KAA2B,EAC3B,KAAsB,EACtB,SAAiB,EACjB,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,SAAS,EACb,EAAE,oBAAoB,2CAetB;AAED,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,EAAE,EACF,MAAc,EACd,MAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,EACP,IAAI,EAAE,KAAK,EACX,GAAG,SAAS,EACb,EAAE,wBAAwB,2CAiC1B;AAuBD,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,EACR,WAAkB,EAClB,IAAI,EAAE,cAAc,EACpB,YAAY,EACZ,WAAkB,EAClB,QAAgB,EAChB,MAAc,GACf,EAAE,yBAAyB,2CA+C3B;AAMD,eAAO,MAAM,eAAe;;;CAG1B,CAAC;AAGH,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -46,11 +46,7 @@ function TableOfContentsItem({
|
|
|
46
46
|
}) {
|
|
47
47
|
const { depth } = React.useContext(TocContext);
|
|
48
48
|
const effectiveDepth = depth > 0 ? depth : indent ? 1 : 0;
|
|
49
|
-
const linkClasses = [
|
|
50
|
-
styles.link,
|
|
51
|
-
active && styles.active,
|
|
52
|
-
className
|
|
53
|
-
].filter(Boolean).join(" ");
|
|
49
|
+
const linkClasses = [styles.link, active && styles.active, className].filter(Boolean).join(" ");
|
|
54
50
|
const handleClick = (e) => {
|
|
55
51
|
onClick == null ? void 0 : onClick(e);
|
|
56
52
|
if (e.defaultPrevented) return;
|
|
@@ -61,29 +57,21 @@ function TableOfContentsItem({
|
|
|
61
57
|
window.history.replaceState(null, "", `#${id}`);
|
|
62
58
|
}
|
|
63
59
|
};
|
|
64
|
-
return /* @__PURE__ */ jsx(
|
|
65
|
-
"
|
|
60
|
+
return /* @__PURE__ */ jsx("li", { className: styles.item, "data-depth": effectiveDepth, "data-active": active || void 0, children: /* @__PURE__ */ jsxs(
|
|
61
|
+
"a",
|
|
66
62
|
{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"aria-current": active ? "location" : void 0,
|
|
78
|
-
children: [
|
|
79
|
-
leading != null && /* @__PURE__ */ jsx("span", { className: styles.leading, children: leading }),
|
|
80
|
-
/* @__PURE__ */ jsx("span", { className: styles.linkLabel, children }),
|
|
81
|
-
trailing != null && /* @__PURE__ */ jsx("span", { className: styles.trailing, children: trailing })
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
)
|
|
63
|
+
...htmlProps,
|
|
64
|
+
href: `#${id}`,
|
|
65
|
+
className: linkClasses,
|
|
66
|
+
onClick: handleClick,
|
|
67
|
+
"aria-current": active ? "location" : void 0,
|
|
68
|
+
children: [
|
|
69
|
+
leading != null && /* @__PURE__ */ jsx("span", { className: styles.leading, children: leading }),
|
|
70
|
+
/* @__PURE__ */ jsx("span", { className: styles.linkLabel, children }),
|
|
71
|
+
trailing != null && /* @__PURE__ */ jsx("span", { className: styles.trailing, children: trailing })
|
|
72
|
+
]
|
|
85
73
|
}
|
|
86
|
-
);
|
|
74
|
+
) });
|
|
87
75
|
}
|
|
88
76
|
function useControlledOpen(controlled, defaultValue, onChange) {
|
|
89
77
|
const [internal, setInternal] = React.useState(defaultValue);
|
|
@@ -126,24 +114,16 @@ function TableOfContentsGroup({
|
|
|
126
114
|
trailing != null && /* @__PURE__ */ jsx("span", { className: styles.trailing, children: trailing })
|
|
127
115
|
] });
|
|
128
116
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
129
|
-
/* @__PURE__ */ jsx(
|
|
130
|
-
"
|
|
117
|
+
/* @__PURE__ */ jsx("li", { className: styles.groupHeaderRow, "data-depth": depth, "data-active": active || void 0, children: isToggleable ? /* @__PURE__ */ jsx(
|
|
118
|
+
"button",
|
|
131
119
|
{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
{
|
|
138
|
-
type: "button",
|
|
139
|
-
className: headerClasses,
|
|
140
|
-
onClick: () => setOpen(!open),
|
|
141
|
-
"aria-expanded": isOpen,
|
|
142
|
-
children: headerContent
|
|
143
|
-
}
|
|
144
|
-
) : /* @__PURE__ */ jsx("div", { className: headerClasses, children: headerContent })
|
|
120
|
+
type: "button",
|
|
121
|
+
className: headerClasses,
|
|
122
|
+
onClick: () => setOpen(!open),
|
|
123
|
+
"aria-expanded": isOpen,
|
|
124
|
+
children: headerContent
|
|
145
125
|
}
|
|
146
|
-
),
|
|
126
|
+
) : /* @__PURE__ */ jsx("div", { className: headerClasses, children: headerContent }) }),
|
|
147
127
|
isOpen && /* @__PURE__ */ jsx(TocContext.Provider, { value: { depth: depth + 1 }, children })
|
|
148
128
|
] });
|
|
149
129
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "
|
|
4
|
-
const list = "
|
|
5
|
-
const listPills = "
|
|
6
|
-
const tab = "
|
|
7
|
-
const tabSm = "
|
|
8
|
-
const tabMd = "
|
|
9
|
-
const tabLg = "
|
|
10
|
-
const tabUnderline = "
|
|
11
|
-
const tabPills = "
|
|
12
|
-
const indicator = "
|
|
13
|
-
const panel = "
|
|
14
|
-
const panelFlush = "
|
|
3
|
+
const root = "_root_hmb9h_1";
|
|
4
|
+
const list = "_list_hmb9h_10";
|
|
5
|
+
const listPills = "_listPills_hmb9h_26";
|
|
6
|
+
const tab = "_tab_hmb9h_37";
|
|
7
|
+
const tabSm = "_tabSm_hmb9h_84";
|
|
8
|
+
const tabMd = "_tabMd_hmb9h_89";
|
|
9
|
+
const tabLg = "_tabLg_hmb9h_94";
|
|
10
|
+
const tabUnderline = "_tabUnderline_hmb9h_100";
|
|
11
|
+
const tabPills = "_tabPills_hmb9h_108";
|
|
12
|
+
const indicator = "_indicator_hmb9h_122";
|
|
13
|
+
const panel = "_panel_hmb9h_143";
|
|
14
|
+
const panelFlush = "_panelFlush_hmb9h_156";
|
|
15
15
|
const styles = {
|
|
16
16
|
root,
|
|
17
17
|
list,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const root = "
|
|
2
|
-
const list = "
|
|
3
|
-
const listPills = "
|
|
4
|
-
const tab = "
|
|
5
|
-
const tabSm = "
|
|
6
|
-
const tabMd = "
|
|
7
|
-
const tabLg = "
|
|
8
|
-
const tabUnderline = "
|
|
9
|
-
const tabPills = "
|
|
10
|
-
const indicator = "
|
|
11
|
-
const panel = "
|
|
12
|
-
const panelFlush = "
|
|
1
|
+
const root = "_root_hmb9h_1";
|
|
2
|
+
const list = "_list_hmb9h_10";
|
|
3
|
+
const listPills = "_listPills_hmb9h_26";
|
|
4
|
+
const tab = "_tab_hmb9h_37";
|
|
5
|
+
const tabSm = "_tabSm_hmb9h_84";
|
|
6
|
+
const tabMd = "_tabMd_hmb9h_89";
|
|
7
|
+
const tabLg = "_tabLg_hmb9h_94";
|
|
8
|
+
const tabUnderline = "_tabUnderline_hmb9h_100";
|
|
9
|
+
const tabPills = "_tabPills_hmb9h_108";
|
|
10
|
+
const indicator = "_indicator_hmb9h_122";
|
|
11
|
+
const panel = "_panel_hmb9h_143";
|
|
12
|
+
const panelFlush = "_panelFlush_hmb9h_156";
|
|
13
13
|
const styles = {
|
|
14
14
|
root,
|
|
15
15
|
list,
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const text = "
|
|
4
|
-
const variantSectionLabel = "_variant-section-
|
|
5
|
-
const size2Xs = "_size-
|
|
6
|
-
const sizeXs = "_size-
|
|
7
|
-
const sizeSm = "_size-
|
|
8
|
-
const sizeBase = "_size-
|
|
9
|
-
const sizeMd = "_size-
|
|
10
|
-
const sizeLg = "_size-
|
|
11
|
-
const sizeXl = "_size-
|
|
12
|
-
const size2Xl = "_size-
|
|
13
|
-
const size3Xl = "_size-
|
|
14
|
-
const size4Xl = "_size-
|
|
15
|
-
const weightNormal = "_weight-
|
|
16
|
-
const weightMedium = "_weight-
|
|
17
|
-
const weightSemibold = "_weight-
|
|
18
|
-
const weightBold = "_weight-
|
|
19
|
-
const colorPrimary = "_color-
|
|
20
|
-
const colorSecondary = "_color-
|
|
21
|
-
const colorTertiary = "_color-
|
|
22
|
-
const colorMuted = "_color-
|
|
23
|
-
const mono = "
|
|
24
|
-
const truncate = "
|
|
25
|
-
const lineClamp = "
|
|
26
|
-
const trackingNormal = "_tracking-
|
|
27
|
-
const trackingTight = "_tracking-
|
|
28
|
-
const trackingTighter = "_tracking-
|
|
29
|
-
const trackingTightest = "_tracking-
|
|
30
|
-
const tabularNums = "
|
|
3
|
+
const text = "_text_4yy44_1";
|
|
4
|
+
const variantSectionLabel = "_variant-section-label_4yy44_7";
|
|
5
|
+
const size2Xs = "_size-2xs_4yy44_17";
|
|
6
|
+
const sizeXs = "_size-xs_4yy44_21";
|
|
7
|
+
const sizeSm = "_size-sm_4yy44_25";
|
|
8
|
+
const sizeBase = "_size-base_4yy44_29";
|
|
9
|
+
const sizeMd = "_size-md_4yy44_33";
|
|
10
|
+
const sizeLg = "_size-lg_4yy44_37";
|
|
11
|
+
const sizeXl = "_size-xl_4yy44_41";
|
|
12
|
+
const size2Xl = "_size-2xl_4yy44_45";
|
|
13
|
+
const size3Xl = "_size-3xl_4yy44_49";
|
|
14
|
+
const size4Xl = "_size-4xl_4yy44_55";
|
|
15
|
+
const weightNormal = "_weight-normal_4yy44_61";
|
|
16
|
+
const weightMedium = "_weight-medium_4yy44_65";
|
|
17
|
+
const weightSemibold = "_weight-semibold_4yy44_69";
|
|
18
|
+
const weightBold = "_weight-bold_4yy44_73";
|
|
19
|
+
const colorPrimary = "_color-primary_4yy44_77";
|
|
20
|
+
const colorSecondary = "_color-secondary_4yy44_81";
|
|
21
|
+
const colorTertiary = "_color-tertiary_4yy44_85";
|
|
22
|
+
const colorMuted = "_color-muted_4yy44_86";
|
|
23
|
+
const mono = "_mono_4yy44_90";
|
|
24
|
+
const truncate = "_truncate_4yy44_94";
|
|
25
|
+
const lineClamp = "_lineClamp_4yy44_100";
|
|
26
|
+
const trackingNormal = "_tracking-normal_4yy44_108";
|
|
27
|
+
const trackingTight = "_tracking-tight_4yy44_112";
|
|
28
|
+
const trackingTighter = "_tracking-tighter_4yy44_116";
|
|
29
|
+
const trackingTightest = "_tracking-tightest_4yy44_120";
|
|
30
|
+
const tabularNums = "_tabularNums_4yy44_124";
|
|
31
31
|
const styles = {
|
|
32
32
|
text,
|
|
33
|
-
"variant-section-label": "_variant-section-
|
|
33
|
+
"variant-section-label": "_variant-section-label_4yy44_7",
|
|
34
34
|
variantSectionLabel,
|
|
35
|
-
"size-2xs": "_size-
|
|
35
|
+
"size-2xs": "_size-2xs_4yy44_17",
|
|
36
36
|
size2Xs,
|
|
37
|
-
"size-xs": "_size-
|
|
37
|
+
"size-xs": "_size-xs_4yy44_21",
|
|
38
38
|
sizeXs,
|
|
39
|
-
"size-sm": "_size-
|
|
39
|
+
"size-sm": "_size-sm_4yy44_25",
|
|
40
40
|
sizeSm,
|
|
41
|
-
"size-base": "_size-
|
|
41
|
+
"size-base": "_size-base_4yy44_29",
|
|
42
42
|
sizeBase,
|
|
43
|
-
"size-md": "_size-
|
|
43
|
+
"size-md": "_size-md_4yy44_33",
|
|
44
44
|
sizeMd,
|
|
45
|
-
"size-lg": "_size-
|
|
45
|
+
"size-lg": "_size-lg_4yy44_37",
|
|
46
46
|
sizeLg,
|
|
47
|
-
"size-xl": "_size-
|
|
47
|
+
"size-xl": "_size-xl_4yy44_41",
|
|
48
48
|
sizeXl,
|
|
49
|
-
"size-2xl": "_size-
|
|
49
|
+
"size-2xl": "_size-2xl_4yy44_45",
|
|
50
50
|
size2Xl,
|
|
51
|
-
"size-3xl": "_size-
|
|
51
|
+
"size-3xl": "_size-3xl_4yy44_49",
|
|
52
52
|
size3Xl,
|
|
53
|
-
"size-4xl": "_size-
|
|
53
|
+
"size-4xl": "_size-4xl_4yy44_55",
|
|
54
54
|
size4Xl,
|
|
55
|
-
"weight-normal": "_weight-
|
|
55
|
+
"weight-normal": "_weight-normal_4yy44_61",
|
|
56
56
|
weightNormal,
|
|
57
|
-
"weight-medium": "_weight-
|
|
57
|
+
"weight-medium": "_weight-medium_4yy44_65",
|
|
58
58
|
weightMedium,
|
|
59
|
-
"weight-semibold": "_weight-
|
|
59
|
+
"weight-semibold": "_weight-semibold_4yy44_69",
|
|
60
60
|
weightSemibold,
|
|
61
|
-
"weight-bold": "_weight-
|
|
61
|
+
"weight-bold": "_weight-bold_4yy44_73",
|
|
62
62
|
weightBold,
|
|
63
|
-
"color-primary": "_color-
|
|
63
|
+
"color-primary": "_color-primary_4yy44_77",
|
|
64
64
|
colorPrimary,
|
|
65
|
-
"color-secondary": "_color-
|
|
65
|
+
"color-secondary": "_color-secondary_4yy44_81",
|
|
66
66
|
colorSecondary,
|
|
67
|
-
"color-tertiary": "_color-
|
|
67
|
+
"color-tertiary": "_color-tertiary_4yy44_85",
|
|
68
68
|
colorTertiary,
|
|
69
|
-
"color-muted": "_color-
|
|
69
|
+
"color-muted": "_color-muted_4yy44_86",
|
|
70
70
|
colorMuted,
|
|
71
71
|
mono,
|
|
72
72
|
truncate,
|
|
73
73
|
lineClamp,
|
|
74
|
-
"tracking-normal": "_tracking-
|
|
74
|
+
"tracking-normal": "_tracking-normal_4yy44_108",
|
|
75
75
|
trackingNormal,
|
|
76
|
-
"tracking-tight": "_tracking-
|
|
76
|
+
"tracking-tight": "_tracking-tight_4yy44_112",
|
|
77
77
|
trackingTight,
|
|
78
|
-
"tracking-tighter": "_tracking-
|
|
78
|
+
"tracking-tighter": "_tracking-tighter_4yy44_116",
|
|
79
79
|
trackingTighter,
|
|
80
|
-
"tracking-tightest": "_tracking-
|
|
80
|
+
"tracking-tightest": "_tracking-tightest_4yy44_120",
|
|
81
81
|
trackingTightest,
|
|
82
82
|
tabularNums
|
|
83
83
|
};
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
const text = "
|
|
2
|
-
const variantSectionLabel = "_variant-section-
|
|
3
|
-
const size2Xs = "_size-
|
|
4
|
-
const sizeXs = "_size-
|
|
5
|
-
const sizeSm = "_size-
|
|
6
|
-
const sizeBase = "_size-
|
|
7
|
-
const sizeMd = "_size-
|
|
8
|
-
const sizeLg = "_size-
|
|
9
|
-
const sizeXl = "_size-
|
|
10
|
-
const size2Xl = "_size-
|
|
11
|
-
const size3Xl = "_size-
|
|
12
|
-
const size4Xl = "_size-
|
|
13
|
-
const weightNormal = "_weight-
|
|
14
|
-
const weightMedium = "_weight-
|
|
15
|
-
const weightSemibold = "_weight-
|
|
16
|
-
const weightBold = "_weight-
|
|
17
|
-
const colorPrimary = "_color-
|
|
18
|
-
const colorSecondary = "_color-
|
|
19
|
-
const colorTertiary = "_color-
|
|
20
|
-
const colorMuted = "_color-
|
|
21
|
-
const mono = "
|
|
22
|
-
const truncate = "
|
|
23
|
-
const lineClamp = "
|
|
24
|
-
const trackingNormal = "_tracking-
|
|
25
|
-
const trackingTight = "_tracking-
|
|
26
|
-
const trackingTighter = "_tracking-
|
|
27
|
-
const trackingTightest = "_tracking-
|
|
28
|
-
const tabularNums = "
|
|
1
|
+
const text = "_text_4yy44_1";
|
|
2
|
+
const variantSectionLabel = "_variant-section-label_4yy44_7";
|
|
3
|
+
const size2Xs = "_size-2xs_4yy44_17";
|
|
4
|
+
const sizeXs = "_size-xs_4yy44_21";
|
|
5
|
+
const sizeSm = "_size-sm_4yy44_25";
|
|
6
|
+
const sizeBase = "_size-base_4yy44_29";
|
|
7
|
+
const sizeMd = "_size-md_4yy44_33";
|
|
8
|
+
const sizeLg = "_size-lg_4yy44_37";
|
|
9
|
+
const sizeXl = "_size-xl_4yy44_41";
|
|
10
|
+
const size2Xl = "_size-2xl_4yy44_45";
|
|
11
|
+
const size3Xl = "_size-3xl_4yy44_49";
|
|
12
|
+
const size4Xl = "_size-4xl_4yy44_55";
|
|
13
|
+
const weightNormal = "_weight-normal_4yy44_61";
|
|
14
|
+
const weightMedium = "_weight-medium_4yy44_65";
|
|
15
|
+
const weightSemibold = "_weight-semibold_4yy44_69";
|
|
16
|
+
const weightBold = "_weight-bold_4yy44_73";
|
|
17
|
+
const colorPrimary = "_color-primary_4yy44_77";
|
|
18
|
+
const colorSecondary = "_color-secondary_4yy44_81";
|
|
19
|
+
const colorTertiary = "_color-tertiary_4yy44_85";
|
|
20
|
+
const colorMuted = "_color-muted_4yy44_86";
|
|
21
|
+
const mono = "_mono_4yy44_90";
|
|
22
|
+
const truncate = "_truncate_4yy44_94";
|
|
23
|
+
const lineClamp = "_lineClamp_4yy44_100";
|
|
24
|
+
const trackingNormal = "_tracking-normal_4yy44_108";
|
|
25
|
+
const trackingTight = "_tracking-tight_4yy44_112";
|
|
26
|
+
const trackingTighter = "_tracking-tighter_4yy44_116";
|
|
27
|
+
const trackingTightest = "_tracking-tightest_4yy44_120";
|
|
28
|
+
const tabularNums = "_tabularNums_4yy44_124";
|
|
29
29
|
const styles = {
|
|
30
30
|
text,
|
|
31
|
-
"variant-section-label": "_variant-section-
|
|
31
|
+
"variant-section-label": "_variant-section-label_4yy44_7",
|
|
32
32
|
variantSectionLabel,
|
|
33
|
-
"size-2xs": "_size-
|
|
33
|
+
"size-2xs": "_size-2xs_4yy44_17",
|
|
34
34
|
size2Xs,
|
|
35
|
-
"size-xs": "_size-
|
|
35
|
+
"size-xs": "_size-xs_4yy44_21",
|
|
36
36
|
sizeXs,
|
|
37
|
-
"size-sm": "_size-
|
|
37
|
+
"size-sm": "_size-sm_4yy44_25",
|
|
38
38
|
sizeSm,
|
|
39
|
-
"size-base": "_size-
|
|
39
|
+
"size-base": "_size-base_4yy44_29",
|
|
40
40
|
sizeBase,
|
|
41
|
-
"size-md": "_size-
|
|
41
|
+
"size-md": "_size-md_4yy44_33",
|
|
42
42
|
sizeMd,
|
|
43
|
-
"size-lg": "_size-
|
|
43
|
+
"size-lg": "_size-lg_4yy44_37",
|
|
44
44
|
sizeLg,
|
|
45
|
-
"size-xl": "_size-
|
|
45
|
+
"size-xl": "_size-xl_4yy44_41",
|
|
46
46
|
sizeXl,
|
|
47
|
-
"size-2xl": "_size-
|
|
47
|
+
"size-2xl": "_size-2xl_4yy44_45",
|
|
48
48
|
size2Xl,
|
|
49
|
-
"size-3xl": "_size-
|
|
49
|
+
"size-3xl": "_size-3xl_4yy44_49",
|
|
50
50
|
size3Xl,
|
|
51
|
-
"size-4xl": "_size-
|
|
51
|
+
"size-4xl": "_size-4xl_4yy44_55",
|
|
52
52
|
size4Xl,
|
|
53
|
-
"weight-normal": "_weight-
|
|
53
|
+
"weight-normal": "_weight-normal_4yy44_61",
|
|
54
54
|
weightNormal,
|
|
55
|
-
"weight-medium": "_weight-
|
|
55
|
+
"weight-medium": "_weight-medium_4yy44_65",
|
|
56
56
|
weightMedium,
|
|
57
|
-
"weight-semibold": "_weight-
|
|
57
|
+
"weight-semibold": "_weight-semibold_4yy44_69",
|
|
58
58
|
weightSemibold,
|
|
59
|
-
"weight-bold": "_weight-
|
|
59
|
+
"weight-bold": "_weight-bold_4yy44_73",
|
|
60
60
|
weightBold,
|
|
61
|
-
"color-primary": "_color-
|
|
61
|
+
"color-primary": "_color-primary_4yy44_77",
|
|
62
62
|
colorPrimary,
|
|
63
|
-
"color-secondary": "_color-
|
|
63
|
+
"color-secondary": "_color-secondary_4yy44_81",
|
|
64
64
|
colorSecondary,
|
|
65
|
-
"color-tertiary": "_color-
|
|
65
|
+
"color-tertiary": "_color-tertiary_4yy44_85",
|
|
66
66
|
colorTertiary,
|
|
67
|
-
"color-muted": "_color-
|
|
67
|
+
"color-muted": "_color-muted_4yy44_86",
|
|
68
68
|
colorMuted,
|
|
69
69
|
mono,
|
|
70
70
|
truncate,
|
|
71
71
|
lineClamp,
|
|
72
|
-
"tracking-normal": "_tracking-
|
|
72
|
+
"tracking-normal": "_tracking-normal_4yy44_108",
|
|
73
73
|
trackingNormal,
|
|
74
|
-
"tracking-tight": "_tracking-
|
|
74
|
+
"tracking-tight": "_tracking-tight_4yy44_112",
|
|
75
75
|
trackingTight,
|
|
76
|
-
"tracking-tighter": "_tracking-
|
|
76
|
+
"tracking-tighter": "_tracking-tighter_4yy44_116",
|
|
77
77
|
trackingTighter,
|
|
78
|
-
"tracking-tightest": "_tracking-
|
|
78
|
+
"tracking-tightest": "_tracking-tightest_4yy44_120",
|
|
79
79
|
trackingTightest,
|
|
80
80
|
tabularNums
|
|
81
81
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const wrapper = "
|
|
4
|
-
const label = "
|
|
5
|
-
const required = "
|
|
6
|
-
const helper = "
|
|
7
|
-
const helperError = "
|
|
8
|
-
const errorMessage = "
|
|
9
|
-
const textarea = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const lg = "
|
|
12
|
-
const resizeNone = "_resize-
|
|
13
|
-
const resizeVertical = "_resize-
|
|
14
|
-
const resizeHorizontal = "_resize-
|
|
15
|
-
const resizeBoth = "_resize-
|
|
16
|
-
const error = "
|
|
17
|
-
const success = "
|
|
18
|
-
const helperSuccess = "
|
|
19
|
-
const footer = "
|
|
20
|
-
const charCount = "
|
|
21
|
-
const charCountOver = "
|
|
3
|
+
const wrapper = "_wrapper_id95e_1";
|
|
4
|
+
const label = "_label_id95e_6";
|
|
5
|
+
const required = "_required_id95e_14";
|
|
6
|
+
const helper = "_helper_id95e_19";
|
|
7
|
+
const helperError = "_helperError_id95e_26";
|
|
8
|
+
const errorMessage = "_errorMessage_id95e_30";
|
|
9
|
+
const textarea = "_textarea_id95e_36";
|
|
10
|
+
const sm = "_sm_id95e_92";
|
|
11
|
+
const lg = "_lg_id95e_103";
|
|
12
|
+
const resizeNone = "_resize-none_id95e_114";
|
|
13
|
+
const resizeVertical = "_resize-vertical_id95e_118";
|
|
14
|
+
const resizeHorizontal = "_resize-horizontal_id95e_122";
|
|
15
|
+
const resizeBoth = "_resize-both_id95e_126";
|
|
16
|
+
const error = "_error_id95e_30";
|
|
17
|
+
const success = "_success_id95e_141";
|
|
18
|
+
const helperSuccess = "_helperSuccess_id95e_155";
|
|
19
|
+
const footer = "_footer_id95e_159";
|
|
20
|
+
const charCount = "_charCount_id95e_170";
|
|
21
|
+
const charCountOver = "_charCountOver_id95e_180";
|
|
22
22
|
const styles = {
|
|
23
23
|
wrapper,
|
|
24
24
|
label,
|
|
@@ -29,13 +29,13 @@ const styles = {
|
|
|
29
29
|
textarea,
|
|
30
30
|
sm,
|
|
31
31
|
lg,
|
|
32
|
-
"resize-none": "_resize-
|
|
32
|
+
"resize-none": "_resize-none_id95e_114",
|
|
33
33
|
resizeNone,
|
|
34
|
-
"resize-vertical": "_resize-
|
|
34
|
+
"resize-vertical": "_resize-vertical_id95e_118",
|
|
35
35
|
resizeVertical,
|
|
36
|
-
"resize-horizontal": "_resize-
|
|
36
|
+
"resize-horizontal": "_resize-horizontal_id95e_122",
|
|
37
37
|
resizeHorizontal,
|
|
38
|
-
"resize-both": "_resize-
|
|
38
|
+
"resize-both": "_resize-both_id95e_126",
|
|
39
39
|
resizeBoth,
|
|
40
40
|
error,
|
|
41
41
|
success,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
const wrapper = "
|
|
2
|
-
const label = "
|
|
3
|
-
const required = "
|
|
4
|
-
const helper = "
|
|
5
|
-
const helperError = "
|
|
6
|
-
const errorMessage = "
|
|
7
|
-
const textarea = "
|
|
8
|
-
const sm = "
|
|
9
|
-
const lg = "
|
|
10
|
-
const resizeNone = "_resize-
|
|
11
|
-
const resizeVertical = "_resize-
|
|
12
|
-
const resizeHorizontal = "_resize-
|
|
13
|
-
const resizeBoth = "_resize-
|
|
14
|
-
const error = "
|
|
15
|
-
const success = "
|
|
16
|
-
const helperSuccess = "
|
|
17
|
-
const footer = "
|
|
18
|
-
const charCount = "
|
|
19
|
-
const charCountOver = "
|
|
1
|
+
const wrapper = "_wrapper_id95e_1";
|
|
2
|
+
const label = "_label_id95e_6";
|
|
3
|
+
const required = "_required_id95e_14";
|
|
4
|
+
const helper = "_helper_id95e_19";
|
|
5
|
+
const helperError = "_helperError_id95e_26";
|
|
6
|
+
const errorMessage = "_errorMessage_id95e_30";
|
|
7
|
+
const textarea = "_textarea_id95e_36";
|
|
8
|
+
const sm = "_sm_id95e_92";
|
|
9
|
+
const lg = "_lg_id95e_103";
|
|
10
|
+
const resizeNone = "_resize-none_id95e_114";
|
|
11
|
+
const resizeVertical = "_resize-vertical_id95e_118";
|
|
12
|
+
const resizeHorizontal = "_resize-horizontal_id95e_122";
|
|
13
|
+
const resizeBoth = "_resize-both_id95e_126";
|
|
14
|
+
const error = "_error_id95e_30";
|
|
15
|
+
const success = "_success_id95e_141";
|
|
16
|
+
const helperSuccess = "_helperSuccess_id95e_155";
|
|
17
|
+
const footer = "_footer_id95e_159";
|
|
18
|
+
const charCount = "_charCount_id95e_170";
|
|
19
|
+
const charCountOver = "_charCountOver_id95e_180";
|
|
20
20
|
const styles = {
|
|
21
21
|
wrapper,
|
|
22
22
|
label,
|
|
@@ -27,13 +27,13 @@ const styles = {
|
|
|
27
27
|
textarea,
|
|
28
28
|
sm,
|
|
29
29
|
lg,
|
|
30
|
-
"resize-none": "_resize-
|
|
30
|
+
"resize-none": "_resize-none_id95e_114",
|
|
31
31
|
resizeNone,
|
|
32
|
-
"resize-vertical": "_resize-
|
|
32
|
+
"resize-vertical": "_resize-vertical_id95e_118",
|
|
33
33
|
resizeVertical,
|
|
34
|
-
"resize-horizontal": "_resize-
|
|
34
|
+
"resize-horizontal": "_resize-horizontal_id95e_122",
|
|
35
35
|
resizeHorizontal,
|
|
36
|
-
"resize-both": "_resize-
|
|
36
|
+
"resize-both": "_resize-both_id95e_126",
|
|
37
37
|
resizeBoth,
|
|
38
38
|
error,
|
|
39
39
|
success,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const toggleGroup = "
|
|
4
|
-
const toggleButton = "
|
|
5
|
-
const toggleButtonActive = "
|
|
6
|
-
const sizeSm = "
|
|
7
|
-
const sizeMd = "
|
|
8
|
-
const sizeLg = "
|
|
3
|
+
const toggleGroup = "_toggleGroup_1jmqh_1";
|
|
4
|
+
const toggleButton = "_toggleButton_1jmqh_10";
|
|
5
|
+
const toggleButtonActive = "_toggleButtonActive_1jmqh_42";
|
|
6
|
+
const sizeSm = "_sizeSm_1jmqh_55";
|
|
7
|
+
const sizeMd = "_sizeMd_1jmqh_64";
|
|
8
|
+
const sizeLg = "_sizeLg_1jmqh_73";
|
|
9
9
|
const styles = {
|
|
10
10
|
toggleGroup,
|
|
11
11
|
toggleButton,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const toggleGroup = "
|
|
2
|
-
const toggleButton = "
|
|
3
|
-
const toggleButtonActive = "
|
|
4
|
-
const sizeSm = "
|
|
5
|
-
const sizeMd = "
|
|
6
|
-
const sizeLg = "
|
|
1
|
+
const toggleGroup = "_toggleGroup_1jmqh_1";
|
|
2
|
+
const toggleButton = "_toggleButton_1jmqh_10";
|
|
3
|
+
const toggleButtonActive = "_toggleButtonActive_1jmqh_42";
|
|
4
|
+
const sizeSm = "_sizeSm_1jmqh_55";
|
|
5
|
+
const sizeMd = "_sizeMd_1jmqh_64";
|
|
6
|
+
const sizeLg = "_sizeLg_1jmqh_73";
|
|
7
7
|
const styles = {
|
|
8
8
|
toggleGroup,
|
|
9
9
|
toggleButton,
|