@dimasbaguspm/versaur 0.0.55 → 0.0.57
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/dist/js/forms/index.js +1 -1
- package/dist/js/index.js +3 -3
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/{tabs-I4n6MLAv.js → tabs-CmfJNCe6.js} +55 -47
- package/dist/js/{time-picker-input-CYBfc7s_.js → time-picker-input-BgbyllDK.js} +315 -325
- package/dist/js/{top-bar-Dqje-W3G.js → top-bar-Do2JqSqe.js} +133 -112
- package/dist/types/forms/text-input-as-button/types.d.ts +3 -2
- package/dist/types/layouts/badge-group/types.d.ts +5 -0
- package/dist/types/layouts/button-group/types.d.ts +5 -0
- package/dist/types/layouts/filter-chip-group/types.d.ts +5 -0
- package/dist/types/navigation/tabs/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -26,12 +26,13 @@ export interface TextInputAsButtonProps extends Omit<ButtonHTMLAttributes<HTMLBu
|
|
|
26
26
|
/**
|
|
27
27
|
* Actual value to store in the hidden input (can be any serializable type)
|
|
28
28
|
* Used for form submission when name is provided
|
|
29
|
+
* This is NOT displayed to the user - use displayValue for that
|
|
29
30
|
*/
|
|
30
31
|
value?: string | number | boolean | string[] | number[] | object;
|
|
31
32
|
/**
|
|
32
33
|
* Display value to show in the button UI
|
|
33
|
-
*
|
|
34
|
-
*
|
|
34
|
+
* This is what the user sees in the button
|
|
35
|
+
* If not provided or empty, placeholder will be shown instead
|
|
35
36
|
*/
|
|
36
37
|
displayValue?: string;
|
|
37
38
|
/**
|
|
@@ -7,6 +7,8 @@ export interface TabsContextValue {
|
|
|
7
7
|
activeTab: string;
|
|
8
8
|
/** Set active tab */
|
|
9
9
|
setActiveTab: (tab: string) => void;
|
|
10
|
+
/** Whether tab triggers should fill available width */
|
|
11
|
+
fullWidth?: boolean;
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
14
|
* TabsRootProps: Props for Tabs root (rendered as nav element)
|
|
@@ -18,6 +20,8 @@ export interface TabsRootProps extends HTMLAttributes<HTMLElement> {
|
|
|
18
20
|
onValueChange: (tab: string) => void;
|
|
19
21
|
/** Children: Tabs.Trigger */
|
|
20
22
|
children: ReactNode;
|
|
23
|
+
/** Whether tab triggers should fill available width equally */
|
|
24
|
+
fullWidth?: boolean;
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* TabsTriggerProps: Individual tab link (rendered as li > a)
|