@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.
- package/README.md +192 -0
- package/dist/autocomplete/index.d.ts +89 -0
- package/dist/autocomplete/index.d.ts.map +1 -0
- package/dist/breadcrumbs/index.d.ts +38 -0
- package/dist/breadcrumbs/index.d.ts.map +1 -0
- package/dist/button/Button.d.ts.map +1 -1
- package/dist/calendar/DateField.d.ts +47 -0
- package/dist/calendar/DateField.d.ts.map +1 -0
- package/dist/calendar/DatePicker.d.ts +48 -0
- package/dist/calendar/DatePicker.d.ts.map +1 -0
- package/dist/calendar/RangeCalendar.d.ts +42 -0
- package/dist/calendar/RangeCalendar.d.ts.map +1 -0
- package/dist/calendar/TimeField.d.ts +44 -0
- package/dist/calendar/TimeField.d.ts.map +1 -0
- package/dist/calendar/index.d.ts +50 -0
- package/dist/calendar/index.d.ts.map +1 -0
- package/dist/checkbox/index.d.ts.map +1 -1
- package/dist/color/index.d.ts +228 -0
- package/dist/color/index.d.ts.map +1 -0
- package/dist/combobox/index.d.ts +81 -0
- package/dist/combobox/index.d.ts.map +1 -0
- package/dist/components.css +116 -14
- package/dist/custom/chip/index.d.ts +7 -2
- package/dist/custom/chip/index.d.ts.map +1 -1
- package/dist/custom/event-card/index.d.ts +5 -1
- package/dist/custom/event-card/index.d.ts.map +1 -1
- package/dist/custom/header/index.d.ts +16 -0
- package/dist/custom/header/index.d.ts.map +1 -0
- package/dist/custom/logo/index.d.ts +2 -0
- package/dist/custom/logo/index.d.ts.map +1 -1
- package/dist/custom/page-layout/index.d.ts +2 -0
- package/dist/custom/page-layout/index.d.ts.map +1 -1
- package/dist/custom/profile-card/index.d.ts +5 -1
- package/dist/custom/profile-card/index.d.ts.map +1 -1
- package/dist/custom/timeline-item/index.d.ts +12 -2
- package/dist/custom/timeline-item/index.d.ts.map +1 -1
- package/dist/dialog/Dialog.d.ts +67 -0
- package/dist/dialog/Dialog.d.ts.map +1 -0
- package/dist/dialog/index.d.ts +2 -17
- package/dist/dialog/index.d.ts.map +1 -1
- package/dist/disclosure/index.d.ts +84 -0
- package/dist/disclosure/index.d.ts.map +1 -0
- package/dist/gridlist/index.d.ts +92 -0
- package/dist/gridlist/index.d.ts.map +1 -0
- package/dist/index.d.ts +58 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6984 -783
- package/dist/index.js.map +1 -1
- package/dist/index.ssr.js +5905 -571
- package/dist/index.ssr.js.map +1 -1
- package/dist/landmark/index.d.ts +83 -0
- package/dist/landmark/index.d.ts.map +1 -0
- package/dist/link/index.d.ts.map +1 -1
- package/dist/listbox/index.d.ts +47 -0
- package/dist/listbox/index.d.ts.map +1 -0
- package/dist/menu/index.d.ts +74 -0
- package/dist/menu/index.d.ts.map +1 -0
- package/dist/meter/index.d.ts +49 -0
- package/dist/meter/index.d.ts.map +1 -0
- package/dist/numberfield/index.d.ts +50 -0
- package/dist/numberfield/index.d.ts.map +1 -0
- package/dist/popover/index.d.ts +85 -0
- package/dist/popover/index.d.ts.map +1 -0
- package/dist/radio/index.d.ts +7 -4
- package/dist/radio/index.d.ts.map +1 -1
- package/dist/searchfield/index.d.ts +44 -0
- package/dist/searchfield/index.d.ts.map +1 -0
- package/dist/select/index.d.ts +72 -0
- package/dist/select/index.d.ts.map +1 -0
- package/dist/slider/index.d.ts +53 -0
- package/dist/slider/index.d.ts.map +1 -0
- package/dist/switch/ToggleSwitch.d.ts.map +1 -1
- package/dist/table/index.d.ts +140 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/tabs/index.d.ts +56 -0
- package/dist/tabs/index.d.ts.map +1 -0
- package/dist/tag-group/index.d.ts +80 -0
- package/dist/tag-group/index.d.ts.map +1 -0
- package/dist/toast/index.d.ts +101 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/toolbar/index.d.ts +42 -0
- package/dist/toolbar/index.d.ts.map +1 -0
- package/dist/tooltip/index.d.ts +66 -5
- package/dist/tooltip/index.d.ts.map +1 -1
- package/dist/tree/index.d.ts +99 -0
- package/dist/tree/index.d.ts.map +1 -0
- package/package.json +66 -57
- package/src/autocomplete/index.tsx +313 -0
- package/src/breadcrumbs/index.tsx +207 -0
- package/src/button/Button.tsx +74 -75
- package/src/calendar/DateField.tsx +200 -0
- package/src/calendar/DatePicker.tsx +298 -0
- package/src/calendar/RangeCalendar.tsx +236 -0
- package/src/calendar/TimeField.tsx +196 -0
- package/src/calendar/index.tsx +223 -0
- package/src/checkbox/index.tsx +3 -4
- package/src/color/index.tsx +687 -0
- package/src/combobox/index.tsx +383 -0
- package/src/components.css +116 -14
- package/src/custom/chip/index.tsx +17 -3
- package/src/custom/event-card/index.tsx +8 -2
- package/src/custom/header/index.tsx +33 -0
- package/src/custom/logo/index.tsx +7 -3
- package/src/custom/page-layout/index.tsx +12 -3
- package/src/custom/profile-card/index.tsx +8 -2
- package/src/custom/timeline-item/index.tsx +28 -4
- package/src/dialog/Dialog.tsx +260 -0
- package/src/dialog/index.tsx +3 -69
- package/src/disclosure/index.tsx +307 -0
- package/src/gridlist/index.tsx +403 -0
- package/src/index.ts +219 -4
- package/src/landmark/index.tsx +231 -0
- package/src/link/index.tsx +1 -2
- package/src/listbox/index.tsx +231 -0
- package/src/menu/index.tsx +297 -0
- package/src/meter/index.tsx +163 -0
- package/src/numberfield/index.tsx +482 -0
- package/src/popover/index.tsx +260 -0
- package/src/radio/index.tsx +36 -82
- package/src/searchfield/index.tsx +453 -0
- package/src/select/index.tsx +349 -0
- package/src/slider/index.tsx +382 -0
- package/src/switch/ToggleSwitch.tsx +1 -2
- package/src/table/index.tsx +531 -0
- package/src/tabs/index.tsx +273 -0
- package/src/tag-group/index.tsx +240 -0
- package/src/toast/index.tsx +324 -0
- package/src/toolbar/index.tsx +108 -0
- package/src/tooltip/index.tsx +171 -5
- package/src/tree/index.tsx +494 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Landmark component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* Styled landmark component built on top of solidaria-components.
|
|
5
|
+
* Landmarks help screen reader users navigate between major sections of a page.
|
|
6
|
+
* Press F6 to cycle through landmarks, or Shift+F6 to go backwards.
|
|
7
|
+
*/
|
|
8
|
+
import { type JSX } from 'solid-js';
|
|
9
|
+
import { useLandmarkController, type LandmarkProps as HeadlessLandmarkProps, type AriaLandmarkRole, type LandmarkController } from '@proyecto-viviana/solidaria-components';
|
|
10
|
+
export interface LandmarkProps extends Omit<HeadlessLandmarkProps, 'class' | 'style'> {
|
|
11
|
+
/** Additional CSS class name. */
|
|
12
|
+
class?: string;
|
|
13
|
+
/** Whether to show a visual indicator (for development). */
|
|
14
|
+
showLabel?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type { AriaLandmarkRole, LandmarkController };
|
|
17
|
+
/**
|
|
18
|
+
* A landmark is a region of the page that helps screen reader users navigate.
|
|
19
|
+
* Press F6 to cycle through landmarks, or Shift+F6 to go backwards.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* // Main content area
|
|
24
|
+
* <Landmark role="main" aria-label="Main content">
|
|
25
|
+
* <h1>Welcome</h1>
|
|
26
|
+
* <p>Page content here...</p>
|
|
27
|
+
* </Landmark>
|
|
28
|
+
*
|
|
29
|
+
* // Navigation
|
|
30
|
+
* <Landmark role="navigation" aria-label="Primary navigation">
|
|
31
|
+
* <nav>...</nav>
|
|
32
|
+
* </Landmark>
|
|
33
|
+
*
|
|
34
|
+
* // With development label visible
|
|
35
|
+
* <Landmark role="main" aria-label="Main content" showLabel>
|
|
36
|
+
* ...
|
|
37
|
+
* </Landmark>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function Landmark(props: LandmarkProps): JSX.Element;
|
|
41
|
+
export interface SkipLinkProps {
|
|
42
|
+
/** The ID of the element to skip to (usually the main landmark). */
|
|
43
|
+
href: string;
|
|
44
|
+
/** The text to display in the skip link. */
|
|
45
|
+
children?: JSX.Element;
|
|
46
|
+
/** Additional CSS class name. */
|
|
47
|
+
class?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A skip link allows keyboard users to bypass repetitive navigation and jump directly to main content.
|
|
51
|
+
* The link is visually hidden until focused.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <SkipLink href="#main-content">Skip to main content</SkipLink>
|
|
56
|
+
*
|
|
57
|
+
* <Landmark role="navigation">...</Landmark>
|
|
58
|
+
*
|
|
59
|
+
* <Landmark role="main" id="main-content">
|
|
60
|
+
* ...
|
|
61
|
+
* </Landmark>
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare function SkipLink(props: SkipLinkProps): JSX.Element;
|
|
65
|
+
export interface LandmarkNavigatorProps {
|
|
66
|
+
/** Additional CSS class name. */
|
|
67
|
+
class?: string;
|
|
68
|
+
/** Whether to show the navigator (for development/accessibility testing). */
|
|
69
|
+
isVisible?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A floating navigator for landmarks, useful for development and accessibility testing.
|
|
73
|
+
* Provides buttons to navigate between landmarks programmatically.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```tsx
|
|
77
|
+
* // Show in development only
|
|
78
|
+
* <LandmarkNavigator isVisible={import.meta.env.DEV} />
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function LandmarkNavigator(props: LandmarkNavigatorProps): JSX.Element;
|
|
82
|
+
export { useLandmarkController };
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/landmark/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAoB,MAAM,UAAU,CAAA;AACrD,OAAO,EAEL,qB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AAG,CAAC,OAAO,CAAC;CACxB;AAgBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAkElD"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ListBox component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* Styled listbox component built on top of solidaria-components.
|
|
5
|
+
* Inspired by Spectrum 2's ListBox component patterns.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type ListBoxProps as HeadlessListBoxProps, type ListBoxOptionProps as HeadlessListBoxOptionProps } from '@proyecto-viviana/solidaria-components';
|
|
9
|
+
import type { Key } from '@proyecto-viviana/solid-stately';
|
|
10
|
+
export type ListBoxSize = 'sm' | 'md' | 'lg';
|
|
11
|
+
export interface ListBoxProps<T> extends Omit<HeadlessListBoxProps<T>, 'class' | 'style'> {
|
|
12
|
+
/** The size of the listbox. */
|
|
13
|
+
size?: ListBoxSize;
|
|
14
|
+
/** Additional CSS class name. */
|
|
15
|
+
class?: string;
|
|
16
|
+
/** Label for the listbox. */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** Description for the listbox. */
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ListBoxOptionProps<T> extends Omit<HeadlessListBoxOptionProps<T>, 'class' | 'style'> {
|
|
22
|
+
/** Additional CSS class name. */
|
|
23
|
+
class?: string;
|
|
24
|
+
/** Optional description text. */
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional icon to display before the label.
|
|
28
|
+
* Use a function returning JSX for SSR compatibility: `icon={() => <MyIcon />}`
|
|
29
|
+
*/
|
|
30
|
+
icon?: () => JSX.Element;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A listbox displays a list of options and allows a user to select one or more of them.
|
|
34
|
+
*
|
|
35
|
+
* Built on solidaria-components ListBox for full accessibility support.
|
|
36
|
+
*/
|
|
37
|
+
export declare function ListBox<T>(props: ListBoxProps<T>): JSX.Element;
|
|
38
|
+
export declare namespace ListBox {
|
|
39
|
+
var Option: typeof ListBoxOption;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* An option in a listbox.
|
|
43
|
+
* SSR-compatible - renders icon, check, content, and description directly without render props.
|
|
44
|
+
*/
|
|
45
|
+
export declare function ListBoxOption<T>(props: ListBoxOptionProps<T>): JSX.Element;
|
|
46
|
+
export type { Key };
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/listbox/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+C,MAAM,UAAU,CAAA;AAChF,OAAO,EAGL,KAAK,YAAY,IAAI,oBAAoB,EACzC,KAAK,kBAAkB,IAAI,0BAA0B,EAGtD,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAA;AAM1D,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAQ5C,MAAM,WAAW,YAAY,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACvF,+BAA+B;IAC/B,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnG,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAA;CACzB;AAkCD;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAyD9D;yBAzDe,OAAO;;;AA+DvB;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAiD1E;AAwBD,YAAY,EAAE,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* Styled menu component built on top of solidaria-components.
|
|
5
|
+
* Inspired by Spectrum 2's Menu component patterns.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type MenuProps as HeadlessMenuProps, type MenuItemProps as HeadlessMenuItemProps, type MenuTriggerProps as HeadlessMenuTriggerProps, type MenuButtonProps as HeadlessMenuButtonProps } from '@proyecto-viviana/solidaria-components';
|
|
9
|
+
import type { Key } from '@proyecto-viviana/solid-stately';
|
|
10
|
+
export type MenuSize = 'sm' | 'md' | 'lg';
|
|
11
|
+
export interface MenuTriggerProps extends Omit<HeadlessMenuTriggerProps, 'class' | 'style'> {
|
|
12
|
+
/** The size of the menu. */
|
|
13
|
+
size?: MenuSize;
|
|
14
|
+
/** Additional CSS class name. */
|
|
15
|
+
class?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface MenuButtonProps extends Omit<HeadlessMenuButtonProps, 'class' | 'style'> {
|
|
18
|
+
/** Additional CSS class name. */
|
|
19
|
+
class?: string;
|
|
20
|
+
/** Visual variant of the button. */
|
|
21
|
+
variant?: 'primary' | 'secondary' | 'quiet';
|
|
22
|
+
}
|
|
23
|
+
export interface MenuProps<T> extends Omit<HeadlessMenuProps<T>, 'class' | 'style'> {
|
|
24
|
+
/** Additional CSS class name. */
|
|
25
|
+
class?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface MenuItemProps<T> extends Omit<HeadlessMenuItemProps<T>, 'class' | 'style'> {
|
|
28
|
+
/** Additional CSS class name. */
|
|
29
|
+
class?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional icon to display before the label.
|
|
32
|
+
* Use a function returning JSX for SSR compatibility: `icon={() => <MyIcon />}`
|
|
33
|
+
*/
|
|
34
|
+
icon?: () => JSX.Element;
|
|
35
|
+
/** Optional keyboard shortcut to display. */
|
|
36
|
+
shortcut?: string;
|
|
37
|
+
/** Whether this is a destructive action. */
|
|
38
|
+
isDestructive?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A menu trigger wraps a button and menu, handling the open/close state.
|
|
42
|
+
*/
|
|
43
|
+
export declare function MenuTrigger(props: MenuTriggerProps): JSX.Element;
|
|
44
|
+
export declare namespace MenuTrigger {
|
|
45
|
+
var Button: typeof MenuButton;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A button that opens a menu.
|
|
49
|
+
* SSR-compatible - renders children and chevron icon directly without render props.
|
|
50
|
+
*/
|
|
51
|
+
export declare function MenuButton(props: MenuButtonProps): JSX.Element;
|
|
52
|
+
/**
|
|
53
|
+
* A menu displays a list of actions or options for the user to choose from.
|
|
54
|
+
*/
|
|
55
|
+
export declare function Menu<T>(props: MenuProps<T>): JSX.Element;
|
|
56
|
+
export declare namespace Menu {
|
|
57
|
+
var Item: typeof MenuItem;
|
|
58
|
+
var Separator: typeof MenuSeparator;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* An item in a menu.
|
|
62
|
+
* SSR-compatible - renders icon, content, and shortcut directly without render props.
|
|
63
|
+
*/
|
|
64
|
+
export declare function MenuItem<T>(props: MenuItemProps<T>): JSX.Element;
|
|
65
|
+
export interface MenuSeparatorProps {
|
|
66
|
+
/** Additional CSS class name. */
|
|
67
|
+
class?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* A visual separator between menu items.
|
|
71
|
+
*/
|
|
72
|
+
export declare function MenuSeparator(props: MenuSeparatorProps): JSX.Element;
|
|
73
|
+
export type { Key };
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/menu/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAyC,MAAM,UAAU,CAAA;AAC1E,OAAO,EAKL,KAAK,SAAS,IAAI,iBAAiB,EACnC,KAAK,aAAa,IAAI,qBAAqB,EAC3C,KAAK,gBAAgB,IAAI,wBAAwB,EACjD,KAAK,eAAe,IAAI,uBAAuB,EAIhD,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAA;AAM1D,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAQzC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,wBAAwB,EAAE,OAAO,GAAG,OAAO,CAAC;IACzF,4BAA4B;IAC5B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,OAAO,CAAC;IACvF,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAA;CAC5C;AAED,MAAM,WAAW,SAAS,CAAC,CAAC,CAAE,SAAQ,IAAI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
+
* Styled meter component built on top of the solidaria hook directly.
|
|
5
|
+
* Meters represent a quantity within a known range (unlike progress bars which show progress toward a goal).
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
export type MeterSize = 'sm' | 'md' | 'lg';
|
|
9
|
+
export type MeterVariant = 'primary' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
|
|
10
|
+
export interface MeterProps {
|
|
11
|
+
/** The current value (controlled). @default 0 */
|
|
12
|
+
value?: number;
|
|
13
|
+
/** The smallest value allowed. @default 0 */
|
|
14
|
+
minValue?: number;
|
|
15
|
+
/** The largest value allowed. @default 100 */
|
|
16
|
+
maxValue?: number;
|
|
17
|
+
/** The content to display as the value's label (e.g. "75 GB"). */
|
|
18
|
+
valueLabel?: string;
|
|
19
|
+
/** The size of the meter. @default 'md' */
|
|
20
|
+
size?: MeterSize;
|
|
21
|
+
/** The visual style variant. @default 'primary' */
|
|
22
|
+
variant?: MeterVariant;
|
|
23
|
+
/** The label to display above the meter. */
|
|
24
|
+
label?: string;
|
|
25
|
+
/** Whether to show the value text. @default true */
|
|
26
|
+
showValueLabel?: boolean;
|
|
27
|
+
/** Additional CSS class name. */
|
|
28
|
+
class?: string;
|
|
29
|
+
/** An accessibility label. */
|
|
30
|
+
'aria-label'?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Meters represent a quantity within a known range, or a fractional value.
|
|
34
|
+
* Unlike progress bars, meters represent a current value rather than progress toward a goal.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* // Storage usage meter
|
|
39
|
+
* <Meter value={75} label="Storage space" valueLabel="75 GB of 100 GB" />
|
|
40
|
+
*
|
|
41
|
+
* // Battery level
|
|
42
|
+
* <Meter value={25} variant="warning" label="Battery" />
|
|
43
|
+
*
|
|
44
|
+
* // CPU usage with dynamic color
|
|
45
|
+
* <Meter value={cpuUsage} variant={cpuUsage > 80 ? 'danger' : 'success'} label="CPU" />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export declare function Meter(props: MeterProps): JSX.Element;
|
|
49
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/meter/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAgC,MAAM,UAAU,CAAC;AAOlE,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5F,MAAM,WAAW,UAAU;IACzB,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mDAAmD;IACnD,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA0CD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAkEpD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NumberField component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* A styled number field component with increment/decrement buttons.
|
|
5
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type AriaNumberFieldProps } from '@proyecto-viviana/solidaria';
|
|
9
|
+
export type NumberFieldSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
export type NumberFieldVariant = 'outline' | 'filled';
|
|
11
|
+
export interface NumberFieldProps extends Omit<AriaNumberFieldProps, 'label'> {
|
|
12
|
+
/** The size of the number field. */
|
|
13
|
+
size?: NumberFieldSize;
|
|
14
|
+
/** The visual variant of the number field. */
|
|
15
|
+
variant?: NumberFieldVariant;
|
|
16
|
+
/** Additional CSS class name. */
|
|
17
|
+
class?: string;
|
|
18
|
+
/** Label text for the input. */
|
|
19
|
+
label?: string;
|
|
20
|
+
/** Description text shown below the input. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/** Error message shown when invalid. */
|
|
23
|
+
errorMessage?: string;
|
|
24
|
+
/** The current value (controlled). */
|
|
25
|
+
value?: number;
|
|
26
|
+
/** The default value (uncontrolled). */
|
|
27
|
+
defaultValue?: number;
|
|
28
|
+
/** Handler called when the value changes. */
|
|
29
|
+
onChange?: (value: number) => void;
|
|
30
|
+
/** The minimum value. */
|
|
31
|
+
minValue?: number;
|
|
32
|
+
/** The maximum value. */
|
|
33
|
+
maxValue?: number;
|
|
34
|
+
/** The step value for increment/decrement. */
|
|
35
|
+
step?: number;
|
|
36
|
+
/** The locale for number formatting. */
|
|
37
|
+
locale?: string;
|
|
38
|
+
/** Number format options. */
|
|
39
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
40
|
+
/** Whether to hide the stepper buttons. */
|
|
41
|
+
hideStepper?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A number field allows users to enter a numeric value with increment/decrement controls.
|
|
45
|
+
*
|
|
46
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
47
|
+
*/
|
|
48
|
+
export declare function NumberField(props: NumberFieldProps): JSX.Element;
|
|
49
|
+
export type { NumberFieldState } from '@proyecto-viviana/solid-stately';
|
|
50
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/numberfield/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAmD,MAAM,UAAU,CAAA;AACpF,OAAO,EAKL,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAA;AASpC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAChD,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,QAAQ,CAAA;AAErD,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IAC3E,oCAAoC;IACpC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6BAA6B;IAC7B,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAA;IACxC,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAkED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CA8VhE;AAGD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Popover component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* A popover displays content in an overlay positioned relative to a trigger.
|
|
5
|
+
* Built on top of solidaria-components for accessibility.
|
|
6
|
+
* Follows Spectrum 2 design patterns.
|
|
7
|
+
*/
|
|
8
|
+
import { type JSX } from 'solid-js';
|
|
9
|
+
import { type PopoverProps as HeadlessPopoverProps, type PopoverTriggerProps as HeadlessPopoverTriggerProps, type PopoverRenderProps } from '@proyecto-viviana/solidaria-components';
|
|
10
|
+
import type { Placement, PlacementAxis } from '@proyecto-viviana/solidaria';
|
|
11
|
+
export type PopoverPlacement = Placement;
|
|
12
|
+
export type PopoverSize = 'sm' | 'md' | 'lg';
|
|
13
|
+
export interface PopoverTriggerProps extends HeadlessPopoverTriggerProps {
|
|
14
|
+
/** The children of the popover trigger (trigger element and popover). */
|
|
15
|
+
children: JSX.Element;
|
|
16
|
+
}
|
|
17
|
+
export interface PopoverProps extends Omit<HeadlessPopoverProps, 'class' | 'style' | 'children'> {
|
|
18
|
+
/** The content of the popover. */
|
|
19
|
+
children: JSX.Element;
|
|
20
|
+
/** The position of the popover relative to the trigger. */
|
|
21
|
+
placement?: PopoverPlacement;
|
|
22
|
+
/** Size variant of the popover. */
|
|
23
|
+
size?: PopoverSize;
|
|
24
|
+
/** Additional CSS class name. */
|
|
25
|
+
class?: string;
|
|
26
|
+
/** Whether to show an arrow pointing to the trigger. */
|
|
27
|
+
showArrow?: boolean;
|
|
28
|
+
/** Custom padding inside the popover. */
|
|
29
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* PopoverTrigger wraps around a trigger element and a Popover.
|
|
33
|
+
* It handles opening and closing the Popover when the user interacts
|
|
34
|
+
* with the trigger.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* <PopoverTrigger>
|
|
39
|
+
* <Button>Open Popover</Button>
|
|
40
|
+
* <Popover>
|
|
41
|
+
* <p>Popover content here!</p>
|
|
42
|
+
* </Popover>
|
|
43
|
+
* </PopoverTrigger>
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare function PopoverTrigger(props: PopoverTriggerProps): JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* Styled popover component that displays content in an overlay.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* <PopoverTrigger>
|
|
53
|
+
* <Button>Settings</Button>
|
|
54
|
+
* <Popover placement="bottom" size="md">
|
|
55
|
+
* <h3>Settings</h3>
|
|
56
|
+
* <p>Configure your preferences here.</p>
|
|
57
|
+
* </Popover>
|
|
58
|
+
* </PopoverTrigger>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare function Popover(props: PopoverProps): JSX.Element;
|
|
62
|
+
export interface PopoverHeaderProps {
|
|
63
|
+
/** The title of the popover. */
|
|
64
|
+
title: string;
|
|
65
|
+
/** Optional description text. */
|
|
66
|
+
description?: string;
|
|
67
|
+
/** Additional CSS class. */
|
|
68
|
+
class?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Header section for popover with title and optional description.
|
|
72
|
+
*/
|
|
73
|
+
export declare function PopoverHeader(props: PopoverHeaderProps): JSX.Element;
|
|
74
|
+
export interface PopoverFooterProps {
|
|
75
|
+
/** Footer content, typically buttons. */
|
|
76
|
+
children: JSX.Element;
|
|
77
|
+
/** Additional CSS class. */
|
|
78
|
+
class?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Footer section for popover actions.
|
|
82
|
+
*/
|
|
83
|
+
export declare function PopoverFooter(props: PopoverFooterProps): JSX.Element;
|
|
84
|
+
export type { PopoverRenderProps, Placement, PlacementAxis };
|
|
85
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/popover/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAoB,MAAM,UAAU,CAAA;AACrD,OAAO,EAIL,KAAK,YAAY,IAAI,oBAAoB,EACzC,KAAK,mBAAmB,IAAI,2BAA2B,EACvD,KAAK,kBAAkB,EACxB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAM3E,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAA;AACxC,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,MAAM,WAAW,mBAAoB,SAAQ,2BAA2B;IACtE,yEAAyE;IACzE,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC;IAC9F,kCAAkC;IAClC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,mCAAmC;IACnC,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACtC;AA8DD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAEtE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAqCxD;AAyCD,MAAM,WAAW,kBAAkB;IACjC,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CASpE;AAED,MAAM,WAAW,kBAAkB;IACjC,yCAAyC;IACzC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAMpE;AAGD,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/radio/index.d.ts
CHANGED
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
* RadioGroup and Radio components for proyecto-viviana-ui
|
|
3
3
|
*
|
|
4
4
|
* Styled radio components built on top of solidaria-components.
|
|
5
|
-
*
|
|
6
|
-
* IMPORTANT: Due to SolidJS's JSX evaluation order, we cannot wrap the headless
|
|
7
|
-
* components in a traditional way. Instead, we re-export them and provide
|
|
8
|
-
* styling through the class prop functions.
|
|
5
|
+
* SSR-compatible - renders children and UI elements directly without render props.
|
|
9
6
|
*/
|
|
10
7
|
import { type JSX } from 'solid-js';
|
|
11
8
|
import { type RadioGroupProps as HeadlessRadioGroupProps, type RadioProps as HeadlessRadioProps } from '@proyecto-viviana/solidaria-components';
|
|
@@ -36,6 +33,12 @@ export declare function RadioGroup(props: RadioGroupProps): JSX.Element;
|
|
|
36
33
|
/**
|
|
37
34
|
* A radio button allows users to select a single option from a list.
|
|
38
35
|
* Must be used within a RadioGroup.
|
|
36
|
+
* SSR-compatible - renders static JSX without render prop children.
|
|
37
|
+
*
|
|
38
|
+
* Note: Unlike other styled components, Radio does not use render props for children.
|
|
39
|
+
* Instead, it relies on data attributes set by the headless Radio component for styling.
|
|
40
|
+
* However, since we need dynamic styling based on state, we accept that this component
|
|
41
|
+
* has some limitations compared to the render-props-based original implementation.
|
|
39
42
|
*
|
|
40
43
|
* Built on solidaria-components Radio for full accessibility support.
|
|
41
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radio/index.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radio/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+C,MAAM,UAAU,CAAA;AAChF,OAAO,EAGL,KAAK,eAAe,IAAI,uBAAuB,EAC/C,KAAK,UAAU,IAAI,kBAAkB,EAGtC,MAAM,wCAAwC,CAAA;AAM/C,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,UAAU,CAAA;AAC7D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAQ/C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,OAAO,CAAC;IACvF,qCAAqC;IACrC,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,OAAO,CAAC;IAC7E,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AA4BD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA2C9D;AAMD;;;;;;;;;;;GAWG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAgCpD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SearchField component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* A styled search field component with clear button and search icon.
|
|
5
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type AriaSearchFieldProps } from '@proyecto-viviana/solidaria';
|
|
9
|
+
export type SearchFieldSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
export type SearchFieldVariant = 'outline' | 'filled';
|
|
11
|
+
export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'label'> {
|
|
12
|
+
/** The size of the search field. */
|
|
13
|
+
size?: SearchFieldSize;
|
|
14
|
+
/** The visual variant of the search field. */
|
|
15
|
+
variant?: SearchFieldVariant;
|
|
16
|
+
/** Additional CSS class name. */
|
|
17
|
+
class?: string;
|
|
18
|
+
/** Label text for the input. */
|
|
19
|
+
label?: string;
|
|
20
|
+
/** Description text shown below the input. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/** Error message shown when invalid. */
|
|
23
|
+
errorMessage?: string;
|
|
24
|
+
/** The current value (controlled). */
|
|
25
|
+
value?: string;
|
|
26
|
+
/** The default value (uncontrolled). */
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
/** Handler called when the value changes. */
|
|
29
|
+
onChange?: (value: string) => void;
|
|
30
|
+
/** Handler called when the user submits the search. */
|
|
31
|
+
onSubmit?: (value: string) => void;
|
|
32
|
+
/** Handler called when the field is cleared. */
|
|
33
|
+
onClear?: () => void;
|
|
34
|
+
/** Whether to hide the search icon. */
|
|
35
|
+
hideSearchIcon?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A search field allows users to enter and clear a search query.
|
|
39
|
+
*
|
|
40
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
41
|
+
*/
|
|
42
|
+
export declare function SearchField(props: SearchFieldProps): JSX.Element;
|
|
43
|
+
export type { SearchFieldState } from '@proyecto-viviana/solid-stately';
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/searchfield/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAmD,MAAM,UAAU,CAAA;AACpF,OAAO,EAKL,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAA;AASpC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAChD,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,QAAQ,CAAA;AAErD,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC;IAC3E,oCAAoC;IACpC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,uCAAuC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAsED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAmUhE;AAGD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* Styled select component built on top of solidaria-components.
|
|
5
|
+
* Inspired by Spectrum 2's Picker component patterns.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type SelectProps as HeadlessSelectProps, type SelectTriggerProps as HeadlessSelectTriggerProps, type SelectValueProps as HeadlessSelectValueProps, type SelectListBoxProps as HeadlessSelectListBoxProps, type SelectOptionProps as HeadlessSelectOptionProps } from '@proyecto-viviana/solidaria-components';
|
|
9
|
+
import type { Key } from '@proyecto-viviana/solid-stately';
|
|
10
|
+
export type SelectSize = 'sm' | 'md' | 'lg';
|
|
11
|
+
export interface SelectProps<T> extends Omit<HeadlessSelectProps<T>, 'class' | 'style'> {
|
|
12
|
+
/** The size of the select. */
|
|
13
|
+
size?: SelectSize;
|
|
14
|
+
/** Additional CSS class name. */
|
|
15
|
+
class?: string;
|
|
16
|
+
/** Label for the select. */
|
|
17
|
+
label?: string;
|
|
18
|
+
/** Description for the select. */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** Error message when invalid. */
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/** Whether the select is invalid. */
|
|
23
|
+
isInvalid?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface SelectTriggerProps extends Omit<HeadlessSelectTriggerProps, 'class' | 'style'> {
|
|
26
|
+
/** Additional CSS class name. */
|
|
27
|
+
class?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface SelectValueProps<T> extends Omit<HeadlessSelectValueProps<T>, 'class' | 'style'> {
|
|
30
|
+
/** Additional CSS class name. */
|
|
31
|
+
class?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SelectListBoxProps<T> extends Omit<HeadlessSelectListBoxProps<T>, 'class' | 'style'> {
|
|
34
|
+
/** Additional CSS class name. */
|
|
35
|
+
class?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface SelectOptionProps<T> extends Omit<HeadlessSelectOptionProps<T>, 'class' | 'style'> {
|
|
38
|
+
/** Additional CSS class name. */
|
|
39
|
+
class?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A select displays a collapsible list of options and allows a user to select one of them.
|
|
43
|
+
*
|
|
44
|
+
* Built on solidaria-components Select for full accessibility support.
|
|
45
|
+
*/
|
|
46
|
+
export declare function Select<T>(props: SelectProps<T>): JSX.Element;
|
|
47
|
+
export declare namespace Select {
|
|
48
|
+
var Trigger: typeof SelectTrigger;
|
|
49
|
+
var Value: typeof SelectValue;
|
|
50
|
+
var ListBox: typeof SelectListBox;
|
|
51
|
+
var Option: typeof SelectOption;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The trigger button for a select.
|
|
55
|
+
* SSR-compatible - renders children and chevron icon directly without render props.
|
|
56
|
+
*/
|
|
57
|
+
export declare function SelectTrigger(props: SelectTriggerProps): JSX.Element;
|
|
58
|
+
/**
|
|
59
|
+
* Displays the selected value in a select.
|
|
60
|
+
*/
|
|
61
|
+
export declare function SelectValue<T>(props: SelectValueProps<T>): JSX.Element;
|
|
62
|
+
/**
|
|
63
|
+
* The listbox popup for a select.
|
|
64
|
+
*/
|
|
65
|
+
export declare function SelectListBox<T>(props: SelectListBoxProps<T>): JSX.Element;
|
|
66
|
+
/**
|
|
67
|
+
* An option in a select listbox.
|
|
68
|
+
* SSR-compatible - renders check icon and content directly without render props.
|
|
69
|
+
*/
|
|
70
|
+
export declare function SelectOption<T>(props: SelectOptionProps<T>): JSX.Element;
|
|
71
|
+
export type { Key };
|
|
72
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/select/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAA+C,MAAM,UAAU,CAAA;AAChF,OAAO,EAML,KAAK,WAAW,IAAI,mBAAmB,EACvC,KAAK,kBAAkB,IAAI,0BAA0B,EACrD,KAAK,gBAAgB,IAAI,wBAAwB,EACjD,KAAK,kBAAkB,IAAI,0BAA0B,EACrD,KAAK,iBAAiB,IAAI,yBAAyB,EAMpD,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAA;AAM1D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAQ3C,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACrF,8BAA8B;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qCAAqC;IACrC,SAAS,CA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AAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CA2CxE;AAyCD,YAAY,EAAE,GAAG,EAAE,CAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slider component for proyecto-viviana-ui
|
|
3
|
+
*
|
|
4
|
+
* A styled slider component with track, thumb, and value display.
|
|
5
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
6
|
+
*/
|
|
7
|
+
import { type JSX } from 'solid-js';
|
|
8
|
+
import { type AriaSliderProps } from '@proyecto-viviana/solidaria';
|
|
9
|
+
import { type SliderOrientation } from '@proyecto-viviana/solid-stately';
|
|
10
|
+
export type SliderSize = 'sm' | 'md' | 'lg';
|
|
11
|
+
export type SliderVariant = 'default' | 'accent';
|
|
12
|
+
export interface SliderProps extends Omit<AriaSliderProps, 'label'> {
|
|
13
|
+
/** The size of the slider. */
|
|
14
|
+
size?: SliderSize;
|
|
15
|
+
/** The visual variant of the slider. */
|
|
16
|
+
variant?: SliderVariant;
|
|
17
|
+
/** Additional CSS class name. */
|
|
18
|
+
class?: string;
|
|
19
|
+
/** Label text for the slider. */
|
|
20
|
+
label?: string;
|
|
21
|
+
/** The current value (controlled). */
|
|
22
|
+
value?: number;
|
|
23
|
+
/** The default value (uncontrolled). */
|
|
24
|
+
defaultValue?: number;
|
|
25
|
+
/** Handler called when the value changes. */
|
|
26
|
+
onChange?: (value: number) => void;
|
|
27
|
+
/** Handler called when dragging ends. */
|
|
28
|
+
onChangeEnd?: (value: number) => void;
|
|
29
|
+
/** The minimum value. */
|
|
30
|
+
minValue?: number;
|
|
31
|
+
/** The maximum value. */
|
|
32
|
+
maxValue?: number;
|
|
33
|
+
/** The step value. */
|
|
34
|
+
step?: number;
|
|
35
|
+
/** The orientation of the slider. */
|
|
36
|
+
orientation?: SliderOrientation;
|
|
37
|
+
/** The locale for number formatting. */
|
|
38
|
+
locale?: string;
|
|
39
|
+
/** Number format options. */
|
|
40
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
41
|
+
/** Whether to show the value output. */
|
|
42
|
+
showOutput?: boolean;
|
|
43
|
+
/** Whether to show min/max labels. */
|
|
44
|
+
showMinMax?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A slider allows users to select a value from a range.
|
|
48
|
+
*
|
|
49
|
+
* Built directly on solidaria hooks for full accessibility support.
|
|
50
|
+
*/
|
|
51
|
+
export declare function Slider(props: SliderProps): JSX.Element;
|
|
52
|
+
export type { SliderState, SliderOrientation } from '@proyecto-viviana/solid-stately';
|
|
53
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/slider/index.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAmD,MAAM,UAAU,CAAA;AACpF,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,iCAAiC,CAAA;AAMxC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC3C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEhD,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC;IACjE,8BAA8B;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,wCAAwC;IACxC,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EA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