iryx-ui 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/component-names.d.ts +1 -1
  2. package/dist/component-names.js +3 -0
  3. package/dist/components/Alert.js +5 -0
  4. package/dist/components/Alert.vue.d.ts +59 -0
  5. package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +74 -0
  6. package/dist/components/App.vue.d.ts +1 -1
  7. package/dist/components/App.vue_vue_type_script_setup_true_lang.js +7 -7
  8. package/dist/components/Badge.js +5 -0
  9. package/dist/components/Badge.vue.d.ts +38 -0
  10. package/dist/components/Badge.vue_vue_type_script_setup_true_lang.js +48 -0
  11. package/dist/components/Button.vue.d.ts +1 -1
  12. package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +4 -4
  13. package/dist/components/Card.js +5 -0
  14. package/dist/components/Card.vue.d.ts +49 -0
  15. package/dist/components/Card.vue_vue_type_script_setup_true_lang.js +58 -0
  16. package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +11 -11
  17. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +14 -14
  18. package/dist/components/index.d.ts +3 -0
  19. package/dist/components/index.js +30 -24
  20. package/dist/index.d.ts +3 -0
  21. package/dist/index.js +30 -24
  22. package/dist/plugin.js +5 -5
  23. package/dist/theme/alert.d.ts +98 -0
  24. package/dist/theme/alert.js +36 -0
  25. package/dist/theme/badge.d.ts +92 -0
  26. package/dist/theme/badge.js +94 -0
  27. package/dist/theme/card.d.ts +110 -0
  28. package/dist/theme/card.js +42 -0
  29. package/dist/theme/form.d.ts +6 -6
  30. package/dist/theme/index.d.ts +3 -0
  31. package/dist/theme/presets.d.ts +20 -0
  32. package/dist/theme/presets.js +21 -1
  33. package/dist/theme/switch.d.ts +6 -6
  34. package/package.json +1 -1
  35. package/theme.css +66 -0
package/dist/index.d.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  export { componentNames } from './component-names';
2
2
  export type { ComponentName } from './component-names';
3
3
  export * from './components';
4
+ export type { AlertProps } from './components/Alert.vue';
4
5
  export type { AppProps } from './components/App.vue';
6
+ export type { BadgeProps } from './components/Badge.vue';
5
7
  export type { ButtonProps } from './components/Button.vue';
8
+ export type { CardProps } from './components/Card.vue';
6
9
  export type { CheckboxProps } from './components/Checkbox.vue';
7
10
  export type { FormProps } from './components/Form.vue';
8
11
  export type { FormFieldProps } from './components/FormField.vue';
package/dist/index.js CHANGED
@@ -1,25 +1,31 @@
1
1
  import { componentNames as e } from "./component-names.js";
