@proyecto-viviana/ui 0.1.5 → 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 (130) hide show
  1. package/README.md +192 -0
  2. package/dist/autocomplete/index.d.ts +89 -0
  3. package/dist/autocomplete/index.d.ts.map +1 -0
  4. package/dist/breadcrumbs/index.d.ts +38 -0
  5. package/dist/breadcrumbs/index.d.ts.map +1 -0
  6. package/dist/button/Button.d.ts.map +1 -1
  7. package/dist/calendar/DateField.d.ts +47 -0
  8. package/dist/calendar/DateField.d.ts.map +1 -0
  9. package/dist/calendar/DatePicker.d.ts +48 -0
  10. package/dist/calendar/DatePicker.d.ts.map +1 -0
  11. package/dist/calendar/RangeCalendar.d.ts +42 -0
  12. package/dist/calendar/RangeCalendar.d.ts.map +1 -0
  13. package/dist/calendar/TimeField.d.ts +44 -0
  14. package/dist/calendar/TimeField.d.ts.map +1 -0
  15. package/dist/calendar/index.d.ts +50 -0
  16. package/dist/calendar/index.d.ts.map +1 -0
  17. package/dist/checkbox/index.d.ts.map +1 -1
  18. package/dist/color/index.d.ts +228 -0
  19. package/dist/color/index.d.ts.map +1 -0
  20. package/dist/combobox/index.d.ts +81 -0
  21. package/dist/combobox/index.d.ts.map +1 -0
  22. package/dist/components.css +116 -14
  23. package/dist/custom/chip/index.d.ts +7 -2
  24. package/dist/custom/chip/index.d.ts.map +1 -1
  25. package/dist/custom/event-card/index.d.ts +5 -1
  26. package/dist/custom/event-card/index.d.ts.map +1 -1
  27. package/dist/custom/header/index.d.ts +16 -0
  28. package/dist/custom/header/index.d.ts.map +1 -0
  29. package/dist/custom/logo/index.d.ts +2 -0
  30. package/dist/custom/logo/index.d.ts.map +1 -1
  31. package/dist/custom/page-layout/index.d.ts +2 -0
  32. package/dist/custom/page-layout/index.d.ts.map +1 -1
  33. package/dist/custom/profile-card/index.d.ts +5 -1
  34. package/dist/custom/profile-card/index.d.ts.map +1 -1
  35. package/dist/custom/timeline-item/index.d.ts +12 -2
  36. package/dist/custom/timeline-item/index.d.ts.map +1 -1
  37. package/dist/dialog/Dialog.d.ts +67 -0
  38. package/dist/dialog/Dialog.d.ts.map +1 -0
  39. package/dist/dialog/index.d.ts +2 -17
  40. package/dist/dialog/index.d.ts.map +1 -1
  41. package/dist/disclosure/index.d.ts +84 -0
  42. package/dist/disclosure/index.d.ts.map +1 -0
  43. package/dist/gridlist/index.d.ts +92 -0
  44. package/dist/gridlist/index.d.ts.map +1 -0
  45. package/dist/index.d.ts +58 -4
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +6984 -783
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.ssr.js +5905 -571
  50. package/dist/index.ssr.js.map +1 -1
  51. package/dist/landmark/index.d.ts +83 -0
  52. package/dist/landmark/index.d.ts.map +1 -0
  53. package/dist/link/index.d.ts.map +1 -1
  54. package/dist/listbox/index.d.ts +47 -0
  55. package/dist/listbox/index.d.ts.map +1 -0
  56. package/dist/menu/index.d.ts +74 -0
  57. package/dist/menu/index.d.ts.map +1 -0
  58. package/dist/meter/index.d.ts +49 -0
  59. package/dist/meter/index.d.ts.map +1 -0
  60. package/dist/numberfield/index.d.ts +50 -0
  61. package/dist/numberfield/index.d.ts.map +1 -0
  62. package/dist/popover/index.d.ts +85 -0
  63. package/dist/popover/index.d.ts.map +1 -0
  64. package/dist/radio/index.d.ts +7 -4
  65. package/dist/radio/index.d.ts.map +1 -1
  66. package/dist/searchfield/index.d.ts +44 -0
  67. package/dist/searchfield/index.d.ts.map +1 -0
  68. package/dist/select/index.d.ts +72 -0
  69. package/dist/select/index.d.ts.map +1 -0
  70. package/dist/slider/index.d.ts +53 -0
  71. package/dist/slider/index.d.ts.map +1 -0
  72. package/dist/switch/ToggleSwitch.d.ts.map +1 -1
  73. package/dist/table/index.d.ts +140 -0
  74. package/dist/table/index.d.ts.map +1 -0
  75. package/dist/tabs/index.d.ts +56 -0
  76. package/dist/tabs/index.d.ts.map +1 -0
  77. package/dist/tag-group/index.d.ts +80 -0
  78. package/dist/tag-group/index.d.ts.map +1 -0
  79. package/dist/toast/index.d.ts +101 -0
  80. package/dist/toast/index.d.ts.map +1 -0
  81. package/dist/toolbar/index.d.ts +42 -0
  82. package/dist/toolbar/index.d.ts.map +1 -0
  83. package/dist/tooltip/index.d.ts +66 -5
  84. package/dist/tooltip/index.d.ts.map +1 -1
  85. package/dist/tree/index.d.ts +99 -0
  86. package/dist/tree/index.d.ts.map +1 -0
  87. package/package.json +66 -57
  88. package/src/autocomplete/index.tsx +313 -0
  89. package/src/breadcrumbs/index.tsx +207 -0
  90. package/src/button/Button.tsx +74 -75
  91. package/src/calendar/DateField.tsx +200 -0
  92. package/src/calendar/DatePicker.tsx +298 -0
  93. package/src/calendar/RangeCalendar.tsx +236 -0
  94. package/src/calendar/TimeField.tsx +196 -0
  95. package/src/calendar/index.tsx +223 -0
  96. package/src/checkbox/index.tsx +3 -4
  97. package/src/color/index.tsx +687 -0
  98. package/src/combobox/index.tsx +383 -0
  99. package/src/components.css +116 -14
  100. package/src/custom/chip/index.tsx +17 -3
  101. package/src/custom/event-card/index.tsx +8 -2
  102. package/src/custom/header/index.tsx +33 -0
  103. package/src/custom/logo/index.tsx +7 -3
  104. package/src/custom/page-layout/index.tsx +12 -3
  105. package/src/custom/profile-card/index.tsx +8 -2
  106. package/src/custom/timeline-item/index.tsx +28 -4
  107. package/src/dialog/Dialog.tsx +260 -0
  108. package/src/dialog/index.tsx +3 -69
  109. package/src/disclosure/index.tsx +307 -0
  110. package/src/gridlist/index.tsx +403 -0
  111. package/src/index.ts +219 -4
  112. package/src/landmark/index.tsx +231 -0
  113. package/src/link/index.tsx +1 -2
  114. package/src/listbox/index.tsx +231 -0
  115. package/src/menu/index.tsx +297 -0
  116. package/src/meter/index.tsx +163 -0
  117. package/src/numberfield/index.tsx +482 -0
  118. package/src/popover/index.tsx +260 -0
  119. package/src/radio/index.tsx +36 -82
  120. package/src/searchfield/index.tsx +453 -0
  121. package/src/select/index.tsx +349 -0
  122. package/src/slider/index.tsx +382 -0
  123. package/src/switch/ToggleSwitch.tsx +1 -2
  124. package/src/table/index.tsx +531 -0
  125. package/src/tabs/index.tsx +273 -0
  126. package/src/tag-group/index.tsx +240 -0
  127. package/src/toast/index.tsx +324 -0
  128. package/src/toolbar/index.tsx +108 -0
  129. package/src/tooltip/index.tsx +171 -5
  130. package/src/tree/index.tsx +494 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/timeline-item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;AAElF,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAkCD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eA2BpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/timeline-item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;AAElF,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,CAAA;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAkCD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAyCpD"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Dialog component for proyecto-viviana-ui
