@vireo-ai/trellis-ui 0.1.1 → 0.1.4

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 (62) hide show
  1. package/package.json +2 -5
  2. package/src/components/button/styles.css +47 -26
  3. package/src/components/date-picker/styles.css +23 -1
  4. package/src/components/file-upload/styles.css +28 -0
  5. package/src/components/radio/styles.css +33 -21
  6. package/src/components/select/styles.css +44 -3
  7. package/src/components.css +1 -2
  8. package/src/theme.css +332 -46
  9. package/trellis_ui/static/trellis_ui/css/styles.css +1025 -214
  10. package/trellis_ui/static/trellis_ui/js/esm/index.js +1869 -1078
  11. package/trellis_ui/static/trellis_ui/js/esm/index.js.map +1 -1
  12. package/trellis_ui/static/trellis_ui/js/index.js +7 -7
  13. package/types/components/app/contract.d.ts +7 -2
  14. package/types/components/badge/contract.d.ts +8 -6
  15. package/types/components/box/contract.d.ts +29 -21
  16. package/types/components/box/index.d.ts +1 -1
  17. package/types/components/button/contract.d.ts +10 -7
  18. package/types/components/card/contract.d.ts +25 -11
  19. package/types/components/combobox/contract.d.ts +6 -3
  20. package/types/components/combobox/index.d.ts +3 -0
  21. package/types/components/common.d.ts +239 -2
  22. package/types/components/container/contract.d.ts +30 -0
  23. package/types/components/container/index.d.ts +1 -0
  24. package/types/components/date-picker/contract.d.ts +7 -4
  25. package/types/components/file-upload/index.d.ts +1 -0
  26. package/types/components/flex/contract.d.ts +35 -0
  27. package/types/components/flex/index.d.ts +1 -0
  28. package/types/components/frame/contract.d.ts +43 -18
  29. package/types/components/frame/index.d.ts +2 -2
  30. package/types/components/grid/contract.d.ts +40 -0
  31. package/types/components/grid/index.d.ts +1 -0
  32. package/types/components/heading/contract.d.ts +3 -2
  33. package/types/components/input/contract.d.ts +7 -3
  34. package/types/components/layout.d.ts +408 -0
  35. package/types/components/menu/contract.d.ts +1 -1
  36. package/types/components/modal/contract.d.ts +12 -6
  37. package/types/components/section/contract.d.ts +27 -0
  38. package/types/components/section/index.d.ts +1 -0
  39. package/types/components/select/contract.d.ts +10 -7
  40. package/types/components/select/index.d.ts +3 -0
  41. package/types/components/sidebar/contract.d.ts +1 -1
  42. package/types/components/stack/contract.d.ts +29 -0
  43. package/types/components/stack/index.d.ts +1 -0
  44. package/types/components/table/contract.d.ts +4 -4
  45. package/types/components/tabs/index.d.ts +1 -0
  46. package/types/components/text/contract.d.ts +3 -2
  47. package/types/components/textarea/contract.d.ts +1 -0
  48. package/types/components/toast/contract.d.ts +11 -5
  49. package/types/components/toast/index.d.ts +2 -1
  50. package/types/index.d.ts +4 -4
  51. package/types/motion/animate.d.ts +4 -0
  52. package/types/motion/presence.d.ts +1 -1
  53. package/types/runtime/index.d.ts +6 -6
  54. package/types/runtime/manifest.d.ts +5 -1
  55. package/types/runtime/merge-bindings.d.ts +9 -0
  56. package/types/runtime/stream.d.ts +1 -1
  57. package/types/runtime/theme.d.ts +8 -3
  58. package/src/components/image/styles.css +0 -10
  59. package/src/components/theme/styles.css +0 -13
  60. package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js +0 -551
  61. package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js.map +0 -1
  62. package/types/runtime/props.d.ts +0 -9
@@ -1,16 +1,18 @@
1
1
  import { type PropState } from '../../runtime';
2
- import { type Alignment, type Position } from '../common';
2
+ import { type Alignment, type ComponentRadius, type Position } from '../common';
3
3
  declare const DATE_PICKER_MODES: readonly ["single", "range"];
4
4
  declare const DATE_PICKER_VARIANTS: readonly ["enhanced", "native"];
5
5
  declare const DATE_PICKER_MOBILE: readonly ["popover", "modal", "native"];
6
6
  declare const DATE_PICKER_CLOSE: readonly ["select", "confirm"];