2
- import { initAppearance as t, useAppearance as n } from "./composables/appearance.js";
3
- import { defaultConfig as r, iryxUiConfigKey as i, useIryxUiConfig as a } from "./config.js";
4
- import { applyTheme as o, clearTheme as s, themes as c } from "./theme/presets.js";
5
- import l from "./components/App.js";
6
- import { buttonTheme as u } from "./theme/button.js";
7
- import d from "./components/Button.js";
8
- import { checkboxTheme as f } from "./theme/checkbox.js";
9
- import p from "./components/Checkbox.js";
10
- import { formContextKey as m, formFieldContextKey as h, getByPath as g, isStandardSchema as _, issuePath as v, useForm as y, useFormField as b } from "./composables/form.js";
11
- import x from "./components/Form.js";
12
- import { labelTheme as S } from "./theme/label.js";
13
- import C from "./components/Label.js";
14
- import w from "./components/FormField.js";
15
- import { fieldBase as T, inputTheme as E, textareaTheme as D } from "./theme/input.js";
16
- import O from "./components/Input.js";
17
- import { radioGroupTheme as k } from "./theme/radio-group.js";
18
- import A from "./components/RadioGroup.js";
19
- import { selectTheme as j } from "./theme/select.js";
20
- import M from "./components/Select.js";
21
- import { switchTheme as N } from "./theme/switch.js";
22
- import P from "./components/Switch.js";
23
- import F from "./components/Textarea.js";
24
- import { IryxUi as I, createIryxUi as L } from "./plugin.js";
25
- export { l as App, d as Button, p as Checkbox, x as Form, w as FormField, O as Input, I as IryxUi, C as Label, A as RadioGroup, M as Select, P as Switch, F as Textarea, o as applyTheme, u as buttonTheme, f as checkboxTheme, s as clearTheme, e as componentNames, L as createIryxUi, r as defaultConfig, T as fieldBase, m as formContextKey, h as formFieldContextKey, g as getByPath, t as initAppearance, E as inputTheme, i as iryxUiConfigKey, _ as isStandardSchema, v as issuePath, S as labelTheme, k as radioGroupTheme, j as selectTheme, N as switchTheme, D as textareaTheme, c as themes, n as useAppearance, y as useForm, b as useFormField, a as useIryxUiConfig };
2
+ import { defaultConfig as t, iryxUiConfigKey as n, useIryxUiConfig as r } from "./config.js";
3
+ import { alertTheme as i } from "./theme/alert.js";
4
+ import a from "./components/Alert.js";
5
+ import { initAppearance as o, useAppearance as s } from "./composables/appearance.js";
6
+ import { applyTheme as c, clearTheme as l, themes as u } from "./theme/presets.js";
7
+ import d from "./components/App.js";
8
+ import { badgeTheme as f } from "./theme/badge.js";
9
+ import p from "./components/Badge.js";
10
+ import { buttonTheme as m } from "./theme/button.js";
11
+ import h from "./components/Button.js";
12
+ import { cardTheme as g } from "./theme/card.js";
13
+ import _ from "./components/Card.js";
14
+ import { checkboxTheme as v } from "./theme/checkbox.js";
15
+ import y from "./components/Checkbox.js";
16
+ import { formContextKey as b, formFieldContextKey as x, getByPath as S, isStandardSchema as C, issuePath as w, useForm as T, useFormField as E } from "./composables/form.js";
17
+ import D from "./components/Form.js";
18
+ import { labelTheme as O } from "./theme/label.js";
19
+ import k from "./components/Label.js";
20
+ import A from "./components/FormField.js";
21
+ import { fieldBase as j, inputTheme as M, textareaTheme as N } from "./theme/input.js";
22
+ import P from "./components/Input.js";
23
+ import { radioGroupTheme as F } from "./theme/radio-group.js";
24
+ import I from "./components/RadioGroup.js";
25
+ import { selectTheme as L } from "./theme/select.js";
26
+ import R from "./components/Select.js";
27
+ import { switchTheme as z } from "./theme/switch.js";
28
+ import B from "./components/Switch.js";
29
+ import V from "./components/Textarea.js";
30
+ import { IryxUi as H, createIryxUi as U } from "./plugin.js";
31
+ export { a as Alert, d as App, p as Badge, h as Button, _ as Card, y as Checkbox, D as Form, A as FormField, P as Input, H as IryxUi, k as Label, I as RadioGroup, R as Select, B as Switch, V as Textarea, i as alertTheme, c as applyTheme, f as badgeTheme, m as buttonTheme, g as cardTheme, v as checkboxTheme, l as clearTheme, e as componentNames, U as createIryxUi, t as defaultConfig, j as fieldBase, b as formContextKey, x as formFieldContextKey, S as getByPath, o as initAppearance, M as inputTheme, n as iryxUiConfigKey, C as isStandardSchema, w as issuePath, O as labelTheme, F as radioGroupTheme, L as selectTheme, z as switchTheme, N as textareaTheme, u as themes, s as useAppearance, T as useForm, E as useFormField, r as useIryxUiConfig };
package/dist/plugin.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { componentNames as e } from "./component-names.js";
2
- import { initAppearance as t } from "./composables/appearance.js";
3
- import { defaultConfig as n, iryxUiConfigKey as r } from "./config.js";
2
+ import { defaultConfig as t, iryxUiConfigKey as n } from "./config.js";
3
+ import { initAppearance as r } from "./composables/appearance.js";
4
4
  import { applyTheme as i } from "./theme/presets.js";
5
5
  import { components_exports as a } from "./components/index.js";
6
6
  //#region src/plugin.ts