3
+ *
4
+ * Styled dialog component with overlay and backdrop.
5
+ * Follows Spectrum 2 design patterns.
6
+ */
7
+ import { type JSX } from 'solid-js';
8
+ export type DialogSize = 'sm' | 'md' | 'lg' | 'fullscreen';
9
+ export interface DialogProps {
10
+ /** The size of the dialog. */
11
+ size?: DialogSize;
12
+ /** Whether the dialog can be dismissed by clicking the X button. */
13
+ isDismissable?: boolean;
14
+ /** Additional CSS class name. */
15
+ class?: string;
16
+ /** The title of the dialog. */
17
+ title?: string;
18
+ /** The children content. */
19
+ children: JSX.Element;
20
+ /** Callback when dialog should close */
21
+ onClose?: () => void;
22
+ /** ARIA role - defaults to 'dialog' */
23
+ role?: 'dialog' | 'alertdialog';
24
+ /** ARIA label */
25
+ 'aria-label'?: string;
26
+ /** ARIA labelledby */
27
+ 'aria-labelledby'?: string;
28
+ }
29
+ export interface DialogTriggerProps {
30
+ /** Button to trigger the dialog. */
31
+ trigger: JSX.Element;
32
+ /** The dialog content - receives close function. */
33
+ content: (close: () => void) => JSX.Element;
34
+ /** Whether the dialog is controlled. */
35
+ isOpen?: boolean;
36
+ /** Callback when open state changes. */
37
+ onOpenChange?: (isOpen: boolean) => void;
38
+ /** Whether clicking outside the dialog closes it. Defaults to true. */
39
+ isDismissable?: boolean;
40
+ /** Whether pressing Escape closes the dialog. Defaults to true. */
41
+ isKeyboardDismissDisabled?: boolean;
42
+ }
43
+ interface DialogContextValue {
44
+ close: () => void;
45
+ }
46
+ export declare function useDialogContext(): DialogContextValue | null;
47
+ /**
48
+ * A dialog is an overlay shown above other content in an application.
49
+ */
50
+ export declare function Dialog(props: DialogProps): JSX.Element;
51
+ /**
52
+ * DialogTrigger wraps a trigger button and dialog content.
53
+ * Handles opening/closing the dialog with overlay and backdrop.
54
+ */
55
+ export declare function DialogTrigger(props: DialogTriggerProps): JSX.Element;
56
+ export interface DialogFooterProps {
57
+ /** Footer content, typically buttons. */
58
+ children: JSX.Element;
59
+ /** Additional CSS class. */
60
+ class?: string;
61
+ }
62
+ /**
63
+ * Footer section for dialog actions.
64
+ */
65
+ export declare function DialogFooter(props: DialogFooterProps): JSX.Element;
66
+ export {};
67
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+G,MAAM,UAAU,CAAA;AAQhJ,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,YAAY,CAAA;AAE1D,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4BAA4B;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,wCA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
- title: string;
4
- subtitle?: string;
5
- children: JSX.Element;
6
- tags?: string[];
7
- primaryAction?: {
8
- label: string;
9
- onClick: () => void;
10
- };
11
- secondaryAction?: {
12
- label: string;
13
- onClick: () => void;
14
- };
15
- class?: string;
16
- }
17
- export declare function Dialog(props: DialogProps): JSX.Element;
1
+ export { Dialog, DialogTrigger, DialogFooter } from './Dialog';
2
+ export type { DialogProps, DialogTriggerProps, DialogFooterProps, DialogSize } from './Dialog';
18
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAKnC,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;IACD,eAAe,CAAC,EAAE;QAChB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,eA+CxC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC9D,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Disclosure and Accordion components for proyecto-viviana-ui
3
+ *
4
+ * Styled disclosure/accordion components built on top of solidaria-components.
5
+ * Inspired by Spectrum 2's disclosure patterns.
6
+ */
7
+ import { type JSX } from 'solid-js';
8
+ import { type DisclosureProps as HeadlessDisclosureProps, type DisclosureGroupProps as HeadlessDisclosureGroupProps, type DisclosureTriggerProps as HeadlessDisclosureTriggerProps, type DisclosurePanelProps as HeadlessDisclosurePanelProps } from '@proyecto-viviana/solidaria-components';
9
+ export type DisclosureSize = 'sm' | 'md' | 'lg';
10
+ export type DisclosureVariant = 'default' | 'bordered' | 'filled' | 'ghost';
11
+ export interface DisclosureGroupProps extends Omit<HeadlessDisclosureGroupProps, 'class' | 'style'> {
12
+ /** The size of all disclosures in the group. */
13
+ size?: DisclosureSize;
14
+ /** The visual variant of all disclosures in the group. */
15
+ variant?: DisclosureVariant;
16
+ /** Additional CSS class name. */
17
+ class?: string;
18
+ }
19
+ export interface DisclosureProps extends Omit<HeadlessDisclosureProps, 'class' | 'style'> {
20
+ /** The size of the disclosure. Overrides group size if set. */
21
+ size?: DisclosureSize;
22
+ /** The visual variant. Overrides group variant if set. */
23
+ variant?: DisclosureVariant;
24
+ /** Additional CSS class name. */
25
+ class?: string;
26
+ }
27
+ export interface DisclosureTriggerProps extends Omit<HeadlessDisclosureTriggerProps, 'class' | 'style'> {
28
+ /** Additional CSS class name. */
29
+ class?: string;
30
+ /** Optional icon to show (defaults to chevron). */
31
+ hideIcon?: boolean;
32
+ }
33
+ export interface DisclosurePanelProps extends Omit<HeadlessDisclosurePanelProps, 'class' | 'style'> {
34
+ /** Additional CSS class name. */
35
+ class?: string;
36
+ }
37
+ /**
38
+ * DisclosureGroup manages a group of Disclosure components.
39
+ * Use this to create an accordion where only one item can be expanded at a time.
40
+ *
41
+ * @example
42
+ * ```tsx
43
+ * <DisclosureGroup>
44
+ * <Disclosure id="item1">
45
+ * <DisclosureTrigger>Section 1</DisclosureTrigger>
46
+ * <DisclosurePanel>Content 1</DisclosurePanel>
47
+ * </Disclosure>
48
+ * <Disclosure id="item2">
49
+ * <DisclosureTrigger>Section 2</DisclosureTrigger>
50
+ * <DisclosurePanel>Content 2</DisclosurePanel>
51
+ * </Disclosure>
52
+ * </DisclosureGroup>
53
+ * ```
54
+ */
55
+ export declare function DisclosureGroup(props: DisclosureGroupProps): JSX.Element;
56
+ export declare namespace DisclosureGroup {
57
+ var Item: typeof Disclosure;
58
+ }
59
+ /**
60
+ * Disclosure is a widget that can be toggled to show or hide content.
61
+ *
62
+ * @example
63
+ * ```tsx
64
+ * <Disclosure>
65
+ * <DisclosureTrigger>Show more</DisclosureTrigger>
66
+ * <DisclosurePanel>Hidden content here...</DisclosurePanel>
67
+ * </Disclosure>
68
+ * ```
69
+ */
70
+ export declare function Disclosure(props: DisclosureProps): JSX.Element;
71
+ export declare namespace Disclosure {
72
+ var Trigger: typeof DisclosureTrigger;
73
+ var Panel: typeof DisclosurePanel;
74
+ }
75
+ /**
76
+ * DisclosureTrigger is the button that toggles the disclosure.
77
+ * The chevron rotates based on the data-expanded attribute using Tailwind's group class.
78
+ */
79
+ export declare function DisclosureTrigger(props: DisclosureTriggerProps): JSX.Element;
80
+ /**
81
+ * DisclosurePanel contains the content that is shown/hidden.
82
+ */
83
+ export declare function DisclosurePanel(props: DisclosurePanelProps): JSX.Element;
84
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/disclosure/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+C,MAAM,UAAU,CAAC;AACjF,OAAO,EAKL,KAAK,eAAe,IAAI,uBAAuB,EAC/C,KAAK,oBAAoB,IAAI,4BAA4B,EACzD,KAAK,sBAAsB,IAAI,8BAA8B,EAC7D,KAAK,oBAAoB,IAAI,4BAA4B,EAG1D,MAAM,wCAAwC,CAAC;AAMhD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,M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O,CAoC5E;AAMD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAkBxE"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * GridList component for proyecto-viviana-ui
3
+ *
4
+ * Styled grid list component built on top of solidaria-components.
5
+ * Inspired by Spectrum 2's GridList component patterns.
6
+ *
7
+ * GridList is similar to ListBox but supports interactive elements within items
8
+ * and uses grid keyboard navigation.
9
+ */
10
+ import { type JSX } from 'solid-js';
11
+ import { type GridListProps as HeadlessGridListProps, type GridListItemProps as HeadlessGridListItemProps } from '@proyecto-viviana/solidaria-components';
12
+ import type { Key } from '@proyecto-viviana/solid-stately';
13
+ export type GridListSize = 'sm' | 'md' | 'lg';
14
+ export type GridListVariant = 'default' | 'cards' | 'bordered';
15
+ export type GridListLayout = 'list' | 'grid';
16
+ export interface GridListProps<T extends object> extends Omit<HeadlessGridListProps<T>, 'class' | 'style'> {
17
+ /** The size of the grid list. */
18
+ size?: GridListSize;
19
+ /** The visual variant of the grid list. */
20
+ variant?: GridListVariant;
21
+ /** The layout of the grid list. */
22
+ layout?: GridListLayout;
23
+ /** Number of columns for grid layout (default: auto-fit). */
24
+ columns?: number | 'auto';
25
+ /** Additional CSS class name. */
26
+ class?: string;
27
+ /** Label for the grid list. */
28
+ label?: string;
29
+ /** Description for the grid list. */
30
+ description?: string;
31
+ }
32
+ export interface GridListItemProps<T extends object> extends Omit<HeadlessGridListItemProps<T>, 'class' | 'style'> {
33
+ /** Additional CSS class name. */
34
+ class?: string;
35
+ /** Optional description text. */
36
+ description?: string;
37
+ /**
38
+ * Optional icon to display before the content.
39
+ * Use a function returning JSX for SSR compatibility: `icon={() => <MyIcon />}`
40
+ */
41
+ icon?: () => JSX.Element;
42
+ /**
43
+ * Optional image to display in the item.
44
+ */
45
+ image?: string;
46
+ /** Alt text for the image. */
47
+ imageAlt?: string;
48
+ }
49
+ /**
50
+ * A grid list displays a list of interactive items, with support for
51
+ * keyboard navigation, single or multiple selection, and row actions.
52
+ *
53
+ * Built on solidaria-components GridList for full accessibility support.
54
+ *
55
+ * @example
56
+ * ```tsx
57
+ * const items = [
58
+ * { id: '1', name: 'Item 1', description: 'Description 1' },
59
+ * { id: '2', name: 'Item 2', description: 'Description 2' },
60
+ * ]
61
+ *
62
+ * <GridList
63
+ * items={items}
64
+ * getKey={(item) => item.id}
65
+ * selectionMode="multiple"
66
+ * >
67
+ * {(item) => (
68
+ * <GridListItem id={item.id} description={item.description}>
69
+ * {item.name}
70
+ * </GridListItem>
71
+ * )}
72
+ * </GridList>
73
+ * ```
74
+ */
75
+ export declare function GridList<T extends object>(props: GridListProps<T>): JSX.Element;
76
+ export declare namespace GridList {
77
+ var Item: typeof GridListItem;
78
+ var SelectionCheckbox: typeof GridListSelectionCheckbox;
79
+ }
80
+ /**
81
+ * An item in a grid list.
82
+ */
83
+ export declare function GridListItem<T extends object>(props: GridListItemProps<T>): JSX.Element;
84
+ /**
85
+ * A styled checkbox for item selection in a grid list.
86
+ */
87
+ export declare function GridListSelectionCheckbox(props: {
88
+ itemKey: Key;
89
+ class?: string;
90
+ }): JSX.Element;
91
+ export type { Key };
92
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gridlist/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+C,MAAM,UAAU,CAAA;AAChF,OAAO,EAIL,KAAK,aAAa,IAAI,qBAAqB,EAC3C,KAAK,iBAAiB,IAAI,yBAAyB,EAGpD,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAA;AAM1D,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC7C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAA;AAC9D,M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,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAoFvF;AAMD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,GAAG,CAAC,OAAO,CAU9F;AA2CD,YAAY,EAAE,GAAG,EAAE,CAAA"}
package/dist/index.d.ts CHANGED
@@ -12,12 +12,14 @@ export { Checkbox, CheckboxGroup } from './checkbox';
12
12
  export type { CheckboxProps, CheckboxGroupProps, CheckboxSize } from './checkbox';
