@nurix/ui-component-library 1.1.3-stage.94 → 1.1.3-stage.95
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/index.d.mts +13 -5
- package/dist/index.d.ts +13 -5
- package/dist/index.js +715 -364
- package/dist/index.mjs +713 -362
- package/dist/styles.css +95 -95
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ import { LucideIcon } from 'lucide-react';
|
|
|
9
9
|
|
|
10
10
|
type ButtonBorderRadius = "none" | "soft" | "rounded";
|
|
11
11
|
type ButtonVariant = "primary" | "secondary" | "destructive" | "outline" | "link" | "iconPrimary" | "iconSecondary" | "iconOutline";
|
|
12
|
-
type ButtonSize = "default" | "sm" | "lg" | "link" | "icon" | "iconSm";
|
|
12
|
+
type ButtonSize = "default" | "sm" | "lg" | "link" | "icon" | "iconSm" | "iconXs";
|
|
13
13
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
14
14
|
variant?: ButtonVariant;
|
|
15
15
|
size?: ButtonSize;
|
|
@@ -483,7 +483,7 @@ declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive
|
|
|
483
483
|
leadIconSize?: "xs" | "sm" | "md";
|
|
484
484
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
485
485
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
486
|
-
declare function SelectFormLabel({ className, label, mandatory }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
486
|
+
declare function SelectFormLabel({ className, label, mandatory, }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
487
487
|
|
|
488
488
|
interface PlaySelectAudioItem {
|
|
489
489
|
value: string;
|
|
@@ -1100,6 +1100,7 @@ declare const DEFAULT_THEME: {
|
|
|
1100
1100
|
readonly warningForeground: "#78350f";
|
|
1101
1101
|
readonly switchTrack: "#e5e5e5";
|
|
1102
1102
|
readonly hover: "#0a0a0a1a";
|
|
1103
|
+
readonly filterInput: "#fff";
|
|
1103
1104
|
};
|
|
1104
1105
|
readonly darkMode: {
|
|
1105
1106
|
readonly background: "#1e1e1e";
|
|
@@ -1145,13 +1146,14 @@ declare const DEFAULT_THEME: {
|
|
|
1145
1146
|
readonly warningForeground: "#78350f";
|
|
1146
1147
|
readonly switchTrack: "#ffffff";
|
|
1147
1148
|
readonly hover: "#ffffff1a";
|
|
1149
|
+
readonly filterInput: "#171717";
|
|
1148
1150
|
};
|
|
1149
1151
|
};
|
|
1150
1152
|
readonly components: {
|
|
1151
1153
|
readonly mode1: {
|
|
1152
1154
|
readonly inputRadius: 16;
|
|
1153
|
-
readonly inputHeight:
|
|
1154
|
-
readonly inputHeightLarge:
|
|
1155
|
+
readonly inputHeight: 42;
|
|
1156
|
+
readonly inputHeightLarge: 56;
|
|
1155
1157
|
readonly inputPaddingHorizontal: 16;
|
|
1156
1158
|
readonly inputPaddingVertical: 8;
|
|
1157
1159
|
readonly buttonHeight: 40;
|
|
@@ -1579,7 +1581,7 @@ interface FilterItem<T = string> {
|
|
|
1579
1581
|
/**
|
|
1580
1582
|
* Props for FilterSelect component
|
|
1581
1583
|
*/
|
|
1582
|
-
interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1584
|
+
interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "className"> {
|
|
1583
1585
|
/** Filter label displayed in the trigger button */
|
|
1584
1586
|
label?: string;
|
|
1585
1587
|
/** Icon displayed on the left side of the trigger */
|
|
@@ -1640,6 +1642,12 @@ interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTML
|
|
|
1640
1642
|
}) => void;
|
|
1641
1643
|
/** Date presets to show (default: true = built-in presets). Set false to hide, or pass custom array */
|
|
1642
1644
|
datePresets?: boolean | DatePreset[];
|
|
1645
|
+
/** Show time picker in date filter (default: true) */
|
|
1646
|
+
showTime?: boolean;
|
|
1647
|
+
/** Additional className for the trigger button */
|
|
1648
|
+
triggerClassName?: string;
|
|
1649
|
+
/** Additional className for the dropdown content */
|
|
1650
|
+
dropdownClassName?: string;
|
|
1643
1651
|
}
|
|
1644
1652
|
/** Date preset: label and function to compute the range */
|
|
1645
1653
|
interface DatePreset {
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { LucideIcon } from 'lucide-react';
|
|
|
9
9
|
|
|
10
10
|
type ButtonBorderRadius = "none" | "soft" | "rounded";
|
|
11
11
|
type ButtonVariant = "primary" | "secondary" | "destructive" | "outline" | "link" | "iconPrimary" | "iconSecondary" | "iconOutline";
|
|
12
|
-
type ButtonSize = "default" | "sm" | "lg" | "link" | "icon" | "iconSm";
|
|
12
|
+
type ButtonSize = "default" | "sm" | "lg" | "link" | "icon" | "iconSm" | "iconXs";
|
|
13
13
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
14
14
|
variant?: ButtonVariant;
|
|
15
15
|
size?: ButtonSize;
|
|
@@ -483,7 +483,7 @@ declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive
|
|
|
483
483
|
leadIconSize?: "xs" | "sm" | "md";
|
|
484
484
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
485
485
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
486
|
-
declare function SelectFormLabel({ className, label, mandatory }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
486
|
+
declare function SelectFormLabel({ className, label, mandatory, }: SelectLabelProps): react_jsx_runtime.JSX.Element;
|
|
487
487
|
|
|
488
488
|
interface PlaySelectAudioItem {
|
|
489
489
|
value: string;
|
|
@@ -1100,6 +1100,7 @@ declare const DEFAULT_THEME: {
|
|
|
1100
1100
|
readonly warningForeground: "#78350f";
|
|
1101
1101
|
readonly switchTrack: "#e5e5e5";
|
|
1102
1102
|
readonly hover: "#0a0a0a1a";
|
|
1103
|
+
readonly filterInput: "#fff";
|
|
1103
1104
|
};
|
|
1104
1105
|
readonly darkMode: {
|
|
1105
1106
|
readonly background: "#1e1e1e";
|
|
@@ -1145,13 +1146,14 @@ declare const DEFAULT_THEME: {
|
|
|
1145
1146
|
readonly warningForeground: "#78350f";
|
|
1146
1147
|
readonly switchTrack: "#ffffff";
|
|
1147
1148
|
readonly hover: "#ffffff1a";
|
|
1149
|
+
readonly filterInput: "#171717";
|
|
1148
1150
|
};
|
|
1149
1151
|
};
|
|
1150
1152
|
readonly components: {
|
|
1151
1153
|
readonly mode1: {
|
|
1152
1154
|
readonly inputRadius: 16;
|
|
1153
|
-
readonly inputHeight:
|
|
1154
|
-
readonly inputHeightLarge:
|
|
1155
|
+
readonly inputHeight: 42;
|
|
1156
|
+
readonly inputHeightLarge: 56;
|
|
1155
1157
|
readonly inputPaddingHorizontal: 16;
|
|
1156
1158
|
readonly inputPaddingVertical: 8;
|
|
1157
1159
|
readonly buttonHeight: 40;
|
|
@@ -1579,7 +1581,7 @@ interface FilterItem<T = string> {
|
|
|
1579
1581
|
/**
|
|
1580
1582
|
* Props for FilterSelect component
|
|
1581
1583
|
*/
|
|
1582
|
-
interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
1584
|
+
interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "className"> {
|
|
1583
1585
|
/** Filter label displayed in the trigger button */
|
|
1584
1586
|
label?: string;
|
|
1585
1587
|
/** Icon displayed on the left side of the trigger */
|
|
@@ -1640,6 +1642,12 @@ interface FilterSelectProps<T = string> extends Omit<React$1.HTMLAttributes<HTML
|
|
|
1640
1642
|
}) => void;
|
|
1641
1643
|
/** Date presets to show (default: true = built-in presets). Set false to hide, or pass custom array */
|
|
1642
1644
|
datePresets?: boolean | DatePreset[];
|
|
1645
|
+
/** Show time picker in date filter (default: true) */
|
|
1646
|
+
showTime?: boolean;
|
|
1647
|
+
/** Additional className for the trigger button */
|
|
1648
|
+
triggerClassName?: string;
|
|
1649
|
+
/** Additional className for the dropdown content */
|
|
1650
|
+
dropdownClassName?: string;
|
|
1643
1651
|
}
|
|
1644
1652
|
/** Date preset: label and function to compute the range */
|
|
1645
1653
|
interface DatePreset {
|