7
7
  function o(o = {}) {
8
8
  let { prefix: s = "I", appearance: c, theme: l, ...u } = o;
9
9
  return { install(o) {
10
- o.provide(r, {
11
- ...n,
10
+ o.provide(n, {
11
+ ...t,
12
12
  ...u
13
13
  });
14
14
  for (let t of e) o.component(`${s}${t}`, a[t]);
15
- l && i(l), c && t(c);
15
+ l && i(l), c && r(c);
16
16
  } };
17
17
  }
18
18
  var s = o();
@@ -0,0 +1,98 @@
1
+ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ info: {
4
+ root: string;
5
+ icon: string;
6
+ };
7
+ success: {
8
+ root: string;
9
+ icon: string;
10
+ };
11
+ warning: {
12
+ root: string;
13
+ icon: string;
14
+ };
15
+ danger: {
16
+ root: string;
17
+ icon: string;
18
+ };
19
+ };
20
+ /** Tightens the title/description gap when both are present. */
21
+ withTitle: {
22
+ true: {
23
+ description: string;
24
+ };
25
+ };
26
+ }, {
27
+ root: string;
28
+ icon: string;
29
+ content: string;
30
+ title: string;
31
+ description: string;
32
+ close: string;
33
+ }, undefined, {
34
+ variant: {
35
+ info: {
36
+ root: string;
37
+ icon: string;
38
+ };
39
+ success: {
40
+ root: string;
41
+ icon: string;
42
+ };
43
+ warning: {
44
+ root: string;
45
+ icon: string;
46
+ };
47
+ danger: {
48
+ root: string;
49
+ icon: string;
50
+ };
51
+ };
52
+ /** Tightens the title/description gap when both are present. */
53
+ withTitle: {
54
+ true: {
55
+ description: string;
56
+ };
57
+ };
58
+ }, {
59
+ root: string;
60
+ icon: string;
61
+ content: string;
62
+ title: string;
63
+ description: string;
64
+ close: string;
65
+ }, import("tailwind-variants").TVReturnType<{
66
+ variant: {
67
+ info: {
68
+ root: string;
69
+ icon: string;
70
+ };
71
+ success: {
72
+ root: string;
73
+ icon: string;
74
+ };
75
+ warning: {
76
+ root: string;
77
+ icon: string;
78
+ };
79
+ danger: {
80
+ root: string;
81
+ icon: string;
82
+ };
83
+ };
84
+ /** Tightens the title/description gap when both are present. */
85
+ withTitle: {
86
+ true: {
87
+ description: string;
88
+ };
89
+ };
90
+ }, {
91
+ root: string;
92
+ icon: string;
93
+ content: string;
94
+ title: string;
95
+ description: string;
96
+ close: string;
97
+ }, undefined, unknown, unknown, undefined>>;
98
+ export type AlertSlots = keyof ReturnType<typeof alertTheme>;
@@ -0,0 +1,36 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/alert.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "flex w-full gap-3 rounded-lg border p-4",
6
+ icon: "mt-0.5 shrink-0 [&_svg]:size-5",
7
+ content: "min-w-0 flex-1",
8
+ title: "text-sm font-medium",
9
+ description: "text-sm opacity-90",
10
+ close: "-m-1 shrink-0 self-start rounded-md p-1 opacity-70 transition-opacity outline-none hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current/50 [&_svg]:size-4"
11
+ },
12
+ variants: {
13
+ variant: {
14
+ info: {
15
+ root: "border-info-border bg-info-muted text-info-muted-foreground",
16
+ icon: "text-info"
17
+ },
18
+ success: {
19
+ root: "border-success-border bg-success-muted text-success-muted-foreground",
20
+ icon: "text-success"
21
+ },
22
+ warning: {
23
+ root: "border-warning-border bg-warning-muted text-warning-muted-foreground",
24
+ icon: "text-warning"
25
+ },
26
+ danger: {
27
+ root: "border-danger-border bg-danger-muted text-danger-muted-foreground",
28
+ icon: "text-danger"
29
+ }
30
+ },
31
+ withTitle: { true: { description: "mt-1" } }
32
+ },
33
+ defaultVariants: { variant: "info" }
34
+ });
35
+ //#endregion
36
+ export { t as alertTheme };
@@ -0,0 +1,92 @@
1
+ export declare const badgeTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ neutral: {};
4
+ success: {};
5
+ warning: {};
6
+ danger: {};
7
+ info: {};
8
+ };
9
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
10
+ tone: {
11
+ soft: {};
12
+ solid: {};
13
+ };
14
+ size: {
15
+ sm: {
16
+ root: string;
17
+ dot: string;
18
+ };
19
+ md: {
20
+ root: string;
21
+ dot: string;
22
+ };
23
+ lg: {
24
+ root: string;
25
+ dot: string;
26
+ };
27
+ };
28
+ }, {
29
+ root: string;
30
+ dot: string;
31
+ }, undefined, {
32
+ variant: {
33
+ neutral: {};
34
+ success: {};
35
+ warning: {};
36
+ danger: {};
37
+ info: {};
38
+ };
39
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
40
+ tone: {
41
+ soft: {};
42
+ solid: {};
43
+ };
44
+ size: {
45
+ sm: {
46
+ root: string;
47
+ dot: string;
48
+ };
49
+ md: {
50
+ root: string;
51
+ dot: string;
52
+ };
53
+ lg: {
54
+ root: string;
55
+ dot: string;
56
+ };
57
+ };
58
+ }, {
59
+ root: string;
60
+ dot: string;
61
+ }, import("tailwind-variants").TVReturnType<{
62
+ variant: {
63
+ neutral: {};
64
+ success: {};
65
+ warning: {};
66
+ danger: {};
67
+ info: {};
68
+ };
69
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
70
+ tone: {
71
+ soft: {};
72
+ solid: {};
73
+ };
74
+ size: {
75
+ sm: {
76
+ root: string;
77
+ dot: string;
78
+ };
79
+ md: {
80
+ root: string;
81
+ dot: string;
82
+ };
83
+ lg: {
84
+ root: string;
85
+ dot: string;
86
+ };
87
+ };
88
+ }, {
89
+ root: string;
90
+ dot: string;
91
+ }, undefined, unknown, unknown, undefined>>;
92
+ export type BadgeSlots = keyof ReturnType<typeof badgeTheme>;
@@ -0,0 +1,94 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/badge.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "inline-flex shrink-0 items-center rounded-full font-medium whitespace-nowrap [&_svg]:pointer-events-none [&_svg]:shrink-0",
6
+ dot: "rounded-full bg-current"
7
+ },
8
+ variants: {
9
+ variant: {
10
+ neutral: {},
11
+ success: {},
12
+ warning: {},
13
+ danger: {},
14
+ info: {}
15
+ },
16
+ tone: {
17
+ soft: {},
18
+ solid: {}
19
+ },
20
+ size: {
21
+ sm: {
22
+ root: "h-5 gap-1 px-2 text-xs [&_svg]:size-3",
23
+ dot: "size-1.5"
24
+ },
25
+ md: {
26
+ root: "h-6 gap-1.5 px-2.5 text-xs [&_svg]:size-3.5",
27
+ dot: "size-2"
28
+ },
29
+ lg: {
30
+ root: "h-7 gap-1.5 px-3 text-sm [&_svg]:size-4",
31
+ dot: "size-2"
32
+ }
33
+ }
34
+ },
35
+ compoundVariants: [
36
+ {
37
+ variant: "neutral",
38
+ tone: "soft",
39
+ class: { root: "bg-muted text-muted-foreground" }
40
+ },
41
+ {
42
+ variant: "neutral",
43
+ tone: "solid",
44
+ class: { root: "bg-foreground text-background" }
45
+ },
46
+ {
47
+ variant: "success",
48
+ tone: "soft",
49
+ class: { root: "bg-success-muted text-success-muted-foreground" }
50
+ },
51
+ {
52
+ variant: "success",
53
+ tone: "solid",
54
+ class: { root: "bg-success text-success-foreground" }
55
+ },
56
+ {
57
+ variant: "warning",
58
+ tone: "soft",
59
+ class: { root: "bg-warning-muted text-warning-muted-foreground" }
60
+ },
61
+ {
62
+ variant: "warning",
63
+ tone: "solid",
64
+ class: { root: "bg-warning text-warning-foreground" }
65
+ },
66
+ {
67
+ variant: "danger",
68
+ tone: "soft",
69
+ class: { root: "bg-danger-muted text-danger-muted-foreground" }
70
+ },
71
+ {
72
+ variant: "danger",
73
+ tone: "solid",
74
+ class: { root: "bg-danger text-danger-foreground" }
75
+ },
76
+ {
77
+ variant: "info",
78
+ tone: "soft",
79
+ class: { root: "bg-info-muted text-info-muted-foreground" }
80
+ },
81
+ {
82
+ variant: "info",
83
+ tone: "solid",
84
+ class: { root: "bg-info text-info-foreground" }
85
+ }
86
+ ],
87
+ defaultVariants: {
88
+ variant: "neutral",
89
+ tone: "soft",
90
+ size: "md"
91
+ }
92
+ });
93
+ //#endregion
94
+ export { t as badgeTheme };
@@ -0,0 +1,110 @@
1
+ export declare const cardTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ outline: {
4
+ root: string;
5
+ };
6
+ soft: {
7
+ root: string;
8
+ };
9
+ };
10
+ padding: {
11
+ none: {};
12
+ sm: {
13
+ root: string;
14
+ header: string;
15
+ footer: string;
16
+ };
17
+ md: {
18
+ root: string;
19
+ header: string;
20
+ footer: string;
21
+ };
22
+ lg: {
23
+ root: string;
24
+ header: string;
25
+ footer: string;
26
+ };
27
+ };
28
+ }, {
29
+ root: string;
30
+ /** Only rendered when a title, description or header slot is provided. */
31
+ header: string;
32
+ title: string;
33
+ description: string;
34
+ body: string;
35
+ /** Only rendered when a footer slot is provided. */
36
+ footer: string;
37
+ }, undefined, {
38
+ variant: {
39
+ outline: {
40
+ root: string;
41
+ };
42
+ soft: {
43
+ root: string;
44
+ };
45
+ };
46
+ padding: {
47
+ none: {};
48
+ sm: {
49
+ root: string;
50
+ header: string;
51
+ footer: string;
52
+ };
53
+ md: {
54
+ root: string;
55
+ header: string;
56
+ footer: string;
57
+ };
58
+ lg: {
59
+ root: string;
60
+ header: string;
61
+ footer: string;
62
+ };
63
+ };
64
+ }, {
65
+ root: string;
66
+ /** Only rendered when a title, description or header slot is provided. */
67
+ header: string;
68
+ title: string;
69
+ description: string;
70
+ body: string;
71
+ /** Only rendered when a footer slot is provided. */
72
+ footer: string;
73
+ }, import("tailwind-variants").TVReturnType<{
74
+ variant: {
75
+ outline: {
76
+ root: string;
77
+ };
78
+ soft: {
79
+ root: string;
80
+ };
81
+ };
82
+ padding: {
83
+ none: {};
84
+ sm: {
85
+ root: string;
86
+ header: string;
87
+ footer: string;
88
+ };
89
+ md: {
90
+ root: string;
91
+ header: string;
92
+ footer: string;
93
+ };
94
+ lg: {
95
+ root: string;
96
+ header: string;
97
+ footer: string;
98
+ };
99
+ };
100
+ }, {
101
+ root: string;
102
+ /** Only rendered when a title, description or header slot is provided. */
103
+ header: string;
104
+ title: string;
105
+ description: string;
106
+ body: string;
107
+ /** Only rendered when a footer slot is provided. */
108
+ footer: string;
109
+ }, undefined, unknown, unknown, undefined>>;
110
+ export type CardSlots = keyof ReturnType<typeof cardTheme>;
@@ -0,0 +1,42 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/card.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "rounded-xl text-foreground",
6
+ header: "flex flex-col gap-1",
7
+ title: "text-base leading-none font-semibold",
8
+ description: "text-sm text-muted-foreground",
9
+ body: "",
10
+ footer: "flex items-center gap-2"
11
+ },
12
+ variants: {
13
+ variant: {
14
+ outline: { root: "border border-border bg-background" },
15
+ soft: { root: "bg-muted" }
16
+ },
17
+ padding: {
18
+ none: {},
19
+ sm: {
20
+ root: "p-4",
21
+ header: "mb-3",
22
+ footer: "mt-3"
23
+ },
24
+ md: {
25
+ root: "p-6",
26
+ header: "mb-4",
27
+ footer: "mt-4"
28
+ },
29
+ lg: {
30
+ root: "p-8",
31
+ header: "mb-6",
32
+ footer: "mt-6"
33
+ }
34
+ }
35
+ },
36
+ defaultVariants: {
37
+ variant: "outline",
38
+ padding: "md"
39
+ }
40
+ });
41
+ //#endregion
42
+ export { t as cardTheme };
@@ -1,10 +1,10 @@
1
1
  export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