13
13
  export { RadioGroup, Radio } from './radio';
14
14
  export type { RadioGroupProps, RadioProps, RadioGroupOrientation, RadioGroupSize } from './radio';
15
- export { Dialog } from './dialog';
16
- export type { DialogProps } from './dialog';
15
+ export { Dialog, DialogTrigger, DialogFooter } from './dialog';
16
+ export type { DialogProps, DialogTriggerProps, DialogFooterProps, DialogSize } from './dialog';
17
17
  export { Icon, GitHubIcon } from './icon';
18
18
  export type { IconProps, GitHubIconProps } from './icon';
19
- export { Tooltip } from './tooltip';
20
- export type { TooltipProps } from './tooltip';
19
+ export { Tooltip, TooltipTrigger, SimpleTooltip } from './tooltip';
20
+ export type { TooltipProps, TooltipTriggerProps, TooltipPlacement, TooltipVariant, SimpleTooltipProps } from './tooltip';
21
+ export { Popover, PopoverTrigger, PopoverHeader, PopoverFooter } from './popover';
22
+ export type { PopoverProps, PopoverTriggerProps, PopoverHeaderProps, PopoverFooterProps, PopoverPlacement, PopoverSize, PopoverRenderProps } from './popover';
21
23
  export { TextField } from './textfield';
