@lateralus-ai/shipping-ui 2.0.0-dev.3 → 2.0.0-dev.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Entry.d.ts +27 -7
- package/dist/components/PageHeader.d.ts +41 -0
- package/dist/components/ScrollableList.d.ts +22 -0
- package/dist/components/Tabs.d.ts +5 -5
- package/dist/components/index.d.ts +4 -2
- package/dist/domain/Filters/FilterDropdown.d.ts +119 -0
- package/dist/domain/Filters/FilterPill.d.ts +22 -5
- package/dist/domain/Filters/FilterPills.d.ts +18 -0
- package/dist/domain/Filters/FilteredPill.d.ts +15 -5
- package/dist/domain/Filters/formatActiveFilterChipLabel.d.ts +11 -0
- package/dist/domain/Filters/index.d.ts +8 -3
- package/dist/index.cjs +33 -33
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +6383 -4792
- package/dist/patterns/Search/ResultRow.d.ts +11 -5
- package/dist/patterns/Sidebar/sidebar-styles.d.ts +2 -1
- package/dist/primitives/Badge.d.ts +7 -4
- package/dist/primitives/Button.d.ts +3 -1
- package/dist/primitives/Switch.d.ts +5 -0
- package/dist/primitives/index.d.ts +1 -1
- package/dist/tailwind-theme.d.ts +8 -4
- package/dist/theme-entry-Dwr2mV7_.js +1 -0
- package/dist/{theme-entry-CxDa1D0_.mjs → theme-entry-tLBc6zGT.mjs} +12 -8
- package/dist/theme.cjs +1 -1
- package/dist/theme.esm.js +1 -1
- package/package.json +3 -2
- package/src/components/EmptyState.tsx +44 -44
- package/src/components/Entry.tsx +119 -45
- package/src/components/Modal.tsx +141 -141
- package/src/components/PageHeader.tsx +132 -0
- package/src/components/ScrollableList.tsx +61 -0
- package/src/components/Tabs.tsx +33 -26
- package/src/components/index.ts +15 -1
- package/src/domain/Filters/FilterDropdown.tsx +540 -0
- package/src/domain/Filters/FilterPill.tsx +74 -25
- package/src/domain/Filters/FilterPills.tsx +34 -0
- package/src/domain/Filters/FilteredPill.tsx +59 -39
- package/src/domain/Filters/FiltersBar.tsx +72 -76
- package/src/domain/Filters/formatActiveFilterChipLabel.ts +23 -0
- package/src/domain/Filters/index.ts +37 -3
- package/src/icons/arrow-paths.ts +8 -8
- package/src/icons/chevron-paths.ts +17 -17
- package/src/icons/icons-data.ts +656 -656
- package/src/index.ts +11 -0
- package/src/patterns/Search/ResultRow.tsx +24 -38
- package/src/patterns/Search/SearchModal.tsx +26 -8
- package/src/patterns/Sidebar/CollapsibleNavGroup.tsx +1 -1
- package/src/patterns/Sidebar/SidebarAction.tsx +26 -17
- package/src/patterns/Sidebar/SidebarEntry.tsx +54 -39
- package/src/patterns/Sidebar/SidebarLink.tsx +30 -20
- package/src/patterns/Sidebar/assets/logo-compliance-mark.png +5 -5
- package/src/patterns/Sidebar/assets/logo-compliance-mask.png +13 -13
- package/src/patterns/Sidebar/assets/logo-compliance.svg +17 -17
- package/src/patterns/Sidebar/assets/logo-technical-avatar.svg +17 -17
- package/src/patterns/Sidebar/assets/logo-technical-mark.png +5 -5
- package/src/patterns/Sidebar/assets/logo-technical.svg +16 -16
- package/src/patterns/Sidebar/sidebar-styles.ts +2 -1
- package/src/primitives/Badge.tsx +20 -10
- package/src/primitives/Button.tsx +21 -11
- package/src/primitives/Logo.tsx +20 -8
- package/src/primitives/Switch.tsx +27 -7
- package/src/primitives/button-styles.ts +92 -92
- package/src/primitives/index.ts +1 -1
- package/src/stories/canvases/ButtonsCanvas.tsx +107 -107
- package/src/stories/canvases/ButtonsMatrixCanvas.tsx +65 -65
- package/src/stories/canvases/ContentCanvas.tsx +253 -14
- package/src/stories/canvases/FiltersCanvas.tsx +171 -41
- package/src/stories/canvases/figma-buttons-layout.ts +83 -83
- package/src/stories/canvases/figma-widths.ts +28 -28
- package/src/stories/canvases/helpers.tsx +146 -146
- package/src/stories/components/Buttons.stories.tsx +11 -11
- package/src/stories/components/Chat.stories.tsx +11 -11
- package/src/stories/components/Content.stories.tsx +11 -11
- package/src/stories/components/Core.stories.tsx +11 -11
- package/src/stories/components/DomainForms.stories.tsx +11 -11
- package/src/stories/components/Filters.stories.tsx +11 -11
- package/src/stories/components/Forms.stories.tsx +11 -11
- package/src/stories/components/Icons.stories.tsx +11 -11
- package/src/stories/components/Illustrations.stories.tsx +11 -11
- package/src/stories/components/Library.stories.tsx +11 -11
- package/src/stories/components/Modals.stories.tsx +11 -11
- package/src/stories/components/Report.stories.tsx +11 -11
- package/src/stories/components/ReportLayout.stories.tsx +11 -11
- package/src/stories/components/Search.stories.tsx +11 -11
- package/src/stories/components/Settings.stories.tsx +11 -11
- package/src/stories/components/Ships.stories.tsx +11 -11
- package/src/stories/components/SidebarLayouts.stories.tsx +11 -11
- package/src/stories/components/Skeletons.stories.tsx +11 -11
- package/src/stories/components/Workflows.stories.tsx +11 -11
- package/src/stories/style-guide/Buttons.stories.tsx +11 -11
- package/src/stories/style-guide/ColorTokens.stories.tsx +11 -11
- package/src/stories/style-guide/Colors.stories.tsx +11 -11
- package/src/stories/style-guide/RaiseLevels.stories.tsx +11 -11
- package/src/stories/style-guide/Typography.stories.tsx +11 -11
- package/src/tailwind-theme.ts +8 -4
- package/src/theme-entry.ts +2 -2
- package/src/utils/cn.ts +28 -1
- package/dist/theme-entry-D2X3Ptjf.js +0 -1
|
@@ -1,39 +1,59 @@
|
|
|
1
|
-
import { cn } from "../../utils/cn";
|
|
2
|
-
import { ClearIcon } from "../../icons";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { cn } from "../../utils/cn";
|
|
2
|
+
import { ClearIcon } from "../../icons";
|
|
3
|
+
import { Tooltip } from "../../primitives/Tooltip";
|
|
4
|
+
|
|
5
|
+
export type FilteredPillProps = {
|
|
6
|
+
label: string;
|
|
7
|
+
onRemove: () => void;
|
|
8
|
+
removeAriaLabel?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Optional tone overrides. Prefer default beige unless a product needs a custom tone. */
|
|
11
|
+
classNames?: {
|
|
12
|
+
root?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
remove?: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Active filter value pill — Figma Filtered (6154:149787).
|
|
20
|
+
* Clear control on the left, label on the right. Max 300px with ellipsis;
|
|
21
|
+
* full label in a tooltip on hover.
|
|
22
|
+
*/
|
|
23
|
+
export const FilteredPill = ({
|
|
24
|
+
label,
|
|
25
|
+
onRemove,
|
|
26
|
+
removeAriaLabel,
|
|
27
|
+
className,
|
|
28
|
+
classNames,
|
|
29
|
+
}: FilteredPillProps) => (
|
|
30
|
+
<Tooltip content={label} hint side="top">
|
|
31
|
+
<div
|
|
32
|
+
className={cn(
|
|
33
|
+
"inline-flex max-w-[300px] min-h-9 items-center justify-center gap-2.5 rounded-full bg-background-secondary px-3 py-1",
|
|
34
|
+
classNames?.root,
|
|
35
|
+
className,
|
|
36
|
+
)}
|
|
37
|
+
>
|
|
38
|
+
<button
|
|
39
|
+
type="button"
|
|
40
|
+
onClick={onRemove}
|
|
41
|
+
aria-label={removeAriaLabel ?? `Remove ${label} filter`}
|
|
42
|
+
className={cn(
|
|
43
|
+
"inline-flex size-4 shrink-0 items-center justify-center rounded-control text-display-on-light-secondary transition-colors hover:text-display-on-light-primary",
|
|
44
|
+
classNames?.remove,
|
|
45
|
+
)}
|
|
46
|
+
>
|
|
47
|
+
<ClearIcon size="xs" />
|
|
48
|
+
</button>
|
|
49
|
+
<span
|
|
50
|
+
className={cn(
|
|
51
|
+
"min-w-0 truncate text-caption-2-em text-display-on-light-primary",
|
|
52
|
+
classNames?.label,
|
|
53
|
+
)}
|
|
54
|
+
>
|
|
55
|
+
{label}
|
|
56
|
+
</span>
|
|
57
|
+
</div>
|
|
58
|
+
</Tooltip>
|
|
59
|
+
);
|
|
@@ -1,76 +1,72 @@
|
|
|
1
|
-
import { cn } from "../../utils/cn";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
>
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</div>
|
|
74
|
-
)}
|
|
75
|
-
</div>
|
|
76
|
-
);
|
|
1
|
+
import { cn } from "../../utils/cn";
|
|
2
|
+
import { SearchIcon } from "../../icons/generated";
|
|
3
|
+
import { FilterPill } from "./FilterPill";
|
|
4
|
+
import { FilterPills } from "./FilterPills";
|
|
5
|
+
|
|
6
|
+
export type FiltersBarTabs = "on" | "off";
|
|
7
|
+
export type FiltersBarFilters = "on" | "off";
|
|
8
|
+
|
|
9
|
+
export type FiltersBarProps = {
|
|
10
|
+
tabs?: FiltersBarTabs;
|
|
11
|
+
filters?: FiltersBarFilters;
|
|
12
|
+
tabLabels?: string[];
|
|
13
|
+
activeTab?: string;
|
|
14
|
+
searchPlaceholder?: string;
|
|
15
|
+
filterChips?: string[];
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const defaultTabs = ["All", "Reports", "Chats", "Issues", "Forms", "Workflows"];
|
|
20
|
+
|
|
21
|
+
export const FiltersBar = ({
|
|
22
|
+
tabs = "on",
|
|
23
|
+
filters = "off",
|
|
24
|
+
tabLabels = defaultTabs,
|
|
25
|
+
activeTab = "All",
|
|
26
|
+
searchPlaceholder = "Search",
|
|
27
|
+
filterChips = ["Status", "Date", "Chief"],
|
|
28
|
+
className,
|
|
29
|
+
}: FiltersBarProps) => (
|
|
30
|
+
<div className={cn("flex w-full flex-col gap-3", className)}>
|
|
31
|
+
<div className="flex items-center justify-between gap-4">
|
|
32
|
+
{tabs === "on" && (
|
|
33
|
+
<div className="flex flex-wrap gap-2">
|
|
34
|
+
{tabLabels.map((tab) => (
|
|
35
|
+
<button
|
|
36
|
+
key={tab}
|
|
37
|
+
type="button"
|
|
38
|
+
className={cn(
|
|
39
|
+
"rounded-full px-3 py-1.5 text-caption-2-em transition-colors",
|
|
40
|
+
tab === activeTab
|
|
41
|
+
? "bg-background-selected text-display-on-dark-primary"
|
|
42
|
+
: "bg-background-secondary text-display-on-light-tertiary hover:text-display-on-light-primary",
|
|
43
|
+
)}
|
|
44
|
+
>
|
|
45
|
+
{tab}
|
|
46
|
+
</button>
|
|
47
|
+
))}
|
|
48
|
+
</div>
|
|
49
|
+
)}
|
|
50
|
+
<div className="flex shrink-0 items-center gap-4">
|
|
51
|
+
<FilterPill
|
|
52
|
+
activeFilterCount={filters === "on" ? filterChips.length : 0}
|
|
53
|
+
/>
|
|
54
|
+
<div className="flex w-[250px] items-center gap-2 rounded-md border border-divider-primary px-3 py-2">
|
|
55
|
+
<span className="flex-1 text-body text-display-on-light-secondary">
|
|
56
|
+
{searchPlaceholder}
|
|
57
|
+
</span>
|
|
58
|
+
<SearchIcon size="small" className="text-display-on-light-tertiary" />
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
{filters === "on" && (
|
|
63
|
+
<FilterPills
|
|
64
|
+
chips={filterChips.map((chip) => ({
|
|
65
|
+
key: chip,
|
|
66
|
+
label: chip,
|
|
67
|
+
onRemove: () => undefined,
|
|
68
|
+
}))}
|
|
69
|
+
/>
|
|
70
|
+
)}
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format the user-visible label for an active-filter chip (audit-prep rules).
|
|
3
|
+
*
|
|
4
|
+
* - 0 selected → "" (caller should not render)
|
|
5
|
+
* - 1 selected → `<filterName> (<value>)`
|
|
6
|
+
* - 2 selected → `<filterName> (<v1>, <v2>)`
|
|
7
|
+
* - 3+ selected → `<filterName> (<v1>, <v2>...)` (literal `...`)
|
|
8
|
+
*
|
|
9
|
+
* `selectedLabels` are already human-readable, in selection order.
|
|
10
|
+
*/
|
|
11
|
+
export function formatActiveFilterChipLabel(
|
|
12
|
+
filterName: string,
|
|
13
|
+
selectedLabels: string[],
|
|
14
|
+
): string {
|
|
15
|
+
if (selectedLabels.length === 0) return "";
|
|
16
|
+
if (selectedLabels.length === 1) {
|
|
17
|
+
return `${filterName} (${selectedLabels[0]})`;
|
|
18
|
+
}
|
|
19
|
+
if (selectedLabels.length === 2) {
|
|
20
|
+
return `${filterName} (${selectedLabels[0]}, ${selectedLabels[1]})`;
|
|
21
|
+
}
|
|
22
|
+
return `${filterName} (${selectedLabels[0]}, ${selectedLabels[1]}...)`;
|
|
23
|
+
}
|
|
@@ -1,3 +1,37 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export {
|
|
2
|
+
FiltersBar,
|
|
3
|
+
type FiltersBarFilters,
|
|
4
|
+
type FiltersBarProps,
|
|
5
|
+
type FiltersBarTabs,
|
|
6
|
+
} from "./FiltersBar";
|
|
7
|
+
export {
|
|
8
|
+
FilteredPill,
|
|
9
|
+
type FilteredPillProps,
|
|
10
|
+
} from "./FilteredPill";
|
|
11
|
+
export {
|
|
12
|
+
FilterPill,
|
|
13
|
+
type FilterPillAppearance,
|
|
14
|
+
type FilterPillProps,
|
|
15
|
+
} from "./FilterPill";
|
|
16
|
+
export {
|
|
17
|
+
FilterPills,
|
|
18
|
+
type FilterPillsItem,
|
|
19
|
+
type FilterPillsProps,
|
|
20
|
+
} from "./FilterPills";
|
|
21
|
+
export {
|
|
22
|
+
FilterDropdown,
|
|
23
|
+
resolveSubmenuView,
|
|
24
|
+
type FilterCategoryInlineOptionsRow,
|
|
25
|
+
type FilterCategoryRow,
|
|
26
|
+
type FilterCategorySubmenuRow,
|
|
27
|
+
type FilterCategoryToggleRow,
|
|
28
|
+
type FilterDropdownProps,
|
|
29
|
+
type FilterNestedItem,
|
|
30
|
+
type FilterOption,
|
|
31
|
+
type FilterSelectionMode,
|
|
32
|
+
type FilterSubmenuContent,
|
|
33
|
+
} from "./FilterDropdown";
|
|
34
|
+
export { formatActiveFilterChipLabel } from "./formatActiveFilterChipLabel";
|
|
35
|
+
|
|
36
|
+
/** @deprecated Use `activeFilterCount` on FilterPill instead. */
|
|
37
|
+
export type FilterPillIndicator = "on" | "off";
|
package/src/icons/arrow-paths.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export const ARROW_PATHS = {
|
|
2
|
-
left: {
|
|
3
|
-
large: { d: "M10.2217 6.21973C10.5146 5.9271 10.9894 5.92692 11.2822 6.21973C11.5749 6.51254 11.5748 6.98742 11.2822 7.28027L7.56055 11.002H18.2549C18.6688 11.0023 19.0049 11.3379 19.0049 11.752C19.0049 12.166 18.6688 12.5016 18.2549 12.502H7.56055L11.2822 16.2236C11.5748 16.5165 11.5748 16.9914 11.2822 17.2842C10.9894 17.5769 10.5146 17.5768 10.2217 17.2842L5.21973 12.2822C5.16331 12.2258 5.12062 12.1611 5.08594 12.0938C5.07633 12.0751 5.06469 12.0576 5.05664 12.0381C5.04919 12.02 5.04504 12.0009 5.03906 11.9824C5.01544 11.9095 5 11.8327 5 11.752C5 11.6709 5.01525 11.5937 5.03906 11.5205C5.04453 11.5037 5.04801 11.4862 5.05469 11.4697L5.05859 11.46C5.06783 11.4381 5.08061 11.4182 5.0918 11.3975C5.12559 11.3348 5.16683 11.2746 5.21973 11.2217L10.2217 6.21973Z" },
|
|
4
|
-
},
|
|
5
|
-
right: {
|
|
6
|
-
large: { d: "M13.7808 17.282C13.4878 17.5746 13.013 17.5748 12.7202 17.282C12.4276 16.9892 12.4276 16.5143 12.7202 16.2214L16.4419 12.4998L5.74756 12.4998C5.33361 12.4995 4.99756 12.1638 4.99756 11.7498C4.99756 11.3357 5.3336 11.0001 5.74756 10.9998L16.4419 10.9998L12.7202 7.27808C12.4277 6.98524 12.4276 6.51036 12.7202 6.21753C13.013 5.92476 13.4879 5.9249 13.7808 6.21753L18.7827 11.2195C18.8391 11.2759 18.8818 11.3406 18.9165 11.408C18.9261 11.4266 18.9378 11.4441 18.9458 11.4636C18.9533 11.4817 18.9574 11.5008 18.9634 11.5193C18.987 11.5922 19.0024 11.669 19.0024 11.7498C19.0024 11.8309 18.9872 11.908 18.9634 11.9812C18.9579 11.998 18.9544 12.0155 18.9478 12.032L18.9438 12.0417C18.9346 12.0636 18.9218 12.0835 18.9106 12.1042C18.8769 12.1669 18.8356 12.2271 18.7827 12.28L13.7808 17.282Z" },
|
|
7
|
-
},
|
|
8
|
-
} as const;
|
|
1
|
+
export const ARROW_PATHS = {
|
|
2
|
+
left: {
|
|
3
|
+
large: { d: "M10.2217 6.21973C10.5146 5.9271 10.9894 5.92692 11.2822 6.21973C11.5749 6.51254 11.5748 6.98742 11.2822 7.28027L7.56055 11.002H18.2549C18.6688 11.0023 19.0049 11.3379 19.0049 11.752C19.0049 12.166 18.6688 12.5016 18.2549 12.502H7.56055L11.2822 16.2236C11.5748 16.5165 11.5748 16.9914 11.2822 17.2842C10.9894 17.5769 10.5146 17.5768 10.2217 17.2842L5.21973 12.2822C5.16331 12.2258 5.12062 12.1611 5.08594 12.0938C5.07633 12.0751 5.06469 12.0576 5.05664 12.0381C5.04919 12.02 5.04504 12.0009 5.03906 11.9824C5.01544 11.9095 5 11.8327 5 11.752C5 11.6709 5.01525 11.5937 5.03906 11.5205C5.04453 11.5037 5.04801 11.4862 5.05469 11.4697L5.05859 11.46C5.06783 11.4381 5.08061 11.4182 5.0918 11.3975C5.12559 11.3348 5.16683 11.2746 5.21973 11.2217L10.2217 6.21973Z" },
|
|
4
|
+
},
|
|
5
|
+
right: {
|
|
6
|
+
large: { d: "M13.7808 17.282C13.4878 17.5746 13.013 17.5748 12.7202 17.282C12.4276 16.9892 12.4276 16.5143 12.7202 16.2214L16.4419 12.4998L5.74756 12.4998C5.33361 12.4995 4.99756 12.1638 4.99756 11.7498C4.99756 11.3357 5.3336 11.0001 5.74756 10.9998L16.4419 10.9998L12.7202 7.27808C12.4277 6.98524 12.4276 6.51036 12.7202 6.21753C13.013 5.92476 13.4879 5.9249 13.7808 6.21753L18.7827 11.2195C18.8391 11.2759 18.8818 11.3406 18.9165 11.408C18.9261 11.4266 18.9378 11.4441 18.9458 11.4636C18.9533 11.4817 18.9574 11.5008 18.9634 11.5193C18.987 11.5922 19.0024 11.669 19.0024 11.7498C19.0024 11.8309 18.9872 11.908 18.9634 11.9812C18.9579 11.998 18.9544 12.0155 18.9478 12.032L18.9438 12.0417C18.9346 12.0636 18.9218 12.0835 18.9106 12.1042C18.8769 12.1669 18.8356 12.2271 18.7827 12.28L13.7808 17.282Z" },
|
|
7
|
+
},
|
|
8
|
+
} as const;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export const CHEVRON_PATHS = {
|
|
2
|
-
right: {
|
|
3
|
-
small: { d: "M10.9288 7.74314C11.0393 7.92719 11.0213 8.16626 10.8741 8.332L6.87414 12.832C6.69075 13.0383 6.37446 13.0572 6.16809 12.874C5.96185 12.6906 5.94294 12.3743 6.12609 12.1679L9.83117 7.99997L6.12609 3.832C5.94294 3.62563 5.96185 3.30933 6.16809 3.12595C6.37446 2.94274 6.69075 2.96168 6.87414 3.16794L10.8741 7.66794L10.9288 7.74314Z" },
|
|
4
|
-
},
|
|
5
|
-
left: {
|
|
6
|
-
small: { d: "M6.07117 8.25686C5.96073 8.07281 5.97872 7.83374 6.12586 7.668L10.1259 3.168C10.3093 2.96174 10.6255 2.94279 10.8319 3.12601C11.0381 3.30938 11.0571 3.62568 10.8739 3.83206L7.16883 8.00003L10.8739 12.168C11.0571 12.3744 11.0381 12.6907 10.8319 12.8741C10.6255 13.0573 10.3093 13.0383 10.1259 12.8321L6.12586 8.33206L6.07117 8.25686Z" },
|
|
7
|
-
},
|
|
8
|
-
down: {
|
|
9
|
-
small: { d: "M12.168 6.12597C12.3744 5.94274 12.6906 5.96165 12.874 6.16797C13.0572 6.37436 13.0383 6.69063 12.832 6.87402L8.33203 10.874C8.14266 11.0421 7.85733 11.0421 7.66797 10.874L3.16797 6.87402C2.96165 6.69063 2.94274 6.37436 3.12597 6.16797C3.30936 5.96165 3.62563 5.94274 3.83203 6.12597L8 9.83007L12.168 6.12597Z" },
|
|
10
|
-
},
|
|
11
|
-
up: {
|
|
12
|
-
small: { d: "M7.74314 6.07117C7.92719 5.96073 8.16626 5.97872 8.332 6.12586L12.832 10.1259C13.0383 10.3093 13.0572 10.6255 12.874 10.8319C12.6906 11.0381 12.3743 11.0571 12.1679 10.8739L7.99997 7.16883L3.832 10.8739C3.62563 11.0571 3.30933 11.0381 3.12595 10.8319C2.94274 10.6255 2.96168 10.3093 3.16794 10.1259L7.66794 6.12586L7.74314 6.07117Z" },
|
|
13
|
-
},
|
|
14
|
-
upDown: {
|
|
15
|
-
small: { d: "M12.1679 11.1259C12.3743 10.9426 12.6906 10.9615 12.874 11.1679C13.0572 11.3742 13.0383 11.6905 12.832 11.8739L8.332 15.8739C8.14266 16.0419 7.85728 16.0419 7.66794 15.8739L3.16794 11.8739C2.96165 11.6905 2.94278 11.3742 3.12595 11.1679C3.30933 10.9615 3.6256 10.9426 3.832 11.1259L7.99997 14.83L12.1679 11.1259ZM7.74313 0.0711718C7.92719 -0.0392683 8.16625 -0.021282 8.332 0.125859L12.832 4.12586C13.0383 4.30925 13.0572 4.62554 12.874 4.83191C12.6906 5.03814 12.3743 5.05706 12.1679 4.87391L7.99997 1.16883L3.832 4.87391C3.62563 5.05706 3.30932 5.03814 3.12595 4.83191C2.94274 4.62554 2.96168 4.30925 3.16794 4.12586L7.66794 0.125859L7.74313 0.0711718Z" },
|
|
16
|
-
},
|
|
17
|
-
} as const;
|
|
1
|
+
export const CHEVRON_PATHS = {
|
|
2
|
+
right: {
|
|
3
|
+
small: { d: "M10.9288 7.74314C11.0393 7.92719 11.0213 8.16626 10.8741 8.332L6.87414 12.832C6.69075 13.0383 6.37446 13.0572 6.16809 12.874C5.96185 12.6906 5.94294 12.3743 6.12609 12.1679L9.83117 7.99997L6.12609 3.832C5.94294 3.62563 5.96185 3.30933 6.16809 3.12595C6.37446 2.94274 6.69075 2.96168 6.87414 3.16794L10.8741 7.66794L10.9288 7.74314Z" },
|
|
4
|
+
},
|
|
5
|
+
left: {
|
|
6
|
+
small: { d: "M6.07117 8.25686C5.96073 8.07281 5.97872 7.83374 6.12586 7.668L10.1259 3.168C10.3093 2.96174 10.6255 2.94279 10.8319 3.12601C11.0381 3.30938 11.0571 3.62568 10.8739 3.83206L7.16883 8.00003L10.8739 12.168C11.0571 12.3744 11.0381 12.6907 10.8319 12.8741C10.6255 13.0573 10.3093 13.0383 10.1259 12.8321L6.12586 8.33206L6.07117 8.25686Z" },
|
|
7
|
+
},
|
|
8
|
+
down: {
|
|
9
|
+
small: { d: "M12.168 6.12597C12.3744 5.94274 12.6906 5.96165 12.874 6.16797C13.0572 6.37436 13.0383 6.69063 12.832 6.87402L8.33203 10.874C8.14266 11.0421 7.85733 11.0421 7.66797 10.874L3.16797 6.87402C2.96165 6.69063 2.94274 6.37436 3.12597 6.16797C3.30936 5.96165 3.62563 5.94274 3.83203 6.12597L8 9.83007L12.168 6.12597Z" },
|
|
10
|
+
},
|
|
11
|
+
up: {
|
|
12
|
+
small: { d: "M7.74314 6.07117C7.92719 5.96073 8.16626 5.97872 8.332 6.12586L12.832 10.1259C13.0383 10.3093 13.0572 10.6255 12.874 10.8319C12.6906 11.0381 12.3743 11.0571 12.1679 10.8739L7.99997 7.16883L3.832 10.8739C3.62563 11.0571 3.30933 11.0381 3.12595 10.8319C2.94274 10.6255 2.96168 10.3093 3.16794 10.1259L7.66794 6.12586L7.74314 6.07117Z" },
|
|
13
|
+
},
|
|
14
|
+
upDown: {
|
|
15
|
+
small: { d: "M12.1679 11.1259C12.3743 10.9426 12.6906 10.9615 12.874 11.1679C13.0572 11.3742 13.0383 11.6905 12.832 11.8739L8.332 15.8739C8.14266 16.0419 7.85728 16.0419 7.66794 15.8739L3.16794 11.8739C2.96165 11.6905 2.94278 11.3742 3.12595 11.1679C3.30933 10.9615 3.6256 10.9426 3.832 11.1259L7.99997 14.83L12.1679 11.1259ZM7.74313 0.0711718C7.92719 -0.0392683 8.16625 -0.021282 8.332 0.125859L12.832 4.12586C13.0383 4.30925 13.0572 4.62554 12.874 4.83191C12.6906 5.03814 12.3743 5.05706 12.1679 4.87391L7.99997 1.16883L3.832 4.87391C3.62563 5.05706 3.30932 5.03814 3.12595 4.83191C2.94274 4.62554 2.96168 4.30925 3.16794 4.12586L7.66794 0.125859L7.74313 0.0711718Z" },
|
|
16
|
+
},
|
|
17
|
+
} as const;
|