@jonmilner/ui 0.0.0-stage → 0.1.1
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/THIRD_PARTY_NOTICES.md +51 -0
- package/dist/AlertDialog/index.d.mts +21 -0
- package/dist/AlertDialog/index.mjs +29 -0
- package/dist/Badge/Badge.css +2 -0
- package/dist/Badge/Badge.css.mjs +24 -0
- package/dist/Badge/index.d.mts +11 -0
- package/dist/Badge/index.mjs +54 -0
- package/dist/Box/Box.css +2 -0
- package/dist/Box/Box.css.mjs +8 -0
- package/dist/Box/index.d.mts +8 -0
- package/dist/Box/index.mjs +15 -0
- package/dist/Button/Button.css +2 -0
- package/dist/Button/Button.css.mjs +25 -0
- package/dist/Button/index.d.mts +18 -0
- package/dist/Button/index.mjs +97 -0
- package/dist/Checkbox/Checkbox.css +2 -0
- package/dist/Checkbox/Checkbox.css.mjs +8 -0
- package/dist/Checkbox/index.d.mts +6 -0
- package/dist/Checkbox/index.mjs +45 -0
- package/dist/Chip/Chip.css +2 -0
- package/dist/Chip/Chip.css.mjs +17 -0
- package/dist/Chip/index.d.mts +13 -0
- package/dist/Chip/index.mjs +73 -0
- package/dist/Clickable/Clickable.css +2 -0
- package/dist/Clickable/Clickable.css.mjs +8 -0
- package/dist/Clickable/index.d.mts +11 -0
- package/dist/Clickable/index.mjs +28 -0
- package/dist/Dialog/Dialog.css +2 -0
- package/dist/Dialog/Dialog.css.d.mts +3 -0
- package/dist/Dialog/Dialog.css.mjs +12 -0
- package/dist/Dialog/client.d.mts +12 -0
- package/dist/Dialog/client.mjs +31 -0
- package/dist/Dialog/index.d.mts +30 -0
- package/dist/Dialog/index.mjs +85 -0
- package/dist/Field/Field.css +2 -0
- package/dist/Field/Field.css.mjs +8 -0
- package/dist/Field/client.mjs +26 -0
- package/dist/Field/index.d.mts +20 -0
- package/dist/Field/index.mjs +88 -0
- package/dist/Heading/Heading.css +2 -0
- package/dist/Heading/Heading.css.mjs +8 -0
- package/dist/Heading/index.d.mts +9 -0
- package/dist/Heading/index.mjs +27 -0
- package/dist/Icon/Icon.css +2 -0
- package/dist/Icon/Icon.css.mjs +17 -0
- package/dist/Icon/index.d.mts +12 -0
- package/dist/Icon/index.mjs +24 -0
- package/dist/IconButton/IconButton.css +2 -0
- package/dist/IconButton/IconButton.css.mjs +24 -0
- package/dist/IconButton/index.d.mts +15 -0
- package/dist/IconButton/index.mjs +25 -0
- package/dist/Inline/Inline.css +2 -0
- package/dist/Inline/Inline.css.mjs +8 -0
- package/dist/Inline/index.d.mts +14 -0
- package/dist/Inline/index.mjs +17 -0
- package/dist/Menu/Menu.css +2 -0
- package/dist/Menu/Menu.css.mjs +8 -0
- package/dist/Menu/client.d.mts +9 -0
- package/dist/Menu/client.mjs +27 -0
- package/dist/Menu/index.d.mts +34 -0
- package/dist/Menu/index.mjs +107 -0
- package/dist/MultiSelect/MultiSelect.css +2 -0
- package/dist/MultiSelect/MultiSelect.css.mjs +8 -0
- package/dist/MultiSelect/client.d.mts +8 -0
- package/dist/MultiSelect/client.mjs +93 -0
- package/dist/MultiSelect/index.d.mts +23 -0
- package/dist/MultiSelect/index.mjs +75 -0
- package/dist/SearchField/SearchField.css +2 -0
- package/dist/SearchField/SearchField.css.mjs +27 -0
- package/dist/SearchField/client.d.mts +5 -0
- package/dist/SearchField/client.mjs +74 -0
- package/dist/SearchField/index.d.mts +25 -0
- package/dist/SearchField/index.mjs +36 -0
- package/dist/Stack/Stack.css +2 -0
- package/dist/Stack/Stack.css.mjs +8 -0
- package/dist/Stack/index.d.mts +14 -0
- package/dist/Stack/index.mjs +15 -0
- package/dist/Tabs/Tabs.css +2 -0
- package/dist/Tabs/Tabs.css.mjs +8 -0
- package/dist/Tabs/index.d.mts +20 -0
- package/dist/Tabs/index.mjs +88 -0
- package/dist/Tag/Tag.css +2 -0
- package/dist/Tag/Tag.css.mjs +17 -0
- package/dist/Tag/index.d.mts +13 -0
- package/dist/Tag/index.mjs +82 -0
- package/dist/Text/Text.css +2 -0
- package/dist/Text/Text.css.mjs +32 -0
- package/dist/Text/index.d.mts +16 -0
- package/dist/Text/index.mjs +25 -0
- package/dist/Toast/Toast.css +2 -0
- package/dist/Toast/Toast.css.mjs +18 -0
- package/dist/Toast/client.d.mts +46 -0
- package/dist/Toast/client.mjs +219 -0
- package/dist/Toast/index.d.mts +7 -0
- package/dist/Toast/index.mjs +5 -0
- package/dist/base.css +6 -0
- package/dist/brands/brand.d.mts +9 -0
- package/dist/brands/brand.mjs +4 -0
- package/dist/brands/check-fonts.mjs +15 -0
- package/dist/brands/default.d.mts +4 -0
- package/dist/brands/default.mjs +74 -0
- package/dist/brands/font.d.mts +17 -0
- package/dist/brands/font.mjs +35 -0
- package/dist/brands/forced-colors.mjs +18 -0
- package/dist/brands/index.d.mts +8 -0
- package/dist/brands/index.mjs +5 -0
- package/dist/brands/metrics.mjs +40 -0
- package/dist/contrast/color.d.mts +3 -0
- package/dist/contrast/color.mjs +222 -0
- package/dist/contrast/contrast.d.mts +18 -0
- package/dist/contrast/contrast.mjs +52 -0
- package/dist/contrast/mixes.mjs +33 -0
- package/dist/docs/AlertDialog.md +113 -0
- package/dist/docs/Badge.md +76 -0
- package/dist/docs/Box.md +87 -0
- package/dist/docs/Button.md +98 -0
- package/dist/docs/Checkbox.md +107 -0
- package/dist/docs/Chip.md +92 -0
- package/dist/docs/Clickable.md +82 -0
- package/dist/docs/Dialog.md +166 -0
- package/dist/docs/Field.md +143 -0
- package/dist/docs/Heading.md +69 -0
- package/dist/docs/Icon.md +116 -0
- package/dist/docs/IconButton.md +83 -0
- package/dist/docs/Inline.md +79 -0
- package/dist/docs/Menu.md +181 -0
- package/dist/docs/MultiSelect.md +120 -0
- package/dist/docs/SearchField.md +127 -0
- package/dist/docs/Stack.md +79 -0
- package/dist/docs/Tabs.md +130 -0
- package/dist/docs/Tag.md +97 -0
- package/dist/docs/Text.md +90 -0
- package/dist/docs/Toast.md +115 -0
- package/dist/docs/llms.txt +33 -0
- package/dist/docs/manifest.json +2649 -0
- package/dist/docs/manifest.schema.json +96 -0
- package/dist/docs/migrations/README.md +27 -0
- package/dist/docs/theming.md +59 -0
- package/dist/icons/ArrowLeftIcon.d.mts +4 -0
- package/dist/icons/ArrowLeftIcon.mjs +11 -0
- package/dist/icons/ArrowRightIcon.d.mts +4 -0
- package/dist/icons/ArrowRightIcon.mjs +11 -0
- package/dist/icons/CheckIcon.d.mts +4 -0
- package/dist/icons/CheckIcon.mjs +11 -0
- package/dist/icons/ChevronDownIcon.d.mts +4 -0
- package/dist/icons/ChevronDownIcon.mjs +11 -0
- package/dist/icons/ChevronRightIcon.d.mts +4 -0
- package/dist/icons/ChevronRightIcon.mjs +11 -0
- package/dist/icons/CircleAlertIcon.d.mts +4 -0
- package/dist/icons/CircleAlertIcon.mjs +15 -0
- package/dist/icons/CircleCheckIcon.d.mts +4 -0
- package/dist/icons/CircleCheckIcon.mjs +15 -0
- package/dist/icons/CircleDotIcon.d.mts +4 -0
- package/dist/icons/CircleDotIcon.mjs +19 -0
- package/dist/icons/CircleSlashIcon.d.mts +4 -0
- package/dist/icons/CircleSlashIcon.mjs +15 -0
- package/dist/icons/GitMergeIcon.d.mts +4 -0
- package/dist/icons/GitMergeIcon.mjs +23 -0
- package/dist/icons/GitPullRequestClosedIcon.d.mts +4 -0
- package/dist/icons/GitPullRequestClosedIcon.mjs +23 -0
- package/dist/icons/GitPullRequestDraftIcon.d.mts +4 -0
- package/dist/icons/GitPullRequestDraftIcon.mjs +23 -0
- package/dist/icons/GitPullRequestIcon.d.mts +4 -0
- package/dist/icons/GitPullRequestIcon.mjs +23 -0
- package/dist/icons/InboxIcon.d.mts +4 -0
- package/dist/icons/InboxIcon.mjs +11 -0
- package/dist/icons/InfoIcon.d.mts +4 -0
- package/dist/icons/InfoIcon.mjs +15 -0
- package/dist/icons/LoaderCircleIcon.d.mts +4 -0
- package/dist/icons/LoaderCircleIcon.mjs +11 -0
- package/dist/icons/RefreshCwIcon.d.mts +4 -0
- package/dist/icons/RefreshCwIcon.mjs +15 -0
- package/dist/icons/SearchIcon.d.mts +4 -0
- package/dist/icons/SearchIcon.mjs +15 -0
- package/dist/icons/SettingsIcon.d.mts +4 -0
- package/dist/icons/SettingsIcon.mjs +15 -0
- package/dist/icons/XIcon.d.mts +4 -0
- package/dist/icons/XIcon.mjs +11 -0
- package/dist/icons/index.d.mts +25 -0
- package/dist/icons/index.mjs +45 -0
- package/dist/index.d.mts +28 -0
- package/dist/index.mjs +25 -0
- package/dist/popup/client.d.mts +9 -0
- package/dist/popup/client.mjs +31 -0
- package/dist/styles/atoms.css +2 -0
- package/dist/styles/atoms.css.d.mts +219 -0
- package/dist/styles/atoms.css.mjs +2669 -0
- package/dist/styles/button-fills.mjs +17 -0
- package/dist/styles/highlight.mjs +8 -0
- package/dist/styles/hover-tint.mjs +4 -0
- package/dist/styles/join.mjs +4 -0
- package/dist/styles/layers.css +2 -0
- package/dist/styles/part-props.d.mts +8 -0
- package/dist/styles/split-style-props.mjs +9 -0
- package/dist/testing/index.d.mts +4 -0
- package/dist/testing/index.mjs +3 -0
- package/dist/testing/motion.d.mts +22 -0
- package/dist/testing/motion.mjs +49 -0
- package/dist/theme/FontCheck.mjs +11 -0
- package/dist/theme/ThemeProvider.d.mts +15 -0
- package/dist/theme/ThemeProvider.mjs +23 -0
- package/dist/theme/define-theme.d.mts +9 -0
- package/dist/theme/define-theme.mjs +84 -0
- package/dist/theme/use-theme-container.mjs +15 -0
- package/dist/tokens/contract.d.mts +110 -0
- package/dist/tokens/contract.mjs +17 -0
- package/dist/tokens/index.d.mts +2 -0
- package/dist/tokens/index.mjs +1 -0
- package/dist/tokens/roles.d.mts +6 -0
- package/dist/tokens/roles.mjs +24 -0
- package/dist/tokens/scales.d.mts +100 -0
- package/dist/tokens/scales.mjs +103 -0
- package/dist/types.d.mts +7 -0
- package/package.json +159 -3
- package/README.md +0 -3
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/jonmilner/ui/manifest.schema.json",
|
|
4
|
+
"title": "@jonmilner/ui manifest",
|
|
5
|
+
"description": "Every component, prop, variant, icon and token in @jonmilner/ui, generated from the TypeScript types by scripts/docs.ts.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["$schema", "package", "version", "components", "styleProps", "icons", "tokens"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": { "const": "./manifest.schema.json" },
|
|
11
|
+
"package": { "const": "@jonmilner/ui" },
|
|
12
|
+
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+" },
|
|
13
|
+
"components": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"items": { "$ref": "#/$defs/component" }
|
|
17
|
+
},
|
|
18
|
+
"styleProps": {
|
|
19
|
+
"description": "The style props every component with `styleProps: true` takes.",
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minItems": 1,
|
|
22
|
+
"items": { "$ref": "#/$defs/prop" }
|
|
23
|
+
},
|
|
24
|
+
"icons": {
|
|
25
|
+
"description": "Icon components exported from @jonmilner/ui/icons.",
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": { "type": "string", "pattern": "^[A-Z]\\w*Icon$" },
|
|
28
|
+
"uniqueItems": true
|
|
29
|
+
},
|
|
30
|
+
"tokens": {
|
|
31
|
+
"description": "Token paths to their CSS custom property references.",
|
|
32
|
+
"type": "object",
|
|
33
|
+
"minProperties": 1,
|
|
34
|
+
"additionalProperties": { "type": "string", "pattern": "^var\\(--[\\w-]+\\)$" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"$defs": {
|
|
38
|
+
"name": { "type": "string", "pattern": "^[A-Z]\\w*(\\.[A-Z]\\w*)?$" },
|
|
39
|
+
"part": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": ["name", "styleProps", "props"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": { "$ref": "#/$defs/name" },
|
|
44
|
+
"element": {
|
|
45
|
+
"description": "The default element of a polymorphic `as`.",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"styleProps": { "type": "boolean" },
|
|
49
|
+
"props": { "type": "array", "items": { "$ref": "#/$defs/prop" } }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"component": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"allOf": [{ "$ref": "#/$defs/part" }],
|
|
55
|
+
"required": ["parts", "exports"],
|
|
56
|
+
"unevaluatedProperties": false,
|
|
57
|
+
"properties": {
|
|
58
|
+
"namespace": {
|
|
59
|
+
"description": "Not a component: an object of parts. Render its parts, never it.",
|
|
60
|
+
"const": true
|
|
61
|
+
},
|
|
62
|
+
"parts": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": { "type": "object", "$ref": "#/$defs/part", "unevaluatedProperties": false }
|
|
65
|
+
},
|
|
66
|
+
"exports": {
|
|
67
|
+
"description": "Other value exports of the component's module.",
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": { "type": "string" }
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"prop": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"required": ["name", "type", "required"],
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"properties": {
|
|
78
|
+
"name": { "type": "string", "minLength": 1 },
|
|
79
|
+
"type": { "type": "string", "minLength": 1 },
|
|
80
|
+
"required": { "type": "boolean" },
|
|
81
|
+
"values": {
|
|
82
|
+
"description": "The literal values of a variant prop.",
|
|
83
|
+
"type": "array",
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"items": { "type": ["string", "number"] },
|
|
86
|
+
"uniqueItems": true
|
|
87
|
+
},
|
|
88
|
+
"responsive": {
|
|
89
|
+
"description": "Also takes a value per breakpoint.",
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"description": { "type": "string" }
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Migrations
|
|
2
|
+
|
|
3
|
+
One file per breaking release, named for the version that introduces the break: `0.3.0.md`. While `@jonmilner/ui` is 0.x, every `minor` or `major` changeset is breaking and must ship its file (decision 0008). CI fails without it (`pnpm check:migrations`).
|
|
4
|
+
|
|
5
|
+
To upgrade, apply every file whose version is above the installed one and at most the target, oldest first.
|
|
6
|
+
|
|
7
|
+
## Template
|
|
8
|
+
|
|
9
|
+
Copy this into `<version>.md`. Keep all three sections; each heading is checked.
|
|
10
|
+
|
|
11
|
+
```md
|
|
12
|
+
# <version>
|
|
13
|
+
|
|
14
|
+
One sentence on what changed and why.
|
|
15
|
+
|
|
16
|
+
## Find
|
|
17
|
+
|
|
18
|
+
Searchable patterns, one per change: an exact string or a regex, and where to run it.
|
|
19
|
+
|
|
20
|
+
## Replace
|
|
21
|
+
|
|
22
|
+
The exact replacement for each pattern above, as before and after code.
|
|
23
|
+
|
|
24
|
+
## Verify
|
|
25
|
+
|
|
26
|
+
The command that proves the upgrade worked, and what passing looks like.
|
|
27
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Theming
|
|
2
|
+
|
|
3
|
+
`ThemeProvider` picks a brand and a mode for its subtree. It is a Server Component: no context, no hooks, no `'use client'`.
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
import { ThemeProvider } from "@jonmilner/ui";
|
|
7
|
+
import "@jonmilner/ui/base.css";
|
|
8
|
+
|
|
9
|
+
<ThemeProvider brand="default" mode="system">
|
|
10
|
+
<App />
|
|
11
|
+
</ThemeProvider>;
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
- `brand`: a preset from `base.css` (`default`). Default `default`.
|
|
15
|
+
- `mode`: `light`, `dark` or `system`. Default `system`, which follows the OS with no JS and no flash.
|
|
16
|
+
- `theme`: a custom brand from `defineTheme()`, instead of `brand`.
|
|
17
|
+
|
|
18
|
+
It renders a `<div data-brand data-mode>`; other `div` props pass through.
|
|
19
|
+
|
|
20
|
+
## Custom brands
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { ThemeProvider, defineTheme } from "@jonmilner/ui";
|
|
24
|
+
import { defaultBrand } from "@jonmilner/ui/brands";
|
|
25
|
+
|
|
26
|
+
const inbox = defineTheme({
|
|
27
|
+
...defaultBrand,
|
|
28
|
+
name: "inbox",
|
|
29
|
+
color: { ...defaultBrand.color, accent: "light-dark(#b00020, #ff8a80)" },
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
<ThemeProvider theme={inbox} mode="system">
|
|
33
|
+
<App />
|
|
34
|
+
</ThemeProvider>;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`defineTheme(brand)` takes a full `Brand`: every color role as `light-dark(<light>, <dark>)` and every font role. A missing role is a type error. It returns CSS that `ThemeProvider` renders as `<style href precedence="ui-theme">`; React hoists it into `<head>` and renders it once per name.
|
|
38
|
+
|
|
39
|
+
- **Give a custom brand its own name.** A theme applies page-wide, not only inside its provider: a theme named `default` recolors every `default` provider on the page. The name must be a CSS identifier.
|
|
40
|
+
- **Contrast is checked in development.** Outside production, `defineTheme` throws when a text, fill or focus pair fails WCAG AA in either mode, and lists the pairs. It also checks text on component fills mixed from your roles, such as the dark-mode menu highlight (`fg` 10% into `bgRaised`), where `fg`, `fgMuted` and `danger` need 4.5:1 too, and Button's hover (`fg` 15% over each variant's fill), where `fg`, `accentFg` and `dangerFg` need 4.5:1 on `bg`, `accent` and `danger` tinted. The roles a fill mixes must be opaque. Colors must be literal: hex, `rgb()`, `oklab()`, `oklch()`, `color-mix()` or `light-dark()`. Named colors other than `white`, `black` and `transparent` are rejected, as is a translucent background. `var()` may only reference another color role (`var(--color-accent)`).
|
|
41
|
+
- **Override theme tokens in unlayered CSS or in the theme itself.** The theme is unlayered, so a token set in `@layer app` loses to it. Preset tokens live in `@layer tokens` and can be overridden from `@layer app`.
|
|
42
|
+
- **Fallback faces are global.** A brand font's fallback face is named `"<Family> Fallback"`. The theme declares only faces `base.css` lacks; reusing a family name that a preset declares with other metrics throws.
|
|
43
|
+
- **Values must be plain.** Color values and font names may not contain CSS syntax (`;`, braces, `<`, `>`, `\`, `!`, `/*`) or, for font names, quotes; `defineTheme` throws in every mode.
|
|
44
|
+
- **Each change gets its own `href`.** The `href` hashes the CSS, so a theme rebuilt with new colors replaces the old one instead of being deduped away.
|
|
45
|
+
- Under forced colors, every role maps to a system color, as for presets.
|
|
46
|
+
|
|
47
|
+
## The page canvas
|
|
48
|
+
|
|
49
|
+
A provider's `color-scheme` stops at its `div`, so the page canvas and scrollbars stay light in dark mode. Set it on `:root` too, matching the outer provider's mode:
|
|
50
|
+
|
|
51
|
+
```css
|
|
52
|
+
:root {
|
|
53
|
+
color-scheme: light dark; /* or light, or dark */
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Fonts
|
|
58
|
+
|
|
59
|
+
A brand declares its fonts; the app loads them (fontsource or self-hosted `@font-face`) and owns preloading. The `default` brand uses Inter and JetBrains Mono. In development, `ThemeProvider` warns in the console when a brand font has no `@font-face` or fails to load; in production it renders no check and the check's body is dead code.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/ArrowLeftIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "m12 19-7-7 7-7M19 12H5" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as ArrowLeftIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/ArrowRightIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "M5 12h14M12 5l7 7-7 7" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as ArrowRightIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/CheckIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "M20 6 9 17l-5-5" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as CheckIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/ChevronDownIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "m6 9 6 6 6-6" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as ChevronDownIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/ChevronRightIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "m9 18 6-6-6-6" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as ChevronRightIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/CircleAlertIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "10"
|
|
11
|
+
}), /* @__PURE__ */ t("path", { d: "M12 8v4M12 16h.01" })]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as CircleAlertIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/CircleCheckIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "10"
|
|
11
|
+
}), /* @__PURE__ */ t("path", { d: "m16 9-5.5 5.5L8 12" })]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as CircleCheckIcon };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/CircleDotIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "1"
|
|
11
|
+
}), /* @__PURE__ */ t("circle", {
|
|
12
|
+
cx: "12",
|
|
13
|
+
cy: "12",
|
|
14
|
+
r: "10"
|
|
15
|
+
})]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { r as CircleDotIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/CircleSlashIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "10"
|
|
11
|
+
}), /* @__PURE__ */ t("path", { d: "m9 15 6-6" })]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as CircleSlashIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/GitMergeIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ t("circle", {
|
|
9
|
+
cx: "18",
|
|
10
|
+
cy: "18",
|
|
11
|
+
r: "3"
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ t("circle", {
|
|
14
|
+
cx: "6",
|
|
15
|
+
cy: "6",
|
|
16
|
+
r: "3"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ t("path", { d: "M6 21V9a9 9 0 0 0 9 9" })
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as GitMergeIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/GitPullRequestClosedIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ t("path", { d: "m15.5 3.5 5 5M15.5 8.5l5-5M18 11.62V15M6 9v12" }),
|
|
9
|
+
/* @__PURE__ */ t("circle", {
|
|
10
|
+
cx: "18",
|
|
11
|
+
cy: "18",
|
|
12
|
+
r: "3"
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ t("circle", {
|
|
15
|
+
cx: "6",
|
|
16
|
+
cy: "6",
|
|
17
|
+
r: "3"
|
|
18
|
+
})
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as GitPullRequestClosedIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/GitPullRequestDraftIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ t("circle", {
|
|
9
|
+
cx: "18",
|
|
10
|
+
cy: "18",
|
|
11
|
+
r: "3"
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ t("circle", {
|
|
14
|
+
cx: "6",
|
|
15
|
+
cy: "6",
|
|
16
|
+
r: "3"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ t("path", { d: "M18 6V5M18 11v-1M6 9v12" })
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as GitPullRequestDraftIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/GitPullRequestIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ t("circle", {
|
|
9
|
+
cx: "18",
|
|
10
|
+
cy: "18",
|
|
11
|
+
r: "3"
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ t("circle", {
|
|
14
|
+
cx: "6",
|
|
15
|
+
cy: "6",
|
|
16
|
+
r: "3"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ t("path", { d: "M13 6h3a2 2 0 0 1 2 2v7M6 9v12" })
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as GitPullRequestIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/InboxIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("path", { d: "M22 12h-6l-2 3h-4l-2-3H2" }), /* @__PURE__ */ t("path", { d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11" })]
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as InboxIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/InfoIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "10"
|
|
11
|
+
}), /* @__PURE__ */ t("path", { d: "M12 16v-4M12 8h.01" })]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as InfoIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/LoaderCircleIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as LoaderCircleIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/RefreshCwIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [
|
|
8
|
+
/* @__PURE__ */ t("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }),
|
|
9
|
+
/* @__PURE__ */ t("path", { d: "M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }),
|
|
10
|
+
/* @__PURE__ */ t("path", { d: "M8 16H3v5" })
|
|
11
|
+
]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as RefreshCwIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/SearchIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("path", { d: "m21 21-4.34-4.34" }), /* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "11",
|
|
9
|
+
cy: "11",
|
|
10
|
+
r: "8"
|
|
11
|
+
})]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as SearchIcon };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/SettingsIcon.tsx
|
|
4
|
+
function r(r) {
|
|
5
|
+
return /* @__PURE__ */ n(e, {
|
|
6
|
+
...r,
|
|
7
|
+
children: [/* @__PURE__ */ t("path", { d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }), /* @__PURE__ */ t("circle", {
|
|
8
|
+
cx: "12",
|
|
9
|
+
cy: "12",
|
|
10
|
+
r: "3"
|
|
11
|
+
})]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as SettingsIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Icon as e } from "../Icon/index.mjs";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/icons/XIcon.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
...n,
|
|
7
|
+
children: /* @__PURE__ */ t("path", { d: "M18 6 6 18M6 6l12 12" })
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as XIcon };
|