22
24
  export type { TextFieldProps, TextFieldSize, TextFieldVariant } from './textfield';
23
25
  export { Link } from './link';
@@ -26,10 +28,62 @@ export { ProgressBar } from './progress-bar';
26
28
  export type { ProgressBarProps, ProgressBarSize, ProgressBarVariant } from './progress-bar';
27
29
  export { Separator } from './separator';
28
30
  export type { SeparatorProps, SeparatorVariant, SeparatorSize } from './separator';
31
+ export { Toolbar } from './toolbar';
32
+ export type { ToolbarProps, ToolbarSize, ToolbarVariant } from './toolbar';
33
+ export { SearchAutocomplete } from './autocomplete';
34
+ export type { SearchAutocompleteProps, SearchAutocompleteItem, SearchAutocompleteSize } from './autocomplete';
35
+ export { Select, SelectTrigger, SelectValue, SelectListBox, SelectOption } from './select';
36
+ export type { SelectProps, SelectTriggerProps, SelectValueProps, SelectListBoxProps, SelectOptionProps, SelectSize } from './select';
37
+ export { Menu, MenuItem, MenuTrigger, MenuButton, MenuSeparator } from './menu';
38
+ export type { MenuProps, MenuItemProps, MenuTriggerProps, MenuButtonProps, MenuSeparatorProps, MenuSize } from './menu';
39
+ export { ListBox, ListBoxOption } from './listbox';
40
+ export type { ListBoxProps, ListBoxOptionProps, ListBoxSize } from './listbox';
41
+ export { Tabs, TabList, Tab, TabPanel } from './tabs';
42
+ export type { TabsProps, TabListProps, TabProps, TabPanelProps, TabsSize, TabsVariant, TabOrientation } from './tabs';
43
+ export { Breadcrumbs, BreadcrumbItem } from './breadcrumbs';
44
+ export type { BreadcrumbsProps, BreadcrumbItemProps, BreadcrumbsSize, BreadcrumbsVariant } from './breadcrumbs';
45
+ export { NumberField } from './numberfield';
46
+ export type { NumberFieldProps, NumberFieldSize, NumberFieldVariant } from './numberfield';
47
+ export { SearchField } from './searchfield';
48
+ export type { SearchFieldProps, SearchFieldSize, SearchFieldVariant } from './searchfield';
49
+ export { Slider } from './slider';
50
+ export type { SliderProps, SliderSize, SliderVariant } from './slider';
51
+ export { ComboBox, ComboBoxInputGroup, ComboBoxInput, ComboBoxButton, ComboBoxListBox, ComboBoxOption, defaultContainsFilter } from './combobox';
52
+ export type { ComboBoxProps, ComboBoxInputProps, ComboBoxButtonProps, ComboBoxListBoxProps, ComboBoxOptionProps, ComboBoxSize, FilterFn, MenuTriggerAction } from './combobox';
53
+ export { Toast, ToastRegion, ToastProvider, ToastContext, addToast, toastSuccess, toastError, toastWarning, toastInfo, globalToastQueue, useToastContext, } from './toast';
54
+ export type { ToastProps, ToastRegionProps, ToastProviderProps, ToastPlacement, ToastVariant, ToastContent, ToastRenderProps, ToastRegionRenderProps, QueuedToast, ToastOptions, } from './toast';
55
+ export { Disclosure, DisclosureGroup, DisclosureTrigger, DisclosurePanel, } from './disclosure';
56
+ export type { DisclosureProps, DisclosureGroupProps, DisclosureTriggerProps, DisclosurePanelProps, DisclosureSize, DisclosureVariant, } from './disclosure';
57
+ export { Meter } from './meter';
58
+ export type { MeterProps, MeterSize, MeterVariant } from './meter';
59
+ export { TagGroup } from './tag-group';
60
+ export type { TagGroupProps, TagProps, TagGroupSize, TagGroupVariant } from './tag-group';
61
+ export { Calendar } from './calendar';
62
+ export type { CalendarProps, CalendarSize, CalendarDate, DateValue } from './calendar';
63
+ export { RangeCalendar } from './calendar/RangeCalendar';
64
+ export type { RangeCalendarProps, RangeCalendarSize, RangeValue } from './calendar/RangeCalendar';
65
+ export { DateField } from './calendar/DateField';
66
+ export type { DateFieldProps, DateFieldSize } from './calendar/DateField';
67
+ export { TimeField } from './calendar/TimeField';
68
+ export type { TimeFieldProps, TimeFieldSize, TimeValue } from './calendar/TimeField';
69
+ export { DatePicker } from './calendar/DatePicker';
70
+ export type { DatePickerProps, DatePickerSize } from './calendar/DatePicker';
71
+ export { Table, TableHeader, TableColumn, TableBody, TableRow, TableCell, TableSelectionCheckbox, TableSelectAllCheckbox, } from './table';
72
+ export type { TableProps, TableHeaderProps, TableColumnProps, TableBodyProps, TableRowProps, TableCellProps, TableSize, TableVariant, } from './table';
73
+ export { GridList, GridListItem, GridListSelectionCheckbox, } from './gridlist';
74
+ export type { GridListProps, GridListItemProps, GridListSize, GridListVariant, GridListLayout, } from './gridlist';
75
+ export { Tree, TreeItem, TreeExpandButton, TreeSelectionCheckbox, } from './tree';
76
+ export type { TreeProps, TreeItemProps, TreeExpandButtonProps, TreeSize, TreeVariant, } from './tree';
77
+ export { ColorSlider, ColorSliderTrack, ColorSliderThumb, ColorArea, ColorAreaGradient, ColorAreaThumb, ColorWheel, ColorWheelTrack, ColorWheelThumb, ColorField, ColorFieldInput, ColorSwatch, ColorPicker, } from './color';
78
+ export type { ColorSliderProps, ColorAreaProps, ColorWheelProps, ColorFieldProps, ColorSwatchProps, ColorPickerProps, ColorSize, } from './color';
79
+ export { Landmark, SkipLink, LandmarkNavigator, useLandmarkController, } from './landmark';
80
+ export type { LandmarkProps, SkipLinkProps, LandmarkNavigatorProps, AriaLandmarkRole, LandmarkController, } from './landmark';
29
81
  export { Chip } from './custom/chip';
30
82
  export type { ChipProps, ChipVariant } from './custom/chip';
31
83
  export { NavHeader } from './custom/nav-header';
32
84
  export type { NavHeaderProps } from './custom/nav-header';
85
+ export { Header } from './custom/header';
86
+ export type { HeaderProps } from './custom/header';
33
87
  export { LateralNav, NavItem, NavLink, NavSection } from './custom/lateral-nav';
34
88
  export type { LateralNavProps, NavItemProps, NavLinkProps, NavSectionProps } from './custom/lateral-nav';
35
89
  export { TimelineItem } from './custom/timeline-item';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGnE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG1E,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,UAAU,CAA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