2
2
  [key: string]: {
3
3
  [key: string]: import("tailwind-variants").ClassValue | {
4
- header?: import("tailwind-variants").ClassValue;
5
- label?: import("tailwind-variants").ClassValue;
6
4
  root?: import("tailwind-variants").ClassValue;
7
5
  description?: import("tailwind-variants").ClassValue;
6
+ label?: import("tailwind-variants").ClassValue;
7
+ header?: import("tailwind-variants").ClassValue;
8
8
  error?: import("tailwind-variants").ClassValue;
9
9
  hint?: import("tailwind-variants").ClassValue;
10
10
  control?: import("tailwind-variants").ClassValue;
@@ -14,10 +14,10 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
14
14
  } | {
15
15
  [x: string]: {
16
16
  [x: string]: import("tailwind-variants").ClassValue | {
17
- header?: import("tailwind-variants").ClassValue;
18
- label?: import("tailwind-variants").ClassValue;
19
17
  root?: import("tailwind-variants").ClassValue;
20
18
  description?: import("tailwind-variants").ClassValue;
19
+ label?: import("tailwind-variants").ClassValue;
20
+ header?: import("tailwind-variants").ClassValue;
21
21
  error?: import("tailwind-variants").ClassValue;
22
22
  hint?: import("tailwind-variants").ClassValue;
23
23
  control?: import("tailwind-variants").ClassValue;
@@ -36,10 +36,10 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
36
36
  }, undefined, {
37
37
  [key: string]: {
38
38
  [key: string]: import("tailwind-variants").ClassValue | {
39
- header?: import("tailwind-variants").ClassValue;
40
- label?: import("tailwind-variants").ClassValue;
41
39
  root?: import("tailwind-variants").ClassValue;
42
40
  description?: import("tailwind-variants").ClassValue;
41
+ label?: import("tailwind-variants").ClassValue;
42
+ header?: import("tailwind-variants").ClassValue;
43
43
  error?: import("tailwind-variants").ClassValue;
44
44
  hint?: import("tailwind-variants").ClassValue;
45
45
  control?: import("tailwind-variants").ClassValue;
@@ -1,4 +1,7 @@
1
+ export * from './alert';
2
+ export * from './badge';
1
3
  export * from './button';
4
+ export * from './card';
2
5
  export * from './checkbox';
3
6
  export * from './input';
4
7
  export * from './label';
@@ -12,6 +12,26 @@ export interface ThemeColors {
12
12
  muted?: string;
13
13
  mutedForeground?: string;
14
14
  border?: string;
15
+ success?: string;
16
+ successForeground?: string;
17
+ successMuted?: string;
18
+ successMutedForeground?: string;
19
+ successBorder?: string;
20
+ warning?: string;
21
+ warningForeground?: string;
22
+ warningMuted?: string;
23
+ warningMutedForeground?: string;
24
+ warningBorder?: string;
25
+ danger?: string;
26
+ dangerForeground?: string;
27
+ dangerMuted?: string;
28
+ dangerMutedForeground?: string;
29
+ dangerBorder?: string;
30
+ info?: string;
31
+ infoForeground?: string;
32
+ infoMuted?: string;
33
+ infoMutedForeground?: string;
34
+ infoBorder?: string;
15
35
  }
16
36
  /** A theme provides token values per appearance mode. Omitted tokens keep the defaults from theme.css. */
17
37
  export interface Theme {
@@ -10,7 +10,27 @@ var e = {
10
10
  accentForeground: "--iryx-accent-foreground",
11
11
  muted: "--iryx-muted",
12
12
  mutedForeground: "--iryx-muted-foreground",
13
- border: "--iryx-border"
13
+ border: "--iryx-border",
14
+ success: "--iryx-success",
15
+ successForeground: "--iryx-success-foreground",
16
+ successMuted: "--iryx-success-muted",
17
+ successMutedForeground: "--iryx-success-muted-foreground",
18
+ successBorder: "--iryx-success-border",
19
+ warning: "--iryx-warning",
20
+ warningForeground: "--iryx-warning-foreground",
21
+ warningMuted: "--iryx-warning-muted",
22
+ warningMutedForeground: "--iryx-warning-muted-foreground",
23
+ warningBorder: "--iryx-warning-border",
24
+ danger: "--iryx-danger",
25
+ dangerForeground: "--iryx-danger-foreground",
26
+ dangerMuted: "--iryx-danger-muted",
27
+ dangerMutedForeground: "--iryx-danger-muted-foreground",
28
+ dangerBorder: "--iryx-danger-border",
29
+ info: "--iryx-info",
30
+ infoForeground: "--iryx-info-foreground",
31
+ infoMuted: "--iryx-info-muted",
32
+ infoMutedForeground: "--iryx-info-muted-foreground",
33
+ infoBorder: "--iryx-info-border"
14
34
  }, t = {
15
35
  violet: {
16
36
  light: {