7
7
  declare const DATE_PICKER_COLORS: readonly ["neutral", "accent"];
8
+ declare const DATE_PICKER_RADII: readonly ["none", "xs", "sm", "md", "lg", "full"];
8
9
  declare const DATE_PICKER_PRESETS_POSITIONS: readonly ["left", "right", "top", "bottom"];
9
10
  type DatePickerMode = typeof DATE_PICKER_MODES[number];
10
11
  type DatePickerVariant = typeof DATE_PICKER_VARIANTS[number];
11
12
  type DatePickerMobile = typeof DATE_PICKER_MOBILE[number];
12
13
  type DatePickerClose = typeof DATE_PICKER_CLOSE[number];
13
14
  type DatePickerColor = typeof DATE_PICKER_COLORS[number];
15
+ type DatePickerRadius = ComponentRadius;
14
16
  type DatePickerPresetsPosition = typeof DATE_PICKER_PRESETS_POSITIONS[number];
15
17
  type DatePickerSide = Position;
16
18
  type DatePickerAlign = Alignment;
@@ -52,7 +54,8 @@ declare const datePickerSchema: {
52
54
  gap: import("../../runtime/codecs").NumberCodec;
53
55
  mobile: import("../../runtime/codecs").OneOfCodec<"popover" | "modal" | "native">;
54
56
  variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
55
- color: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent">;
57
+ color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
58
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
56
59
  close: import("../../runtime/codecs").OneOfCodec<"select" | "confirm">;
57
60
  presets: import("../../runtime/codecs").JsonCodec<DatePickerPreset[]>;
58
61
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
@@ -82,5 +85,5 @@ declare const datePickerPresetsSchema: {
82
85
  type DatePickerProps = PropState<typeof datePickerSchema>;
83
86
  type DatePickerPresetProps = PropState<typeof datePickerPresetSchema>;
84
87
  type DatePickerPresetsProps = PropState<typeof datePickerPresetsSchema>;
85
- export { DATE_PICKER_CLOSE, DATE_PICKER_COLORS, DATE_PICKER_MOBILE, DATE_PICKER_MODES, DATE_PICKER_PRESETS_POSITIONS, DATE_PICKER_VARIANTS, datePickerPresetSchema, datePickerPresetsSchema, datePickerSchema, };
86
- export type { DatePickerAlign, DatePickerClose, DatePickerColor, DatePickerMobile, DatePickerMode, DatePickerPreset, DatePickerPresetProps, DatePickerPresetsPosition, DatePickerPresetsProps, DatePickerProps, DatePickerSide, DatePickerVariant, };
88
+ export { DATE_PICKER_CLOSE, DATE_PICKER_COLORS, DATE_PICKER_MOBILE, DATE_PICKER_MODES, DATE_PICKER_PRESETS_POSITIONS, DATE_PICKER_RADII, DATE_PICKER_VARIANTS, datePickerPresetSchema, datePickerPresetsSchema, datePickerSchema, };
89
+ export type { DatePickerAlign, DatePickerClose, DatePickerColor, DatePickerMobile, DatePickerMode, DatePickerPreset, DatePickerPresetProps, DatePickerPresetsPosition, DatePickerPresetsProps, DatePickerProps, DatePickerRadius, DatePickerSide, DatePickerVariant, };
@@ -14,6 +14,7 @@ type FileUploadData = {
14
14
  listeners: CleanupStack;
15
15
  files: PendingFile[];
16
16
  limitReached: boolean;
17
+ emptyInputChangeClears: boolean;
17
18
  root(): HTMLElement;
18
19
  input(): HTMLInputElement;
19
20
  dropzone(): HTMLElement | null;
@@ -0,0 +1,35 @@
1
+ import { type PropState } from '../../runtime';
2
+ import { type LayoutAlign, type LayoutAs, type LayoutJustify, type LayoutSpace } from '../layout';
3
+ declare const FLEX_DISPLAYS: readonly ["flex", "inline-flex", "none"];
4
+ declare const FLEX_DIRECTIONS: readonly ["row", "column", "row-reverse", "column-reverse"];
5
+ declare const FLEX_WRAPS: readonly ["nowrap", "wrap", "wrap-reverse"];
6
+ declare const flexSchema: {
7
+ padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
8
+ paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
9
+ paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
10
+ margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
11
+ marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
12
+ marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
13
+ surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
14
+ tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
15
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
16
+ elevation: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
17
+ width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
18
+ height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
19
+ class: import("../../runtime/codecs").StringCodec;
20
+ align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch" | "baseline">;
21
+ justify: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "between">;
22
+ gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
23
+ gapX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
24
+ gapY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
25
+ as: import("../../runtime/codecs").OneOfCodec<"article" | "aside" | "div" | "footer" | "form" | "header" | "li" | "main" | "nav" | "ol" | "section" | "span" | "ul">;
26
+ display: import("../../runtime/codecs").OneOfCodec<"flex" | "none" | "inline-flex">;
27
+ direction: import("../../runtime/codecs").OneOfCodec<"row" | "column" | "row-reverse" | "column-reverse">;
28
+ wrap: import("../../runtime/codecs").OneOfCodec<"nowrap" | "wrap" | "wrap-reverse">;
29
+ };
30
+ type FlexDisplay = typeof FLEX_DISPLAYS[number];
31
+ type FlexDirection = typeof FLEX_DIRECTIONS[number];
32
+ type FlexWrap = typeof FLEX_WRAPS[number];
33
+ type FlexProps = PropState<typeof flexSchema>;
34
+ export { FLEX_DIRECTIONS, FLEX_DISPLAYS, FLEX_WRAPS, flexSchema, };
35
+ export type { FlexDirection, FlexDisplay, FlexProps, FlexWrap, LayoutAlign as FlexAlign, LayoutAs as FlexAs, LayoutJustify as FlexJustify, LayoutSpace as FlexSpace, };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,14 +1,16 @@
1
1
  import { type PropState } from '../../runtime';
2
+ import { type ComponentRadius, type Elevation, type LayoutSpace, type Surface, type SurfaceTone } from '../common';
2
3
  declare const FRAME_AS_VALUES: readonly ["div", "section", "article", "aside", "main", "nav", "form"];
3
4
  declare const FRAME_REGION_AS_VALUES: readonly ["div", "header", "footer", "section", "nav", "form"];
4
5
  declare const FRAME_BODY_AS_VALUES: readonly ["div", "section", "main", "form"];
5
6
  declare const FRAME_LAYOUTS: readonly ["regions", "stack"];
6
7
  declare const FRAME_REGION_LAYOUTS: readonly ["block", "row", "stack", "cluster"];
7
- declare const FRAME_SPACES: readonly ["0", "1", "2", "3", "4", "5", "6"];
8
- declare const FRAME_SURFACES: readonly ["none", "app", "subtle", "surface", "raised"];
8
+ declare const FRAME_SPACES: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
9
+ declare const FRAME_SURFACES: readonly ["none", "app", "chrome", "subtle", "panel", "raised", "overlay", "accent", "inverse"];
10
+ declare const FRAME_TONES: readonly ["solid", "alpha"];
9
11
  declare const FRAME_BORDERS: readonly ["none", "default"];
10
- declare const FRAME_RADII: readonly ["none", "sm", "md", "lg"];
11
- declare const FRAME_SHADOWS: readonly ["none", "border", "sm", "md", "lg"];
12
+ declare const FRAME_RADII: readonly ["none", "xs", "sm", "md", "lg", "full"];
13
+ declare const FRAME_ELEVATIONS: readonly ["none", "1", "2", "3", "4", "5", "6"];
12
14
  declare const FRAME_WIDTHS: readonly ["auto", "full", "xs", "sm", "md", "lg", "xl", "prose"];
13
15
  declare const FRAME_HEIGHTS: readonly ["auto", "full", "xs", "sm", "md", "lg", "xl", "prose"];
14
16
  declare const FRAME_ALIGNS: readonly ["start", "center", "end", "stretch"];
@@ -16,18 +18,35 @@ declare const FRAME_JUSTIFIES: readonly ["start", "center", "end", "between"];
16
18
  declare const frameSchema: {
17
19
  as: import("../../runtime/codecs").OneOfCodec<"article" | "aside" | "div" | "form" | "main" | "nav" | "section">;
18
20
  layout: import("../../runtime/codecs").OneOfCodec<"stack" | "regions">;
19
- gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6">;
20
- surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "surface" | "app" | "raised">;
21
+ gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
22
+ gapX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
23
+ gapY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
24
+ padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
25
+ paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
26
+ paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
27
+ margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
28
+ marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
29
+ marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
30
+ surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
31
+ tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
21
32
  border: import("../../runtime/codecs").OneOfCodec<"default" | "none">;
22
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "sm" | "md" | "lg">;
23
- shadow: import("../../runtime/codecs").OneOfCodec<"border" | "none" | "sm" | "md" | "lg">;
24
- width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "auto" | "xl" | "full" | "prose">;
25
- height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "auto" | "xl" | "full" | "prose">;
33
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
34
+ elevation: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
35
+ width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
36
+ height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
26
37
  class: import("../../runtime/codecs").StringCodec;
27
38
  };
28
39
  declare const frameRegionSchema: {
29
40
  as: import("../../runtime/codecs").OneOfCodec<"div" | "footer" | "form" | "header" | "nav" | "section">;
30
- padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6">;
41
+ padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
42
+ paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
43
+ paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
44
+ gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
45
+ gapX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
46
+ gapY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
47
+ margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
48
+ marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
49
+ marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
31
50
  layout: import("../../runtime/codecs").OneOfCodec<"stack" | "block" | "row" | "cluster">;
32
51
  align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch">;
33
52
  justify: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "between">;
@@ -35,7 +54,12 @@ declare const frameRegionSchema: {
35
54
  };
36
55
  declare const frameBodySchema: {
37
56
  as: import("../../runtime/codecs").OneOfCodec<"div" | "form" | "main" | "section">;
38
- padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6">;
57
+ padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
58
+ paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
59
+ paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
60
+ margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
61
+ marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
62
+ marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
39
63
  scroll: import("../../runtime/codecs").BoolCodec;
40
64
  class: import("../../runtime/codecs").StringCodec;
41
65
  };
@@ -44,11 +68,12 @@ type FrameRegionAs = typeof FRAME_REGION_AS_VALUES[number];
44
68
  type FrameBodyAs = typeof FRAME_BODY_AS_VALUES[number];
45
69
  type FrameLayout = typeof FRAME_LAYOUTS[number];
46
70
  type FrameRegionLayout = typeof FRAME_REGION_LAYOUTS[number];
47
- type FrameSpace = typeof FRAME_SPACES[number];
48
- type FrameSurface = typeof FRAME_SURFACES[number];
71
+ type FrameSpace = LayoutSpace;
72
+ type FrameSurface = Surface;
73
+ type FrameTone = SurfaceTone;
49
74
  type FrameBorder = typeof FRAME_BORDERS[number];
50
- type FrameRadius = typeof FRAME_RADII[number];
51
- type FrameShadow = typeof FRAME_SHADOWS[number];
75
+ type FrameRadius = ComponentRadius;
76
+ type FrameElevation = Elevation;
52
77
  type FrameWidth = typeof FRAME_WIDTHS[number];
53
78
  type FrameHeight = typeof FRAME_HEIGHTS[number];
54
79
  type FrameAlign = typeof FRAME_ALIGNS[number];
@@ -56,5 +81,5 @@ type FrameJustify = typeof FRAME_JUSTIFIES[number];
56
81
  type FrameProps = PropState<typeof frameSchema>;
57
82
  type FrameRegionProps = PropState<typeof frameRegionSchema>;
58
83
  type FrameBodyProps = PropState<typeof frameBodySchema>;
59
- export { FRAME_ALIGNS, FRAME_AS_VALUES, FRAME_BODY_AS_VALUES, FRAME_BORDERS, FRAME_HEIGHTS, FRAME_JUSTIFIES, FRAME_LAYOUTS, FRAME_RADII, FRAME_REGION_AS_VALUES, FRAME_REGION_LAYOUTS, FRAME_SHADOWS, FRAME_SPACES, FRAME_SURFACES, FRAME_WIDTHS, frameBodySchema, frameRegionSchema, frameSchema, };
60
- export type { FrameAlign, FrameAs, FrameBodyAs, FrameBodyProps, FrameBorder, FrameHeight, FrameJustify, FrameLayout, FrameProps, FrameRadius, FrameRegionAs, FrameRegionLayout, FrameRegionProps, FrameShadow, FrameSpace, FrameSurface, FrameWidth, };
84
+ export { FRAME_ALIGNS, FRAME_AS_VALUES, FRAME_BODY_AS_VALUES, FRAME_BORDERS, FRAME_ELEVATIONS, FRAME_HEIGHTS, FRAME_JUSTIFIES, FRAME_LAYOUTS, FRAME_RADII, FRAME_REGION_AS_VALUES, FRAME_REGION_LAYOUTS, FRAME_SPACES, FRAME_SURFACES, FRAME_TONES, FRAME_WIDTHS, frameBodySchema, frameRegionSchema, frameSchema, };
85
+ export type { FrameAlign, FrameAs, FrameBodyAs, FrameBodyProps, FrameBorder, FrameElevation, FrameHeight, FrameJustify, FrameLayout, FrameProps, FrameRadius, FrameRegionAs, FrameRegionLayout, FrameRegionProps, FrameSpace, FrameSurface, FrameTone, FrameWidth, };
@@ -1,2 +1,2 @@
1
- export { FRAME_ALIGNS, FRAME_AS_VALUES, FRAME_BODY_AS_VALUES, FRAME_BORDERS, FRAME_HEIGHTS, FRAME_JUSTIFIES, FRAME_LAYOUTS, FRAME_RADII, FRAME_REGION_AS_VALUES, FRAME_REGION_LAYOUTS, FRAME_SHADOWS, FRAME_SPACES, FRAME_SURFACES, FRAME_WIDTHS, frameBodySchema, frameRegionSchema, frameSchema, } from './contract';
2
- export type { FrameAlign, FrameAs, FrameBodyAs, FrameBodyProps, FrameBorder, FrameHeight, FrameJustify, FrameLayout, FrameProps, FrameRadius, FrameRegionAs, FrameRegionLayout, FrameRegionProps, FrameShadow, FrameSpace, FrameSurface, FrameWidth, } from './contract';
1
+ export { FRAME_ALIGNS, FRAME_AS_VALUES, FRAME_BODY_AS_VALUES, FRAME_BORDERS, FRAME_ELEVATIONS, FRAME_HEIGHTS, FRAME_JUSTIFIES, FRAME_LAYOUTS, FRAME_RADII, FRAME_REGION_AS_VALUES, FRAME_REGION_LAYOUTS, FRAME_SPACES, FRAME_SURFACES, FRAME_WIDTHS, frameBodySchema, frameRegionSchema, frameSchema, } from './contract';
2
+ export type { FrameAlign, FrameAs, FrameBodyAs, FrameBodyProps, FrameBorder, FrameElevation, FrameHeight, FrameJustify, FrameLayout, FrameProps, FrameRadius, FrameRegionAs, FrameRegionLayout, FrameRegionProps, FrameSpace, FrameSurface, FrameWidth, } from './contract';
@@ -0,0 +1,40 @@
1
+ import { type PropState } from '../../runtime';
2
+ import { type LayoutAlign, type LayoutAs, type LayoutColumns, type LayoutJustify, type LayoutRows, type LayoutSpace } from '../layout';
3
+ declare const GRID_DISPLAYS: readonly ["grid", "inline-grid", "none"];
4
+ declare const GRID_FLOWS: readonly ["row", "column", "dense", "row-dense", "column-dense"];
5
+ declare const GRID_CONTENT_ALIGNS: readonly ["start", "center", "end", "between", "stretch"];
6
+ declare const GRID_ITEM_JUSTIFIES: readonly ["start", "center", "end", "stretch"];
7
+ declare const gridSchema: {
8
+ padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
9
+ paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
10
+ paddingY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
11
+ margin: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
12
+ marginX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
13
+ marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
14
+ surface: import("../../runtime/codecs").OneOfCodec<"none" | "subtle" | "accent" | "app" | "chrome" | "panel" | "raised" | "overlay" | "inverse">;
15
+ tone: import("../../runtime/codecs").OneOfCodec<"solid" | "alpha">;
16
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
17
+ elevation: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
18
+ width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
19
+ height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
20
+ class: import("../../runtime/codecs").StringCodec;
21
+ align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch" | "baseline">;
22
+ justify: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "between">;
23
+ gap: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
24
+ gapX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
25
+ gapY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">;
26
+ as: import("../../runtime/codecs").OneOfCodec<"article" | "aside" | "div" | "footer" | "form" | "header" | "li" | "main" | "nav" | "ol" | "section" | "span" | "ul">;
27
+ display: import("../../runtime/codecs").OneOfCodec<"grid" | "none" | "inline-grid">;
28
+ columns: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
29
+ rows: import("../../runtime/codecs").OneOfCodec<"1" | "none" | "2" | "3" | "4" | "5" | "6">;
30
+ flow: import("../../runtime/codecs").OneOfCodec<"row" | "column" | "dense" | "row-dense" | "column-dense">;
31
+ alignContent: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch" | "between">;
32
+ justifyItems: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start" | "stretch">;
33
+ };
34
+ type GridDisplay = typeof GRID_DISPLAYS[number];
35
+ type GridFlow = typeof GRID_FLOWS[number];
36
+ type GridContentAlign = typeof GRID_CONTENT_ALIGNS[number];
37
+ type GridJustifyItems = typeof GRID_ITEM_JUSTIFIES[number];
38
+ type GridProps = PropState<typeof gridSchema>;
39
+ export { GRID_CONTENT_ALIGNS, GRID_DISPLAYS, GRID_FLOWS, GRID_ITEM_JUSTIFIES, gridSchema, };
40
+ export type { GridContentAlign, GridDisplay, GridFlow, GridJustifyItems, GridProps, LayoutAlign as GridAlign, LayoutAs as GridAs, LayoutColumns as GridColumns, LayoutJustify as GridJustify, LayoutRows as GridRows, LayoutSpace as GridSpace, };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,9 @@
1
+ import { type TypographyColor } from '../common';
1
2
  declare const HEADING_AS_VALUES: readonly ["div", "h1", "h2", "h3", "h4", "h5", "h6"];
2
3
  declare const HEADING_SIZE_VALUES: readonly ["base", "lg", "xl"];
3
- declare const HEADING_COLOR_VALUES: readonly ["default", "muted", "accent", "inherit"];
4
+ declare const HEADING_COLOR_VALUES: readonly ["inherit", "muted", "subtle", "accent", "danger"];
4
5
  type HeadingAs = typeof HEADING_AS_VALUES[number];
5
6
  type HeadingSize = typeof HEADING_SIZE_VALUES[number];
6
- type HeadingColor = typeof HEADING_COLOR_VALUES[number];
7
+ type HeadingColor = TypographyColor;
7
8
  export { HEADING_AS_VALUES, HEADING_COLOR_VALUES, HEADING_SIZE_VALUES, };
8
9
  export type { HeadingAs, HeadingColor, HeadingSize };
@@ -1,10 +1,12 @@
1
1
  import { type PropState } from '../../runtime';
2
- import { type ControlSize, type ControlVariant, type IconVariant } from '../common';
2
+ import { type ComponentRadius, type ControlSize, type ControlVariant, type IconVariant } from '../common';
3
3
  declare const INPUT_SIZES: readonly ["xs", "sm", "md", "lg", "xlg"];
4
4
  declare const INPUT_VARIANTS: readonly ["outline", "filled"];
5
+ declare const INPUT_RADII: readonly ["none", "xs", "sm", "md", "lg", "full"];
5
6
  declare const INPUT_ICON_VARIANTS: readonly ["outline", "solid", "mini", "micro"];
6
7
  type InputSize = ControlSize;
7
8
  type InputVariant = ControlVariant;
9
+ type InputRadius = ComponentRadius;
8
10
  type InputIconVariant = IconVariant;
9
11
  declare const inputSchema: {
10
12
  type: import("../../runtime/codecs").StringCodec;
@@ -13,6 +15,7 @@ declare const inputSchema: {
13
15
  placeholder: import("../../runtime/codecs").StringCodec;
14
16
  size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
15
17
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
18
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
16
19
  disabled: import("../../runtime/codecs").BoolCodec;
17
20
  readonly: import("../../runtime/codecs").BoolCodec;
18
21
  required: import("../../runtime/codecs").BoolCodec;
@@ -32,6 +35,7 @@ declare const inputSchema: {
32
35
  declare const inputGroupSchema: {
33
36
  size: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "xlg">;
34
37
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
38
+ radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
35
39
  label: import("../../runtime/codecs").StringCodec;
36
40
  description: import("../../runtime/codecs").StringCodec;
37
41
  descriptionTrailing: import("../../runtime/codecs").StringCodec;
@@ -45,5 +49,5 @@ declare const inputAffixSchema: {
45
49
  class: import("../../runtime/codecs").StringCodec;
46
50
  };
47
51
  type InputProps = PropState<typeof inputSchema>;
48
- export { INPUT_ICON_VARIANTS, INPUT_SIZES, INPUT_VARIANTS, inputAffixSchema, inputGroupSchema, inputSchema };
49
- export type { InputIconVariant, InputProps, InputSize, InputVariant };
52
+ export { INPUT_ICON_VARIANTS, INPUT_RADII, INPUT_SIZES, INPUT_VARIANTS, inputAffixSchema, inputGroupSchema, inputSchema };
53
+ export type { InputIconVariant, InputProps, InputRadius, InputSize, InputVariant };