@usefragments/ui 1.7.0 → 2.0.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 +54 -66
- package/dist/assets/nav-glyph.cjs +139 -0
- package/dist/assets/nav-glyph.d.ts +28 -0
- package/dist/assets/nav-glyph.d.ts.map +1 -0
- package/dist/assets/nav-glyph.js +139 -0
- package/dist/assets/nav-glyph.module.scss.cjs +71 -0
- package/dist/assets/nav-glyph.module.scss.js +71 -0
- package/dist/assets/ui.css +4975 -4959
- package/dist/blocks/components/StatsCard.d.ts +1 -1
- package/dist/blocks/components/StatsCard.d.ts.map +1 -1
- package/dist/codeblock.cjs +23 -16
- package/dist/codeblock.js +16 -9
- package/dist/colorpicker.cjs +1 -0
- package/dist/colorpicker.js +1 -0
- package/dist/components/Accordion/Accordion.module.scss.cjs +8 -8
- package/dist/components/Accordion/Accordion.module.scss.js +8 -8
- package/dist/components/Alert/Alert.module.scss.cjs +21 -21
- package/dist/components/Alert/Alert.module.scss.js +21 -21
- package/dist/components/Alert/index.cjs +14 -8
- package/dist/components/Alert/index.d.ts +9 -9
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/index.js +14 -8
- package/dist/components/AppShell/AppShell.module.scss.cjs +14 -14
- package/dist/components/AppShell/AppShell.module.scss.js +14 -14
- package/dist/components/AppShell/index.cjs +2 -2
- package/dist/components/AppShell/index.js +2 -2
- package/dist/components/Avatar/Avatar.module.scss.cjs +14 -14
- package/dist/components/Avatar/Avatar.module.scss.js +14 -14
- package/dist/components/Badge/Badge.module.scss.cjs +33 -31
- package/dist/components/Badge/Badge.module.scss.js +33 -31
- package/dist/components/Badge/index.cjs +13 -3
- package/dist/components/Badge/index.d.ts +18 -13
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +13 -3
- 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 +11 -8
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.js +11 -8
- package/dist/components/Breadcrumbs/index.cjs +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/Button.module.scss.cjs +36 -27
- package/dist/components/Button/Button.module.scss.js +36 -27
- package/dist/components/Button/index.cjs +20 -4
- package/dist/components/Button/index.d.ts +18 -10
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +20 -4
- package/dist/components/ButtonGroup/ButtonGroup.module.scss.cjs +15 -15
- package/dist/components/ButtonGroup/ButtonGroup.module.scss.js +15 -15
- package/dist/components/Card/Card.module.scss.cjs +27 -34
- package/dist/components/Card/Card.module.scss.js +27 -34
- package/dist/components/Card/index.cjs +13 -8
- package/dist/components/Card/index.d.ts +23 -25
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/index.js +13 -8
- 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/Checkbox/index.cjs +2 -2
- package/dist/components/Checkbox/index.d.ts +4 -6
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/Chip/Chip.module.scss.cjs +19 -19
- package/dist/components/Chip/Chip.module.scss.js +19 -19
- package/dist/components/Chip/index.cjs +1 -2
- package/dist/components/Chip/index.d.ts +8 -3
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/index.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.module.scss.cjs +22 -22
- package/dist/components/CodeBlock/CodeBlock.module.scss.js +22 -22
- package/dist/components/CodeBlock/index.d.ts +3 -2
- package/dist/components/CodeBlock/index.d.ts.map +1 -1
- package/dist/components/Collapsible/Collapsible.module.scss.cjs +9 -9
- package/dist/components/Collapsible/Collapsible.module.scss.js +9 -9
- package/dist/components/ColorPicker/ColorPicker.module.scss.cjs +14 -14
- package/dist/components/ColorPicker/ColorPicker.module.scss.js +14 -14
- package/dist/components/ColorPicker/index.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.module.scss.cjs +21 -21
- package/dist/components/Combobox/Combobox.module.scss.js +21 -21
- package/dist/components/Combobox/index.cjs +9 -5
- package/dist/components/Combobox/index.d.ts.map +1 -1
- package/dist/components/Combobox/index.js +9 -5
- package/dist/components/Command/Command.module.scss.cjs +14 -11
- package/dist/components/Command/Command.module.scss.js +14 -11
- package/dist/components/Command/index.cjs +2 -1
- package/dist/components/Command/index.d.ts +6 -1
- package/dist/components/Command/index.d.ts.map +1 -1
- package/dist/components/Command/index.js +2 -1
- package/dist/components/ConversationList/ConversationList.module.scss.cjs +10 -10
- package/dist/components/ConversationList/ConversationList.module.scss.js +10 -10
- package/dist/components/ConversationList/index.cjs +2 -2
- package/dist/components/ConversationList/index.js +2 -2
- package/dist/components/DataTable/DataTable.module.scss.cjs +31 -28
- package/dist/components/DataTable/DataTable.module.scss.js +31 -28
- package/dist/components/DataTable/DataTable.virtual.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.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/Dialog/index.cjs +2 -2
- package/dist/components/Dialog/index.d.ts +5 -4
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Drawer/Drawer.module.scss.cjs +39 -39
- package/dist/components/Drawer/Drawer.module.scss.js +40 -40
- package/dist/components/Drawer/index.cjs +2 -2
- package/dist/components/Drawer/index.d.ts +5 -4
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +2 -2
- 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 +11 -11
- package/dist/components/EmptyState/EmptyState.module.scss.js +11 -11
- package/dist/components/EmptyState/index.cjs +9 -4
- package/dist/components/EmptyState/index.d.ts +8 -5
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/EmptyState/index.js +9 -4
- package/dist/components/Field/Field.module.scss.cjs +5 -5
- package/dist/components/Field/Field.module.scss.js +5 -5
- package/dist/components/Fieldset/Fieldset.module.scss.cjs +3 -3
- package/dist/components/Fieldset/Fieldset.module.scss.js +3 -3
- package/dist/components/Grid/Grid.module.scss.cjs +54 -54
- package/dist/components/Grid/Grid.module.scss.js +54 -54
- package/dist/components/Header/Header.module.scss.cjs +33 -33
- package/dist/components/Header/Header.module.scss.js +33 -33
- package/dist/components/Icon/Icon.module.scss.cjs +30 -33
- package/dist/components/Icon/Icon.module.scss.js +30 -33
- package/dist/components/Icon/index.cjs +15 -14
- package/dist/components/Icon/index.d.ts +23 -12
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +15 -14
- package/dist/components/IconButton/IconButton.module.scss.cjs +12 -12
- package/dist/components/IconButton/IconButton.module.scss.js +12 -12
- package/dist/components/IconButton/index.d.ts +4 -4
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/Input/Input.module.scss.cjs +15 -21
- package/dist/components/Input/Input.module.scss.js +15 -21
- package/dist/components/Input/index.cjs +2 -14
- package/dist/components/Input/index.d.ts +0 -2
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js +2 -14
- package/dist/components/Link/Link.module.scss.cjs +24 -16
- package/dist/components/Link/Link.module.scss.js +24 -16
- package/dist/components/Link/index.cjs +13 -2
- package/dist/components/Link/index.d.ts +10 -3
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +13 -2
- package/dist/components/List/List.module.scss.cjs +23 -19
- package/dist/components/List/List.module.scss.js +23 -19
- package/dist/components/List/index.cjs +7 -7
- package/dist/components/List/index.d.ts +10 -7
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +7 -7
- 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/Loading/index.cjs +5 -5
- package/dist/components/Loading/index.d.ts +8 -7
- package/dist/components/Loading/index.d.ts.map +1 -1
- package/dist/components/Loading/index.js +5 -5
- 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 +20 -20
- package/dist/components/Message/Message.module.scss.js +20 -20
- package/dist/components/Message/index.cjs +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.js +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.cjs +29 -29
- package/dist/components/NavigationMenu/NavigationMenu.module.scss.js +29 -29
- package/dist/components/Pagination/Pagination.module.scss.cjs +10 -10
- package/dist/components/Pagination/Pagination.module.scss.js +10 -10
- package/dist/components/Popover/Popover.module.scss.cjs +10 -10
- package/dist/components/Popover/Popover.module.scss.js +10 -10
- package/dist/components/Progress/Progress.module.scss.cjs +28 -25
- package/dist/components/Progress/Progress.module.scss.js +28 -25
- package/dist/components/Progress/index.cjs +21 -12
- package/dist/components/Progress/index.d.ts +10 -6
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +21 -12
- package/dist/components/Prompt/Prompt.module.scss.cjs +30 -30
- package/dist/components/Prompt/Prompt.module.scss.js +30 -30
- package/dist/components/Prompt/index.cjs +7 -7
- package/dist/components/Prompt/index.d.ts +11 -9
- package/dist/components/Prompt/index.d.ts.map +1 -1
- package/dist/components/Prompt/index.js +7 -7
- package/dist/components/RadioGroup/RadioGroup.module.scss.cjs +20 -17
- package/dist/components/RadioGroup/RadioGroup.module.scss.js +20 -17
- package/dist/components/RadioGroup/index.cjs +10 -5
- package/dist/components/RadioGroup/index.d.ts +11 -7
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +10 -5
- package/dist/components/ScrollArea/ScrollArea.module.scss.cjs +5 -5
- package/dist/components/ScrollArea/ScrollArea.module.scss.js +5 -5
- package/dist/components/Select/Select.module.scss.cjs +21 -21
- package/dist/components/Select/Select.module.scss.js +21 -21
- package/dist/components/Select/index.cjs +26 -20
- package/dist/components/Select/index.d.ts +5 -5
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +26 -20
- package/dist/components/Separator/Separator.module.scss.cjs +25 -19
- package/dist/components/Separator/Separator.module.scss.js +25 -19
- package/dist/components/Separator/index.cjs +10 -8
- package/dist/components/Separator/index.d.ts +4 -2
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/index.js +10 -8
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +43 -43
- package/dist/components/Sidebar/Sidebar.module.scss.js +43 -43
- package/dist/components/Sidebar/index.cjs +3 -3
- package/dist/components/Sidebar/index.js +3 -3
- package/dist/components/Skeleton/Skeleton.module.scss.cjs +46 -46
- package/dist/components/Skeleton/Skeleton.module.scss.js +46 -46
- package/dist/components/Skeleton/index.cjs +7 -7
- package/dist/components/Skeleton/index.d.ts +8 -7
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +7 -7
- package/dist/components/Slider/Slider.module.scss.cjs +12 -12
- package/dist/components/Slider/Slider.module.scss.js +12 -12
- package/dist/components/Switch/Switch.module.scss.cjs +9 -9
- package/dist/components/Switch/Switch.module.scss.js +9 -9
- package/dist/components/Table/Table.module.scss.cjs +15 -15
- package/dist/components/Table/Table.module.scss.js +15 -15
- 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 +1 -1
- package/dist/components/TableOfContents/index.js +1 -1
- package/dist/components/Tabs/Tabs.module.scss.cjs +18 -18
- package/dist/components/Tabs/Tabs.module.scss.js +18 -18
- package/dist/components/Tabs/index.cjs +5 -6
- package/dist/components/Tabs/index.d.ts +8 -6
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +5 -6
- package/dist/components/Text/Text.module.scss.cjs +105 -105
- package/dist/components/Text/Text.module.scss.js +105 -105
- package/dist/components/Text/index.cjs +5 -9
- package/dist/components/Text/index.d.ts +15 -11
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +5 -9
- package/dist/components/Textarea/Textarea.module.scss.cjs +22 -28
- package/dist/components/Textarea/Textarea.module.scss.js +22 -28
- package/dist/components/Textarea/index.cjs +3 -10
- package/dist/components/Textarea/index.d.ts +0 -2
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +3 -10
- package/dist/components/Theme/index.cjs +20 -4
- package/dist/components/Theme/index.d.ts +6 -12
- package/dist/components/Theme/index.d.ts.map +1 -1
- package/dist/components/Theme/index.js +20 -4
- package/dist/components/ThemeToggle/ThemeButton.cjs +51 -0
- package/dist/components/ThemeToggle/ThemeButton.d.ts +16 -0
- package/dist/components/ThemeToggle/ThemeButton.d.ts.map +1 -0
- package/dist/components/ThemeToggle/ThemeButton.js +34 -0
- package/dist/components/ThemeToggle/ThemeToggle.module.scss.cjs +6 -9
- package/dist/components/ThemeToggle/ThemeToggle.module.scss.js +6 -9
- package/dist/components/ThemeToggle/icons.cjs +48 -0
- package/dist/components/ThemeToggle/icons.d.ts +10 -0
- package/dist/components/ThemeToggle/icons.d.ts.map +1 -0
- package/dist/components/ThemeToggle/icons.js +48 -0
- package/dist/components/ThemeToggle/index.cjs +5 -74
- package/dist/components/ThemeToggle/index.d.ts +5 -8
- package/dist/components/ThemeToggle/index.d.ts.map +1 -1
- package/dist/components/ThemeToggle/index.js +3 -72
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.cjs +18 -15
- package/dist/components/ThinkingIndicator/ThinkingIndicator.module.scss.js +18 -15
- package/dist/components/ThinkingIndicator/index.cjs +7 -8
- package/dist/components/ThinkingIndicator/index.d.ts +6 -5
- package/dist/components/ThinkingIndicator/index.d.ts.map +1 -1
- package/dist/components/ThinkingIndicator/index.js +7 -8
- package/dist/components/Toast/Toast.module.scss.cjs +28 -29
- package/dist/components/Toast/Toast.module.scss.js +29 -30
- package/dist/components/Toast/index.cjs +28 -30
- package/dist/components/Toast/index.d.ts +9 -8
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js +28 -30
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.cjs +21 -19
- package/dist/components/ToggleGroup/ToggleGroup.module.scss.js +22 -20
- package/dist/components/ToggleGroup/index.cjs +4 -5
- package/dist/components/ToggleGroup/index.d.ts +7 -6
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +4 -5
- package/dist/components/Tooltip/Tooltip.module.scss.cjs +3 -3
- package/dist/components/Tooltip/Tooltip.module.scss.js +3 -3
- package/dist/components/VisuallyHidden/VisuallyHidden.module.scss.cjs +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.module.scss.js +1 -1
- package/dist/data-table-virtual.cjs +3 -2
- package/dist/data-table-virtual.js +3 -2
- package/dist/data-table.cjs +1 -1
- package/dist/data-table.js +1 -1
- package/dist/datepicker.cjs +23 -11
- package/dist/datepicker.js +23 -11
- package/dist/index.cjs +5 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/measurements/generated.cjs +37 -93
- package/dist/measurements/generated.d.ts +37 -92
- package/dist/measurements/generated.d.ts.map +1 -1
- package/dist/measurements/generated.js +37 -93
- package/dist/measurements/index.d.ts +1 -1
- package/dist/measurements/index.d.ts.map +1 -1
- package/dist/utils/seed-derivation.cjs +0 -1
- package/dist/utils/seed-derivation.d.ts +1 -3
- package/dist/utils/seed-derivation.d.ts.map +1 -1
- package/dist/utils/seed-derivation.js +0 -1
- package/dist/utils/theme-presets.cjs +5 -10
- package/dist/utils/theme-presets.d.ts +1 -2
- package/dist/utils/theme-presets.d.ts.map +1 -1
- package/dist/utils/theme-presets.js +5 -10
- package/fragments.json +1 -1
- package/package.json +5 -8
- package/src/assets/nav-glyph.module.scss +166 -0
- package/src/assets/nav-glyph.tsx +188 -0
- package/src/components/Accordion/Accordion.module.scss +5 -3
- package/src/components/Alert/Alert.contract.json +18 -18
- package/src/components/Alert/Alert.module.scss +50 -64
- package/src/components/Alert/index.tsx +24 -17
- package/src/components/AppShell/AppShell.contract.json +7 -7
- package/src/components/AppShell/AppShell.module.scss +49 -17
- package/src/components/AppShell/index.tsx +2 -2
- package/src/components/Avatar/Avatar.module.scss +0 -1
- package/src/components/Badge/Badge.contract.json +58 -22
- package/src/components/Badge/Badge.module.scss +72 -47
- package/src/components/Badge/index.tsx +34 -17
- package/src/components/BentoGrid/BentoGrid.module.scss +4 -8
- package/src/components/Box/Box.module.scss +7 -6
- package/src/components/Breadcrumbs/Breadcrumbs.module.scss +15 -5
- package/src/components/Breadcrumbs/index.tsx +5 -1
- package/src/components/Button/Button.module.scss +261 -186
- package/src/components/Button/index.tsx +41 -28
- package/src/components/ButtonGroup/ButtonGroup.contract.json +5 -5
- package/src/components/ButtonGroup/ButtonGroup.module.scss +8 -6
- package/src/components/Card/Card.consumer-fixture.module.scss +5 -2
- package/src/components/Card/Card.module.scss +73 -133
- package/src/components/Card/index.tsx +41 -36
- package/src/components/Chart/Chart.module.scss +6 -5
- package/src/components/Checkbox/Checkbox.contract.json +4 -3
- package/src/components/Checkbox/Checkbox.module.scss +16 -32
- package/src/components/Checkbox/index.tsx +6 -8
- package/src/components/Chip/Chip.contract.json +10 -10
- package/src/components/Chip/Chip.module.scss +23 -22
- package/src/components/Chip/index.tsx +10 -6
- package/src/components/CodeBlock/CodeBlock.module.scss +47 -70
- package/src/components/CodeBlock/index.tsx +23 -16
- package/src/components/Collapsible/Collapsible.module.scss +1 -7
- package/src/components/ColorPicker/ColorPicker.module.scss +20 -13
- package/src/components/ColorPicker/index.tsx +1 -0
- package/src/components/Combobox/Combobox.module.scss +16 -19
- package/src/components/Combobox/index.tsx +10 -1
- package/src/components/Command/Command.contract.json +7 -1
- package/src/components/Command/Command.module.scss +19 -21
- package/src/components/Command/index.tsx +7 -1
- package/src/components/ComponentDefaults/ComponentDefaults.contract.json +91 -0
- package/src/components/ConversationList/ConversationList.module.scss +2 -3
- package/src/components/ConversationList/index.tsx +2 -2
- package/src/components/DataTable/DataTable.module.scss +12 -9
- package/src/components/DataTable/DataTable.virtual.tsx +3 -2
- package/src/components/DataTable/index.tsx +1 -1
- package/src/components/DatePicker/DatePicker.module.scss +32 -42
- package/src/components/DatePicker/index.tsx +18 -7
- package/src/components/Dialog/Dialog.module.scss +23 -29
- package/src/components/Dialog/index.tsx +7 -5
- package/src/components/Drawer/Drawer.contract.json +6 -6
- package/src/components/Drawer/Drawer.module.scss +123 -64
- package/src/components/Drawer/index.tsx +7 -5
- package/src/components/Editor/Editor.contract.json +1 -1
- package/src/components/Editor/Editor.module.scss +26 -13
- package/src/components/EmptyState/EmptyState.contract.json +6 -6
- package/src/components/EmptyState/EmptyState.module.scss +31 -23
- package/src/components/EmptyState/index.tsx +17 -9
- package/src/components/Field/Field.module.scss +2 -1
- package/src/components/Fieldset/Fieldset.module.scss +5 -4
- package/src/components/Form/Form.contract.json +4 -4
- package/src/components/Grid/Grid.module.scss +2 -2
- package/src/components/Header/Header.contract.json +2 -2
- package/src/components/Header/Header.module.scss +24 -36
- package/src/components/Icon/Icon.contract.json +19 -23
- package/src/components/Icon/Icon.module.scss +13 -12
- package/src/components/Icon/index.tsx +31 -31
- package/src/components/IconButton/IconButton.contract.json +8 -8
- package/src/components/IconButton/IconButton.module.scss +13 -4
- package/src/components/IconButton/index.tsx +4 -4
- package/src/components/Input/Input.contract.json +0 -13
- package/src/components/Input/Input.module.scss +4 -54
- package/src/components/Input/index.tsx +2 -18
- package/src/components/Link/Link.contract.json +19 -11
- package/src/components/Link/Link.module.scss +24 -10
- package/src/components/Link/index.tsx +26 -5
- package/src/components/List/List.contract.json +11 -11
- package/src/components/List/List.module.scss +10 -5
- package/src/components/List/index.tsx +17 -13
- package/src/components/Listbox/Listbox.module.scss +14 -20
- package/src/components/Loading/Loading.contract.json +6 -6
- package/src/components/Loading/Loading.module.scss +29 -26
- package/src/components/Loading/index.tsx +13 -12
- package/src/components/Markdown/Markdown.module.scss +2 -1
- package/src/components/Menu/Menu.contract.json +5 -5
- package/src/components/Menu/Menu.module.scss +11 -10
- package/src/components/Message/Message.contract.json +5 -5
- package/src/components/Message/Message.module.scss +8 -6
- package/src/components/Message/index.tsx +2 -2
- package/src/components/NavigationMenu/NavigationMenu.module.scss +22 -67
- package/src/components/Pagination/Pagination.module.scss +7 -14
- package/src/components/Popover/Popover.contract.json +4 -4
- package/src/components/Popover/Popover.module.scss +24 -23
- package/src/components/Progress/Progress.contract.json +11 -11
- package/src/components/Progress/Progress.module.scss +13 -8
- package/src/components/Progress/index.tsx +34 -16
- package/src/components/Prompt/Prompt.contract.json +12 -12
- package/src/components/Prompt/Prompt.module.scss +40 -47
- package/src/components/Prompt/index.tsx +17 -15
- package/src/components/RadioGroup/RadioGroup.contract.json +6 -4
- package/src/components/RadioGroup/RadioGroup.module.scss +38 -32
- package/src/components/RadioGroup/index.tsx +23 -10
- package/src/components/ScrollArea/ScrollArea.module.scss +30 -33
- package/src/components/Select/Select.module.scss +19 -18
- package/src/components/Select/index.tsx +26 -24
- package/src/components/Separator/Separator.contract.json +10 -10
- package/src/components/Separator/Separator.module.scss +24 -40
- package/src/components/Separator/index.tsx +16 -11
- package/src/components/Sidebar/Sidebar.contract.json +1 -1
- package/src/components/Sidebar/Sidebar.module.scss +92 -95
- package/src/components/Sidebar/index.tsx +3 -3
- package/src/components/Skeleton/Skeleton.contract.json +9 -9
- package/src/components/Skeleton/Skeleton.module.scss +23 -16
- package/src/components/Skeleton/index.tsx +16 -15
- package/src/components/Slider/Slider.module.scss +6 -19
- package/src/components/Stack/Stack.contract.json +1 -1
- package/src/components/Stack/Stack.module.scss +13 -12
- package/src/components/Switch/Switch.module.scss +44 -35
- package/src/components/Table/Table.module.scss +9 -13
- package/src/components/TableOfContents/TableOfContents.module.scss +12 -18
- package/src/components/TableOfContents/index.tsx +1 -1
- package/src/components/Tabs/Tabs.contract.json +14 -14
- package/src/components/Tabs/Tabs.module.scss +27 -31
- package/src/components/Tabs/index.tsx +15 -12
- package/src/components/Text/Text.contract.json +36 -14
- package/src/components/Text/Text.module.scss +19 -20
- package/src/components/Text/index.tsx +23 -21
- package/src/components/Textarea/Textarea.contract.json +0 -13
- package/src/components/Textarea/Textarea.module.scss +24 -52
- package/src/components/Textarea/index.tsx +3 -14
- package/src/components/Theme/Theme.contract.json +9 -8
- package/src/components/Theme/index.tsx +39 -12
- package/src/components/ThemeToggle/ThemeButton.tsx +49 -0
- package/src/components/ThemeToggle/ThemeToggle.module.scss +21 -44
- package/src/components/ThemeToggle/icons.tsx +46 -0
- package/src/components/ThemeToggle/index.tsx +8 -90
- package/src/components/ThinkingIndicator/ThinkingIndicator.contract.json +11 -10
- package/src/components/ThinkingIndicator/ThinkingIndicator.module.scss +9 -7
- package/src/components/ThinkingIndicator/index.tsx +12 -14
- package/src/components/Toast/Toast.contract.json +29 -13
- package/src/components/Toast/Toast.module.scss +49 -104
- package/src/components/Toast/index.tsx +39 -34
- package/src/components/ToggleGroup/ToggleGroup.contract.json +13 -13
- package/src/components/ToggleGroup/ToggleGroup.module.scss +16 -46
- package/src/components/ToggleGroup/index.tsx +11 -11
- package/src/components/Tooltip/Tooltip.contract.json +3 -3
- package/src/components/Tooltip/Tooltip.module.scss +16 -10
- package/src/components/VisuallyHidden/VisuallyHidden.module.scss +4 -14
- package/src/index.ts +14 -10
- package/src/measurements/MeasurementTargets.module.scss +6 -7
- package/src/measurements/generated.ts +38 -96
- package/src/measurements/index.ts +0 -1
- package/src/measurements/measurements.json +37 -116
- package/src/recipes/_action.scss +4 -4
- package/src/recipes/_boolean-range.scss +9 -5
- package/src/recipes/_feedback.scss +17 -16
- package/src/recipes/_field.scss +28 -20
- package/src/recipes/_navigation.scss +84 -29
- package/src/recipes/_overlay.scss +143 -43
- package/src/recipes/_popup.scss +46 -36
- package/src/recipes/_prose.scss +35 -23
- package/src/recipes/_representation.scss +10 -9
- package/src/recipes/_segmented.scss +1 -1
- package/src/recipes/_table-chrome.scss +27 -16
- package/src/recipes/_target.scss +2 -4
- package/src/recipes/_typography.scss +10 -0
- package/src/styles/globals.scss +14 -9
- package/src/tokens/_component-properties.scss +19 -1
- package/src/tokens/_computed.scss +27 -33
- package/src/tokens/_measurements.catalog.generated.css +58 -45
- package/src/tokens/_measurements.generated.scss +107 -250
- package/src/tokens/_mixins.scss +42 -40
- package/src/tokens/_palettes.scss +1 -1
- package/src/tokens/_property-registrations.scss +9 -0
- package/src/tokens/_seeds.scss +1 -12
- package/src/tokens/_variables.scss +71 -59
- package/src/utils/seed-derivation.ts +1 -8
- package/src/utils/theme-presets.ts +5 -12
- package/dist/blocks/AccountSettings.block.d.ts +0 -3
- package/dist/blocks/AccountSettings.block.d.ts.map +0 -1
- package/dist/blocks/ActivityFeedSkeleton.block.d.ts +0 -3
- package/dist/blocks/ActivityFeedSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/BlogEditor.block.d.ts +0 -3
- package/dist/blocks/BlogEditor.block.d.ts.map +0 -1
- package/dist/blocks/ChatInterface.block.d.ts +0 -3
- package/dist/blocks/ChatInterface.block.d.ts.map +0 -1
- package/dist/blocks/ChatMessages.block.d.ts +0 -3
- package/dist/blocks/ChatMessages.block.d.ts.map +0 -1
- package/dist/blocks/CheckoutForm.block.d.ts +0 -3
- package/dist/blocks/CheckoutForm.block.d.ts.map +0 -1
- package/dist/blocks/CommandPalette.block.d.ts +0 -3
- package/dist/blocks/CommandPalette.block.d.ts.map +0 -1
- package/dist/blocks/ContactForm.block.d.ts +0 -3
- package/dist/blocks/ContactForm.block.d.ts.map +0 -1
- package/dist/blocks/DashboardPage.block.d.ts +0 -3
- package/dist/blocks/DashboardPage.block.d.ts.map +0 -1
- package/dist/blocks/DashboardSkeleton.block.d.ts +0 -3
- package/dist/blocks/DashboardSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/DataTable.block.d.ts +0 -3
- package/dist/blocks/DataTable.block.d.ts.map +0 -1
- package/dist/blocks/EmptyState.block.d.ts +0 -3
- package/dist/blocks/EmptyState.block.d.ts.map +0 -1
- package/dist/blocks/FAQSection.block.d.ts +0 -3
- package/dist/blocks/FAQSection.block.d.ts.map +0 -1
- package/dist/blocks/FeatureGrid.block.d.ts +0 -3
- package/dist/blocks/FeatureGrid.block.d.ts.map +0 -1
- package/dist/blocks/HeroSection.block.d.ts +0 -3
- package/dist/blocks/HeroSection.block.d.ts.map +0 -1
- package/dist/blocks/NavigationHeader.block.d.ts +0 -3
- package/dist/blocks/NavigationHeader.block.d.ts.map +0 -1
- package/dist/blocks/PaginatedTable.block.d.ts +0 -3
- package/dist/blocks/PaginatedTable.block.d.ts.map +0 -1
- package/dist/blocks/PricingComparison.block.d.ts +0 -3
- package/dist/blocks/PricingComparison.block.d.ts.map +0 -1
- package/dist/blocks/ProductCard.block.d.ts +0 -3
- package/dist/blocks/ProductCard.block.d.ts.map +0 -1
- package/dist/blocks/RegistrationForm.block.d.ts +0 -3
- package/dist/blocks/RegistrationForm.block.d.ts.map +0 -1
- package/dist/blocks/SettingsDrawer.block.d.ts +0 -3
- package/dist/blocks/SettingsDrawer.block.d.ts.map +0 -1
- package/dist/blocks/SettingsPanel.block.d.ts +0 -3
- package/dist/blocks/SettingsPanel.block.d.ts.map +0 -1
- package/dist/blocks/ShoppingCart.block.d.ts +0 -3
- package/dist/blocks/ShoppingCart.block.d.ts.map +0 -1
- package/dist/blocks/StatsCardSkeleton.block.d.ts +0 -3
- package/dist/blocks/StatsCardSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/TableSkeleton.block.d.ts +0 -3
- package/dist/blocks/TableSkeleton.block.d.ts.map +0 -1
- package/dist/blocks/ThinkingStates.block.d.ts +0 -3
- package/dist/blocks/ThinkingStates.block.d.ts.map +0 -1
- package/dist/components/Toggle/index.d.ts +0 -3
- package/dist/components/Toggle/index.d.ts.map +0 -1
- package/src/components/Toggle/index.ts +0 -7
- package/src/tokens/_density.scss +0 -85
package/README.md
CHANGED
|
@@ -148,9 +148,9 @@ All fragment and block previews are authored source snippets, not runtime-serial
|
|
|
148
148
|
|
|
149
149
|
## Design Tokens
|
|
150
150
|
|
|
151
|
-
###
|
|
151
|
+
### Seeds
|
|
152
152
|
|
|
153
|
-
|
|
153
|
+
Seven seeds drive every derived token. Set them with the SCSS `@use ... with()` syntax on the styles entry point:
|
|
154
154
|
|
|
155
155
|
```scss
|
|
156
156
|
// styles/globals.scss
|
|
@@ -165,8 +165,6 @@ Configure ~5 seeds and everything derives automatically using the SCSS `@use ...
|
|
|
165
165
|
// Full customization
|
|
166
166
|
@use "@usefragments/ui/styles" with (
|
|
167
167
|
$fui-brand: #0066ff,
|
|
168
|
-
$fui-neutral: "ice",
|
|
169
|
-
$fui-density: "compact",
|
|
170
168
|
$fui-radius-style: "rounded",
|
|
171
169
|
$fui-danger: #dc2626,
|
|
172
170
|
$fui-success: #16a34a
|
|
@@ -175,37 +173,17 @@ Configure ~5 seeds and everything derives automatically using the SCSS `@use ...
|
|
|
175
173
|
|
|
176
174
|
#### Available Seeds
|
|
177
175
|
|
|
178
|
-
| Seed | Type | Default | Description
|
|
179
|
-
| ------------------- | ------ | ----------- |
|
|
180
|
-
| `$fui-brand` | Color | `#
|
|
181
|
-
| `$fui-neutral` | String | `"
|
|
182
|
-
| `$fui-
|
|
183
|
-
| `$fui-
|
|
184
|
-
| `$fui-
|
|
185
|
-
| `$fui-
|
|
186
|
-
| `$fui-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
#### Neutral Palettes
|
|
190
|
-
|
|
191
|
-
| Name | Description |
|
|
192
|
-
| ----------- | --------------------------------------------- |
|
|
193
|
-
| `carbon` | Near-black product chrome — default |
|
|
194
|
-
| `stone` | Cool gray neutrals (balanced, professional) |
|
|
195
|
-
| `mono` | Strict grayscale neutrals |
|
|
196
|
-
| `ice` | Cool blue-tinted grays (crisp, technical) |
|
|
197
|
-
| `earth` | Warm brown-tinted grays (natural, grounded) |
|
|
198
|
-
| `sand` | Warm tan-tinted grays (organic, approachable) |
|
|
199
|
-
| `fire` | Warm red-tinted grays (bold, energetic) |
|
|
200
|
-
| `fragments` | Fragments' original neutral palette |
|
|
201
|
-
|
|
202
|
-
#### Density Presets
|
|
203
|
-
|
|
204
|
-
| Name | Base Unit | Feel |
|
|
205
|
-
| --------- | --------- | ----------------------------------- |
|
|
206
|
-
| `compact` | 6px | Tighter spacing, smaller elements |
|
|
207
|
-
| `default` | 7px | Balanced, current visual appearance |
|
|
208
|
-
| `relaxed` | 8px | More spacious layout |
|
|
176
|
+
| Seed | Type | Default | Description |
|
|
177
|
+
| ------------------- | ------ | ----------- | --------------------------------------------------------------------------- |
|
|
178
|
+
| `$fui-brand` | Color | `#f56138` | Brand color — derives the accent ramp, focus rings and the dark-mode accent |
|
|
179
|
+
| `$fui-neutral` | String | `"paper"` | The neutral ramp: warm cream canvas, white cards, warm charcoal dark mode |
|
|
180
|
+
| `$fui-radius-style` | String | `"default"` | Corner radius style |
|
|
181
|
+
| `$fui-danger` | Color | `#c44732` | Danger semantic color |
|
|
182
|
+
| `$fui-success` | Color | `#2c8c5f` | Success semantic color |
|
|
183
|
+
| `$fui-warning` | Color | `#c4922a` | Warning semantic color |
|
|
184
|
+
| `$fui-info` | Color | `#3d7aa8` | Info semantic color |
|
|
185
|
+
|
|
186
|
+
`"paper"` is the only neutral ramp that ships: one light theme, one dark theme. Any other `$fui-neutral` value fails the build.
|
|
209
187
|
|
|
210
188
|
#### Radius Styles
|
|
211
189
|
|
|
@@ -217,7 +195,32 @@ Configure ~5 seeds and everything derives automatically using the SCSS `@use ...
|
|
|
217
195
|
| `rounded` | More prominent (friendly) |
|
|
218
196
|
| `pill` | Maximum rounding (playful, soft) |
|
|
219
197
|
|
|
220
|
-
###
|
|
198
|
+
### Runtime attributes
|
|
199
|
+
|
|
200
|
+
The compiled stylesheet also answers two attributes on `<html>` (or any ancestor), so a page can switch without a rebuild:
|
|
201
|
+
|
|
202
|
+
| Attribute | Values | Effect |
|
|
203
|
+
| ----------------------- | --------------------------------------- | --------------------------------------- |
|
|
204
|
+
| `data-theme` | `light` · `dark` | Colour scheme (`ThemeProvider` sets it) |
|
|
205
|
+
| `data-fui-radius-style` | `sharp` · `subtle` · `rounded` · `pill` | Radius profile; absent = `default` |
|
|
206
|
+
|
|
207
|
+
### Shared state tokens
|
|
208
|
+
|
|
209
|
+
Every component reads these instead of carrying its own literal, so one override changes the whole kit:
|
|
210
|
+
|
|
211
|
+
| Token | Default | Purpose |
|
|
212
|
+
| ------------------------ | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
213
|
+
| `--fui-opacity-faint` | `0.3` | Faint decoration: pulse rings and glow tracks |
|
|
214
|
+
| `--fui-opacity-disabled` | `0.5` | Disabled controls (`@include disabled-state` in SCSS) |
|
|
215
|
+
| `--fui-opacity-muted` | `0.7` | Dimmed but live: collapsed rails, secondary glyphs, decorative rules |
|
|
216
|
+
| `--fui-radius-none` | `0` | Square corners: joined segments, skeleton blocks, code gutters |
|
|
217
|
+
| `--fui-radius-l1` | `--fui-radius-lg` | Outermost surface level: cards, dialogs, panels |
|
|
218
|
+
| `--fui-radius-l2` | `--fui-radius-md` | Control level: buttons, inputs, menus |
|
|
219
|
+
| `--fui-radius-l3` | `--fui-radius-sm` | Inner level: checkboxes, badges, nested chips |
|
|
220
|
+
| `--fui-scale` | `1` | Multiplies the spacing scale (`--fui-space-*`) and the measurement-catalog lengths (control and field tracks, insets, overlay widths, navigation); radius, strokes and type stay fixed |
|
|
221
|
+
| `--fui-stroke-default` | measurement target | Stroke used by `@include high-contrast-outline` under `prefers-contrast` |
|
|
222
|
+
|
|
223
|
+
### Individual Token Overrides
|
|
221
224
|
|
|
222
225
|
You can still override individual tokens directly:
|
|
223
226
|
|
|
@@ -253,35 +256,22 @@ You can still override individual tokens directly:
|
|
|
253
256
|
| `$fui-breakpoint-lg` | 1024px |
|
|
254
257
|
| `$fui-breakpoint-xl` | 1280px |
|
|
255
258
|
|
|
256
|
-
###
|
|
257
|
-
|
|
258
|
-
**Existing code continues to work.** The seed system is fully backward compatible:
|
|
259
|
+
### Migrating token overrides to seeds
|
|
259
260
|
|
|
260
|
-
|
|
261
|
-
- Individual variable overrides (`$fui-color-accent: #blue`) still work
|
|
262
|
-
- CSS variable usage (`var(--fui-color-accent)`) works
|
|
263
|
-
- Component APIs remain the same
|
|
264
|
-
- Visual appearance is unchanged with default seeds
|
|
261
|
+
Instead of overriding many individual tokens, set seed values; dark mode, hover states and derived colors are computed automatically:
|
|
265
262
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
$fui-color-accent: #0066ff;
|
|
273
|
-
$fui-color-accent-hover: #0052cc;
|
|
274
|
-
$fui-bg-secondary: #f1f5f9;
|
|
275
|
-
// ...many more
|
|
276
|
-
|
|
277
|
-
// After: just seeds
|
|
278
|
-
@use "@usefragments/ui/styles" with (
|
|
279
|
-
$fui-brand: #0066ff,
|
|
280
|
-
$fui-neutral: "ice"
|
|
281
|
-
);
|
|
282
|
-
```
|
|
263
|
+
```scss
|
|
264
|
+
// Before: many individual overrides
|
|
265
|
+
$fui-color-accent: #0066ff;
|
|
266
|
+
$fui-color-accent-hover: #0052cc;
|
|
267
|
+
$fui-bg-secondary: #f1f5f9;
|
|
268
|
+
// ...many more
|
|
283
269
|
|
|
284
|
-
|
|
270
|
+
// After: just seeds
|
|
271
|
+
@use "@usefragments/ui/styles" with (
|
|
272
|
+
$fui-brand: #0066ff
|
|
273
|
+
);
|
|
274
|
+
```
|
|
285
275
|
|
|
286
276
|
## AI Agent Support
|
|
287
277
|
|
|
@@ -313,11 +303,9 @@ API-key header. There is no MCP npm package or local stdio process to install.
|
|
|
313
303
|
The library includes composition blocks — named patterns showing how components wire together for common use cases:
|
|
314
304
|
|
|
315
305
|
- **Login Form** — Email/password authentication form
|
|
316
|
-
- **Confirm Dialog** — Destructive action confirmation
|
|
317
|
-
- **Card Grid** — Responsive auto-fill card layout
|
|
318
|
-
- **Form Layout** — Two-column form with Grid
|
|
319
306
|
- **Dashboard Layout** — Featured card with metrics grid
|
|
320
|
-
- **
|
|
307
|
+
- **Stats Card** — Metric tile with delta badge
|
|
308
|
+
- **Activity Feed** — Avatar-led activity list
|
|
321
309
|
|
|
322
310
|
Access blocks through the Fragments docs or context generated by the CLI.
|
|
323
311
|
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const navGlyph_module = require("./nav-glyph.module.scss.cjs");
|
|
5
|
+
function part(verb, index, vars) {
|
|
6
|
+
const style = index === void 0 && !vars ? void 0 : { ...index === void 0 ? {} : { "--i": index }, ...vars };
|
|
7
|
+
return { className: [navGlyph_module.default.motion, navGlyph_module.default[verb]].join(" "), style };
|
|
8
|
+
}
|
|
9
|
+
function stroke(verb, index) {
|
|
10
|
+
return { ...part(verb, index), pathLength: 1 };
|
|
11
|
+
}
|
|
12
|
+
const GLYPHS = {
|
|
13
|
+
// Four tiles; the first is inked — the place you are standing.
|
|
14
|
+
overview: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16
|
+
"rect",
|
|
17
|
+
{
|
|
18
|
+
x: "2.5",
|
|
19
|
+
y: "2.5",
|
|
20
|
+
width: "4.5",
|
|
21
|
+
height: "4.5",
|
|
22
|
+
rx: "1",
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
stroke: "none",
|
|
25
|
+
...part("tile", 0)
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "2.5", width: "4.5", height: "4.5", rx: "1", ...part("tile", 1) }),
|
|
29
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "4.5", height: "4.5", rx: "1", ...part("tile", 2) }),
|
|
30
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2.5", y: "9", width: "4.5", height: "4.5", rx: "1", ...part("tile", 3) })
|
|
31
|
+
] }),
|
|
32
|
+
// A bound volume with its spine.
|
|
33
|
+
repository: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "2.5", width: "10", height: "11", rx: "1.5" }),
|
|
35
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 2.5v11", ...part("spine") })
|
|
36
|
+
] }),
|
|
37
|
+
// Two commits on the base branch, one on the branch merging in.
|
|
38
|
+
pullRequest: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
39
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "4.5", cy: "4", r: "1.75" }),
|
|
40
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "4.5", cy: "12", r: "1.75" }),
|
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 5.75v4.5" }),
|
|
42
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 4h1.75A1.75 1.75 0 0 1 11.5 5.75v4.5", ...stroke("branch") }),
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11.5", cy: "12", r: "1.75", ...part("head", 4) })
|
|
44
|
+
] }),
|
|
45
|
+
// A planted flag with a notched fly.
|
|
46
|
+
finding: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
47
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 14V2.5" }),
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 3h7.5l-1.75 2.5L11.5 8H4", ...part("fly") })
|
|
49
|
+
] }),
|
|
50
|
+
// A signed sheet with a folded corner.
|
|
51
|
+
contract: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
52
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 2.5h5l3 3v7.5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1z" }),
|
|
53
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.5 2.5v3h3" }),
|
|
54
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 8.5h3", ...stroke("line", 0) }),
|
|
55
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 11h3.5", ...stroke("line", 2) })
|
|
56
|
+
] }),
|
|
57
|
+
// Three bars climbing.
|
|
58
|
+
adoption: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2.25 13.5h11.5" }),
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 13.5V9.5", ...part("bar", 0) }),
|
|
61
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 13.5V6", ...part("bar", 1) }),
|
|
62
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 13.5V2.75", ...part("bar", 2) })
|
|
63
|
+
] }),
|
|
64
|
+
// The isometric cube from the card art.
|
|
65
|
+
component: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
66
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 1.75l5.5 3.15v6.2L8 14.25l-5.5-3.15v-6.2z" }),
|
|
67
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 8.05l5.5-3.15", ...stroke("edge", 0) }),
|
|
68
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 8.05L2.5 4.9", ...stroke("edge", 1) }),
|
|
69
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 8.05v6.2", ...stroke("edge", 2) })
|
|
70
|
+
] }),
|
|
71
|
+
// A terminal with its prompt.
|
|
72
|
+
setup: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
73
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "2", y: "3", width: "12", height: "10", rx: "1.5" }),
|
|
74
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 6.75l2 1.5-2 1.5", ...part("caret") }),
|
|
75
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.75 10.25h2.5", ...part("cursor") })
|
|
76
|
+
] }),
|
|
77
|
+
// Three sliders, each knob somewhere different.
|
|
78
|
+
settings: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
79
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2.5 4.5h11" }),
|
|
80
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
81
|
+
"circle",
|
|
82
|
+
{
|
|
83
|
+
cx: "10",
|
|
84
|
+
cy: "4.5",
|
|
85
|
+
r: "1.5",
|
|
86
|
+
fill: "currentColor",
|
|
87
|
+
stroke: "none",
|
|
88
|
+
...part("knob", 0, { "--dx": "2px" })
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2.5 8h11" }),
|
|
92
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
93
|
+
"circle",
|
|
94
|
+
{
|
|
95
|
+
cx: "6",
|
|
96
|
+
cy: "8",
|
|
97
|
+
r: "1.5",
|
|
98
|
+
fill: "currentColor",
|
|
99
|
+
stroke: "none",
|
|
100
|
+
...part("knob", 1, { "--dx": "-2px" })
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2.5 11.5h11" }),
|
|
104
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
105
|
+
"circle",
|
|
106
|
+
{
|
|
107
|
+
cx: "9.5",
|
|
108
|
+
cy: "11.5",
|
|
109
|
+
r: "1.5",
|
|
110
|
+
fill: "currentColor",
|
|
111
|
+
stroke: "none",
|
|
112
|
+
...part("knob", 2, { "--dx": "1.5px" })
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] })
|
|
116
|
+
};
|
|
117
|
+
const NAV_GLYPH_NAMES = Object.keys(GLYPHS);
|
|
118
|
+
function NavGlyph({ name, size = 16, className, ...rest }) {
|
|
119
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
120
|
+
"svg",
|
|
121
|
+
{
|
|
122
|
+
width: size,
|
|
123
|
+
height: size,
|
|
124
|
+
viewBox: "0 0 16 16",
|
|
125
|
+
fill: "none",
|
|
126
|
+
stroke: "currentColor",
|
|
127
|
+
strokeWidth: 1.5,
|
|
128
|
+
strokeLinecap: "round",
|
|
129
|
+
strokeLinejoin: "round",
|
|
130
|
+
"aria-hidden": "true",
|
|
131
|
+
focusable: "false",
|
|
132
|
+
className: [navGlyph_module.default.glyph, className].filter(Boolean).join(" "),
|
|
133
|
+
...rest,
|
|
134
|
+
children: GLYPHS[name]
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
exports.NAV_GLYPH_NAMES = NAV_GLYPH_NAMES;
|
|
139
|
+
exports.NavGlyph = NavGlyph;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The navigation glyph set: one 16px stroke glyph per governance destination.
|
|
4
|
+
* Drawn on a 16-unit grid with a 1.5 stroke, round caps and joins, and
|
|
5
|
+
* `currentColor` ink, so a glyph takes the colour of the row it sits in. The
|
|
6
|
+
* component glyph is the isometric cube the illustrated cards use, so the
|
|
7
|
+
* sidebar and the cards share one object language.
|
|
8
|
+
*
|
|
9
|
+
* Each glyph has one motion verb (see the module stylesheet) that plays when
|
|
10
|
+
* the link or button it sits in is hovered or focused. Parts that move carry
|
|
11
|
+
* `motion` plus their verb class; `--i` staggers siblings.
|
|
12
|
+
*/
|
|
13
|
+
export type NavGlyphName = "overview" | "repository" | "pullRequest" | "finding" | "contract" | "adoption" | "component" | "setup" | "settings";
|
|
14
|
+
export declare const NAV_GLYPH_NAMES: NavGlyphName[];
|
|
15
|
+
export interface NavGlyphProps extends Omit<React.SVGAttributes<SVGSVGElement>, "name"> {
|
|
16
|
+
/** Which glyph to draw. */
|
|
17
|
+
name: NavGlyphName;
|
|
18
|
+
/** Rendered box in px; the glyph inherits `currentColor`. */
|
|
19
|
+
size?: number | string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A navigation glyph. Decorative by default (`aria-hidden`): the label beside
|
|
23
|
+
* it names the destination. Pass `aria-label` and `role="img"` when the glyph
|
|
24
|
+
* stands alone. Its verb plays when the enclosing link or button is hovered
|
|
25
|
+
* or focused, and never under `prefers-reduced-motion: reduce`.
|
|
26
|
+
*/
|
|
27
|
+
export declare function NavGlyph({ name, size, className, ...rest }: NavGlyphProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=nav-glyph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-glyph.d.ts","sourceRoot":"","sources":["../../src/assets/nav-glyph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,YAAY,GACpB,UAAU,GACV,YAAY,GACZ,aAAa,GACb,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AAkIf,eAAO,MAAM,eAAe,EAA0B,YAAY,EAAE,CAAC;AAErE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACrF,2BAA2B;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,2CAmB9E"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import styles from "./nav-glyph.module.scss.js";
|
|
3
|
+
function part(verb, index, vars) {
|
|
4
|
+
const style = index === void 0 && !vars ? void 0 : { ...index === void 0 ? {} : { "--i": index }, ...vars };
|
|
5
|
+
return { className: [styles.motion, styles[verb]].join(" "), style };
|
|
6
|
+
}
|
|
7
|
+
function stroke(verb, index) {
|
|
8
|
+
return { ...part(verb, index), pathLength: 1 };
|
|
9
|
+
}
|
|
10
|
+
const GLYPHS = {
|
|
11
|
+
// Four tiles; the first is inked — the place you are standing.
|
|
12
|
+
overview: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"rect",
|
|
15
|
+
{
|
|
16
|
+
x: "2.5",
|
|
17
|
+
y: "2.5",
|
|
18
|
+
width: "4.5",
|
|
19
|
+
height: "4.5",
|
|
20
|
+
rx: "1",
|
|
21
|
+
fill: "currentColor",
|
|
22
|
+
stroke: "none",
|
|
23
|
+
...part("tile", 0)
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "2.5", width: "4.5", height: "4.5", rx: "1", ...part("tile", 1) }),
|
|
27
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "4.5", height: "4.5", rx: "1", ...part("tile", 2) }),
|
|
28
|
+
/* @__PURE__ */ jsx("rect", { x: "2.5", y: "9", width: "4.5", height: "4.5", rx: "1", ...part("tile", 3) })
|
|
29
|
+
] }),
|
|
30
|
+
// A bound volume with its spine.
|
|
31
|
+
repository: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "2.5", width: "10", height: "11", rx: "1.5" }),
|
|
33
|
+
/* @__PURE__ */ jsx("path", { d: "M6 2.5v11", ...part("spine") })
|
|
34
|
+
] }),
|
|
35
|
+
// Two commits on the base branch, one on the branch merging in.
|
|
36
|
+
pullRequest: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
37
|
+
/* @__PURE__ */ jsx("circle", { cx: "4.5", cy: "4", r: "1.75" }),
|
|
38
|
+
/* @__PURE__ */ jsx("circle", { cx: "4.5", cy: "12", r: "1.75" }),
|
|
39
|
+
/* @__PURE__ */ jsx("path", { d: "M4.5 5.75v4.5" }),
|
|
40
|
+
/* @__PURE__ */ jsx("path", { d: "M8 4h1.75A1.75 1.75 0 0 1 11.5 5.75v4.5", ...stroke("branch") }),
|
|
41
|
+
/* @__PURE__ */ jsx("circle", { cx: "11.5", cy: "12", r: "1.75", ...part("head", 4) })
|
|
42
|
+
] }),
|
|
43
|
+
// A planted flag with a notched fly.
|
|
44
|
+
finding: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
+
/* @__PURE__ */ jsx("path", { d: "M4 14V2.5" }),
|
|
46
|
+
/* @__PURE__ */ jsx("path", { d: "M4 3h7.5l-1.75 2.5L11.5 8H4", ...part("fly") })
|
|
47
|
+
] }),
|
|
48
|
+
// A signed sheet with a folded corner.
|
|
49
|
+
contract: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
50
|
+
/* @__PURE__ */ jsx("path", { d: "M4.5 2.5h5l3 3v7.5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1z" }),
|
|
51
|
+
/* @__PURE__ */ jsx("path", { d: "M9.5 2.5v3h3" }),
|
|
52
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 8.5h3", ...stroke("line", 0) }),
|
|
53
|
+
/* @__PURE__ */ jsx("path", { d: "M6.5 11h3.5", ...stroke("line", 2) })
|
|
54
|
+
] }),
|
|
55
|
+
// Three bars climbing.
|
|
56
|
+
adoption: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
57
|
+
/* @__PURE__ */ jsx("path", { d: "M2.25 13.5h11.5" }),
|
|
58
|
+
/* @__PURE__ */ jsx("path", { d: "M4 13.5V9.5", ...part("bar", 0) }),
|
|
59
|
+
/* @__PURE__ */ jsx("path", { d: "M8 13.5V6", ...part("bar", 1) }),
|
|
60
|
+
/* @__PURE__ */ jsx("path", { d: "M12 13.5V2.75", ...part("bar", 2) })
|
|
61
|
+
] }),
|
|
62
|
+
// The isometric cube from the card art.
|
|
63
|
+
component: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64
|
+
/* @__PURE__ */ jsx("path", { d: "M8 1.75l5.5 3.15v6.2L8 14.25l-5.5-3.15v-6.2z" }),
|
|
65
|
+
/* @__PURE__ */ jsx("path", { d: "M8 8.05l5.5-3.15", ...stroke("edge", 0) }),
|
|
66
|
+
/* @__PURE__ */ jsx("path", { d: "M8 8.05L2.5 4.9", ...stroke("edge", 1) }),
|
|
67
|
+
/* @__PURE__ */ jsx("path", { d: "M8 8.05v6.2", ...stroke("edge", 2) })
|
|
68
|
+
] }),
|
|
69
|
+
// A terminal with its prompt.
|
|
70
|
+
setup: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
71
|
+
/* @__PURE__ */ jsx("rect", { x: "2", y: "3", width: "12", height: "10", rx: "1.5" }),
|
|
72
|
+
/* @__PURE__ */ jsx("path", { d: "M5 6.75l2 1.5-2 1.5", ...part("caret") }),
|
|
73
|
+
/* @__PURE__ */ jsx("path", { d: "M8.75 10.25h2.5", ...part("cursor") })
|
|
74
|
+
] }),
|
|
75
|
+
// Three sliders, each knob somewhere different.
|
|
76
|
+
settings: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
77
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 4.5h11" }),
|
|
78
|
+
/* @__PURE__ */ jsx(
|
|
79
|
+
"circle",
|
|
80
|
+
{
|
|
81
|
+
cx: "10",
|
|
82
|
+
cy: "4.5",
|
|
83
|
+
r: "1.5",
|
|
84
|
+
fill: "currentColor",
|
|
85
|
+
stroke: "none",
|
|
86
|
+
...part("knob", 0, { "--dx": "2px" })
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 8h11" }),
|
|
90
|
+
/* @__PURE__ */ jsx(
|
|
91
|
+
"circle",
|
|
92
|
+
{
|
|
93
|
+
cx: "6",
|
|
94
|
+
cy: "8",
|
|
95
|
+
r: "1.5",
|
|
96
|
+
fill: "currentColor",
|
|
97
|
+
stroke: "none",
|
|
98
|
+
...part("knob", 1, { "--dx": "-2px" })
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
/* @__PURE__ */ jsx("path", { d: "M2.5 11.5h11" }),
|
|
102
|
+
/* @__PURE__ */ jsx(
|
|
103
|
+
"circle",
|
|
104
|
+
{
|
|
105
|
+
cx: "9.5",
|
|
106
|
+
cy: "11.5",
|
|
107
|
+
r: "1.5",
|
|
108
|
+
fill: "currentColor",
|
|
109
|
+
stroke: "none",
|
|
110
|
+
...part("knob", 2, { "--dx": "1.5px" })
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] })
|
|
114
|
+
};
|
|
115
|
+
const NAV_GLYPH_NAMES = Object.keys(GLYPHS);
|
|
116
|
+
function NavGlyph({ name, size = 16, className, ...rest }) {
|
|
117
|
+
return /* @__PURE__ */ jsx(
|
|
118
|
+
"svg",
|
|
119
|
+
{
|
|
120
|
+
width: size,
|
|
121
|
+
height: size,
|
|
122
|
+
viewBox: "0 0 16 16",
|
|
123
|
+
fill: "none",
|
|
124
|
+
stroke: "currentColor",
|
|
125
|
+
strokeWidth: 1.5,
|
|
126
|
+
strokeLinecap: "round",
|
|
127
|
+
strokeLinejoin: "round",
|
|
128
|
+
"aria-hidden": "true",
|
|
129
|
+
focusable: "false",
|
|
130
|
+
className: [styles.glyph, className].filter(Boolean).join(" "),
|
|
131
|
+
...rest,
|
|
132
|
+
children: GLYPHS[name]
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
export {
|
|
137
|
+
NAV_GLYPH_NAMES,
|
|
138
|
+
NavGlyph
|
|
139
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const glyph = "_glyph_1g87d_1";
|
|
4
|
+
const motion = "_motion_1g87d_7";
|
|
5
|
+
const tile = "_tile_1g87d_11";
|
|
6
|
+
const hop = "_hop_1g87d_1";
|
|
7
|
+
const spine = "_spine_1g87d_17";
|
|
8
|
+
const open = "_open_1g87d_1";
|
|
9
|
+
const branch = "_branch_1g87d_23";
|
|
10
|
+
const draw = "_draw_1g87d_1";
|
|
11
|
+
const head = "_head_1g87d_29";
|
|
12
|
+
const pop = "_pop_1g87d_1";
|
|
13
|
+
const fly = "_fly_1g87d_35";
|
|
14
|
+
const wave = "_wave_1g87d_1";
|
|
15
|
+
const line = "_line_1g87d_44";
|
|
16
|
+
const bar = "_bar_1g87d_50";
|
|
17
|
+
const rise = "_rise_1g87d_1";
|
|
18
|
+
const edge = "_edge_1g87d_59";
|
|
19
|
+
const caret = "_caret_1g87d_65";
|
|
20
|
+
const nudge = "_nudge_1g87d_1";
|
|
21
|
+
const cursor = "_cursor_1g87d_71";
|
|
22
|
+
const blink = "_blink_1g87d_1";
|
|
23
|
+
const knob = "_knob_1g87d_77";
|
|
24
|
+
const slide = "_slide_1g87d_1";
|
|
25
|
+
const styles = {
|
|
26
|
+
glyph,
|
|
27
|
+
motion,
|
|
28
|
+
tile,
|
|
29
|
+
hop,
|
|
30
|
+
spine,
|
|
31
|
+
open,
|
|
32
|
+
branch,
|
|
33
|
+
draw,
|
|
34
|
+
head,
|
|
35
|
+
pop,
|
|
36
|
+
fly,
|
|
37
|
+
wave,
|
|
38
|
+
line,
|
|
39
|
+
bar,
|
|
40
|
+
rise,
|
|
41
|
+
edge,
|
|
42
|
+
caret,
|
|
43
|
+
nudge,
|
|
44
|
+
cursor,
|
|
45
|
+
blink,
|
|
46
|
+
knob,
|
|
47
|
+
slide
|
|
48
|
+
};
|
|
49
|
+
exports.bar = bar;
|
|
50
|
+
exports.blink = blink;
|
|
51
|
+
exports.branch = branch;
|
|
52
|
+
exports.caret = caret;
|
|
53
|
+
exports.cursor = cursor;
|
|
54
|
+
exports.default = styles;
|
|
55
|
+
exports.draw = draw;
|
|
56
|
+
exports.edge = edge;
|
|
57
|
+
exports.fly = fly;
|
|
58
|
+
exports.glyph = glyph;
|
|
59
|
+
exports.head = head;
|
|
60
|
+
exports.hop = hop;
|
|
61
|
+
exports.knob = knob;
|
|
62
|
+
exports.line = line;
|
|
63
|
+
exports.motion = motion;
|
|
64
|
+
exports.nudge = nudge;
|
|
65
|
+
exports.open = open;
|
|
66
|
+
exports.pop = pop;
|
|
67
|
+
exports.rise = rise;
|
|
68
|
+
exports.slide = slide;
|
|
69
|
+
exports.spine = spine;
|
|
70
|
+
exports.tile = tile;
|
|
71
|
+
exports.wave = wave;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const glyph = "_glyph_1g87d_1";
|
|
2
|
+
const motion = "_motion_1g87d_7";
|
|
3
|
+
const tile = "_tile_1g87d_11";
|
|
4
|
+
const hop = "_hop_1g87d_1";
|
|
5
|
+
const spine = "_spine_1g87d_17";
|
|
6
|
+
const open = "_open_1g87d_1";
|
|
7
|
+
const branch = "_branch_1g87d_23";
|
|
8
|
+
const draw = "_draw_1g87d_1";
|
|
9
|
+
const head = "_head_1g87d_29";
|
|
10
|
+
const pop = "_pop_1g87d_1";
|
|
11
|
+
const fly = "_fly_1g87d_35";
|
|
12
|
+
const wave = "_wave_1g87d_1";
|
|
13
|
+
const line = "_line_1g87d_44";
|
|
14
|
+
const bar = "_bar_1g87d_50";
|
|
15
|
+
const rise = "_rise_1g87d_1";
|
|
16
|
+
const edge = "_edge_1g87d_59";
|
|
17
|
+
const caret = "_caret_1g87d_65";
|
|
18
|
+
const nudge = "_nudge_1g87d_1";
|
|
19
|
+
const cursor = "_cursor_1g87d_71";
|
|
20
|
+
const blink = "_blink_1g87d_1";
|
|
21
|
+
const knob = "_knob_1g87d_77";
|
|
22
|
+
const slide = "_slide_1g87d_1";
|
|
23
|
+
const styles = {
|
|
24
|
+
glyph,
|
|
25
|
+
motion,
|
|
26
|
+
tile,
|
|
27
|
+
hop,
|
|
28
|
+
spine,
|
|
29
|
+
open,
|
|
30
|
+
branch,
|
|
31
|
+
draw,
|
|
32
|
+
head,
|
|
33
|
+
pop,
|
|
34
|
+
fly,
|
|
35
|
+
wave,
|
|
36
|
+
line,
|
|
37
|
+
bar,
|
|
38
|
+
rise,
|
|
39
|
+
edge,
|
|
40
|
+
caret,
|
|
41
|
+
nudge,
|
|
42
|
+
cursor,
|
|
43
|
+
blink,
|
|
44
|
+
knob,
|
|
45
|
+
slide
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
bar,
|
|
49
|
+
blink,
|
|
50
|
+
branch,
|
|
51
|
+
caret,
|
|
52
|
+
cursor,
|
|
53
|
+
styles as default,
|
|
54
|
+
draw,
|
|
55
|
+
edge,
|
|
56
|
+
fly,
|
|
57
|
+
glyph,
|
|
58
|
+
head,
|
|
59
|
+
hop,
|
|
60
|
+
knob,
|
|
61
|
+
line,
|
|
62
|
+
motion,
|
|
63
|
+
nudge,
|
|
64
|
+
open,
|
|
65
|
+
pop,
|
|
66
|
+
rise,
|
|
67
|
+
slide,
|
|
68
|
+
spine,
|
|
69
|
+
tile,
|
|
70
|
+
wave
|
|
71
|
+
};
|