@cwellt_software/cwellt-reactjs-lib 1.5.2 → 1.5.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.
- package/dist/content/icons/new-cw-icons/css/new-cw-icons.css +6 -0
- package/dist/index.cjs.js +278 -89
- package/dist/index.css +2 -2
- package/dist/index.d.ts +133 -16
- package/dist/index.es.js +278 -90
- package/dist/src/components/control/action/button/CwButton.d.ts +5 -0
- package/dist/src/components/control/action/button/CwButton.d.ts.map +1 -1
- package/dist/src/components/control/action/button/CwButton.stories.d.ts +28 -0
- package/dist/src/components/control/action/button/CwButton.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts +63 -0
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.d.ts.map +1 -1
- package/dist/src/components/control/choice/checkbox/CwRadioGroup.d.ts.map +1 -1
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts +11 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts.map +1 -1
- package/dist/src/components/control/choice/select/CwDropdown.d.ts.map +1 -1
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.d.ts.map +1 -1
- package/dist/src/components/control/input/digit/CwDigit.d.ts +6 -0
- package/dist/src/components/control/input/digit/CwDigit.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/text/CwInputText.stories.d.ts +840 -0
- package/dist/src/components/control/input/text/CwInputText.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts +16 -44
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts.map +1 -1
- package/dist/src/components/control/input/weekday/weekdayNames.d.ts +14 -0
- package/dist/src/components/control/input/weekday/weekdayNames.d.ts.map +1 -0
- package/dist/src/components/control/input/weekday/weekdays.d.ts +65 -0
- package/dist/src/components/control/input/weekday/weekdays.d.ts.map +1 -0
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts +3 -1
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts.map +1 -1
- package/dist/src/components/display/text/badge/CwBadge.d.ts +48 -0
- package/dist/src/components/display/text/badge/CwBadge.d.ts.map +1 -0
- package/dist/src/components/display/text/badge/badgeContent.d.ts +33 -0
- package/dist/src/components/display/text/badge/badgeContent.d.ts.map +1 -0
- package/dist/src/components/display/text/note/CwNote.stories.d.ts +51 -0
- package/dist/src/components/display/text/note/CwNote.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/tag/CwChip.d.ts +16 -8
- package/dist/src/components/display/text/tag/CwChip.d.ts.map +1 -1
- package/dist/src/components/display/text/tag/CwChip.stories.d.ts +29 -0
- package/dist/src/components/display/text/tag/CwChip.stories.d.ts.map +1 -0
- package/dist/src/components/layout/tabs/CwTabs.d.ts +7 -1
- package/dist/src/components/layout/tabs/CwTabs.d.ts.map +1 -1
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/PlaygroundApp.d.ts.map +1 -1
- package/dist/src/playground/pages/CwBadgePage.d.ts +3 -0
- package/dist/src/playground/pages/CwBadgePage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwChipPage.d.ts +3 -0
- package/dist/src/playground/pages/CwChipPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwDigitPage.d.ts +3 -0
- package/dist/src/playground/pages/CwDigitPage.d.ts.map +1 -0
- package/dist/src/playground/pages/CwWeekdaySelectorPage.d.ts +3 -0
- package/dist/src/playground/pages/CwWeekdaySelectorPage.d.ts.map +1 -0
- package/dist/src/playground/pages/FormControlLayoutsPage.d.ts +3 -0
- package/dist/src/playground/pages/FormControlLayoutsPage.d.ts.map +1 -0
- package/dist/src/playground/pages/ProgressPage.d.ts.map +1 -1
- package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -1
- package/dist/src/storybook/inputStoryArgs.d.ts +68 -0
- package/dist/src/storybook/inputStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/layoutStoryArgs.d.ts +60 -0
- package/dist/src/storybook/layoutStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/storySource.d.ts +22 -0
- package/dist/src/storybook/storySource.d.ts.map +1 -0
- package/dist/test/components/control/input/weekday/weekdayNames.test.d.ts +2 -0
- package/dist/test/components/control/input/weekday/weekdayNames.test.d.ts.map +1 -0
- package/dist/test/components/control/input/weekday/weekdays.test.d.ts +2 -0
- package/dist/test/components/control/input/weekday/weekdays.test.d.ts.map +1 -0
- package/dist/test/components/display/text/badge/badgeContent.test.d.ts +2 -0
- package/dist/test/components/display/text/badge/badgeContent.test.d.ts.map +1 -0
- package/dist/test/storybook/inputStoryArgs.test.d.ts +2 -0
- package/dist/test/storybook/inputStoryArgs.test.d.ts.map +1 -0
- package/dist/test/storybook/layoutStoryArgs.test.d.ts +2 -0
- package/dist/test/storybook/layoutStoryArgs.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -74,14 +74,19 @@ interface CwLabelProps extends Omit<HTMLProps<PropsWithChildren<HTMLLabelElement
|
|
|
74
74
|
*/
|
|
75
75
|
declare function CwLabel(props: CwLabelProps): React$1.JSX.Element;
|
|
76
76
|
|
|
77
|
-
type ChipColorScheme = 'danger' | 'warning' | 'success' | 'info' | 'neutral' | 'custom';
|
|
78
|
-
type ChipVariant = 'soft' | 'solid' | 'outline';
|
|
77
|
+
type ChipColorScheme = 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'neutral' | 'custom';
|
|
78
|
+
type ChipVariant = 'soft' | 'solid' | 'outline' | 'ghost';
|
|
79
79
|
interface CwChipProps {
|
|
80
80
|
/*** Text content of the chip **/
|
|
81
81
|
label?: string;
|
|
82
|
-
/*** Predefined color
|
|
82
|
+
/*** Predefined color of the chip **/
|
|
83
|
+
color?: ChipColorScheme;
|
|
84
|
+
/**
|
|
85
|
+
* Predefined color scheme of the chip
|
|
86
|
+
* @deprecated Use `color` instead. Still honoured, but `color` wins when both are passed.
|
|
87
|
+
*/
|
|
83
88
|
colorScheme?: ChipColorScheme;
|
|
84
|
-
/*** Custom color (only used when
|
|
89
|
+
/*** Custom color (only used when the color is 'custom') **/
|
|
85
90
|
customColor?: string;
|
|
86
91
|
/*** Visual variant of the chip **/
|
|
87
92
|
variant?: ChipVariant;
|
|
@@ -99,15 +104,65 @@ interface CwChipProps {
|
|
|
99
104
|
/**
|
|
100
105
|
* CwChip - A simple chip/tag component for displaying labels or categories
|
|
101
106
|
*
|
|
107
|
+
* The colour comes from `color`; the older `colorScheme` spelling is deprecated but still
|
|
108
|
+
* honoured, and `color` wins when both are passed.
|
|
109
|
+
*
|
|
102
110
|
* @example
|
|
103
|
-
* <CwChip label="Active"
|
|
104
|
-
* <CwChip label="High Priority"
|
|
105
|
-
* <CwChip label="Custom"
|
|
106
|
-
* <CwChip label="Outlined"
|
|
111
|
+
* <CwChip label="Active" color="success" />
|
|
112
|
+
* <CwChip label="High Priority" color="danger" variant="solid" />
|
|
113
|
+
* <CwChip label="Custom" color="custom" customColor="#8a2be2" />
|
|
114
|
+
* <CwChip label="Outlined" color="info" variant="outline" />
|
|
107
115
|
* <CwChip label="Removable" closable onClose={() => console.log('closed')} />
|
|
108
116
|
**/
|
|
109
117
|
declare const CwChip: React__default.FC<CwChipProps>;
|
|
110
118
|
|
|
119
|
+
type BadgeColorScheme = 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'neutral';
|
|
120
|
+
type BadgeVariant = 'soft' | 'solid';
|
|
121
|
+
type BadgeSize = 'small' | 'medium' | 'large';
|
|
122
|
+
interface CwBadgeProps {
|
|
123
|
+
/** Number shown inside the badge. Omit (with no `content`) to render a dot */
|
|
124
|
+
count?: number;
|
|
125
|
+
/** Text shown instead of a count, e.g. `"!"`. Wins over `count` */
|
|
126
|
+
content?: React__default.ReactNode;
|
|
127
|
+
/** Predefined color scheme, sharing CwChip's token pairs */
|
|
128
|
+
color?: BadgeColorScheme;
|
|
129
|
+
/** Visual variant: filled accent (`solid`) or the muted container tone (`soft`) */
|
|
130
|
+
variant?: BadgeVariant;
|
|
131
|
+
/** Circle diameter at one digit: `small` 1rem, `medium` 1.25rem, `large` 1.5rem */
|
|
132
|
+
size?: BadgeSize;
|
|
133
|
+
/** Render the badge when `count` is 0 (default true, matching today's counters) */
|
|
134
|
+
showZero?: boolean;
|
|
135
|
+
/** Replace the whole badge with a spinner; it always renders while loading */
|
|
136
|
+
loading?: boolean;
|
|
137
|
+
/** Highest value rendered as a number; anything above shows `"{max}+"` */
|
|
138
|
+
max?: number;
|
|
139
|
+
/** Accessible name. Needed for a dot or a spinner, which carry no text; without it a text-less
|
|
140
|
+
* badge is hidden from assistive technology */
|
|
141
|
+
label?: string;
|
|
142
|
+
/** Additional CSS class name */
|
|
143
|
+
className?: string;
|
|
144
|
+
/** Additional inline styles */
|
|
145
|
+
style?: React__default.CSSProperties;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* CwBadge - the small coloured circle with a number, used for alert and notification counts.
|
|
149
|
+
*
|
|
150
|
+
* Always **in flow** (`inline-flex`); it never positions itself, so overlaying it on an icon
|
|
151
|
+
* button is the caller's job. One digit stays a circle, wider content such as `"99+"` grows into
|
|
152
|
+
* a pill. With neither `count` nor `content` it renders as a dot.
|
|
153
|
+
*
|
|
154
|
+
* Precedence: `loading` > `content` > `count` > dot. While loading the badge renders regardless
|
|
155
|
+
* of `showZero`, and the spinner replaces it - circle, background and padding come off.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* <CwBadge count={3} color="danger" />
|
|
159
|
+
* <CwBadge count={0} showZero={false} />
|
|
160
|
+
* <CwBadge count={128} max={99} color="warning" variant="soft" />
|
|
161
|
+
* <CwBadge color="warning" label="Unresolved findings" />
|
|
162
|
+
* <CwBadge count={0} loading />
|
|
163
|
+
*/
|
|
164
|
+
declare const CwBadge: React__default.FC<CwBadgeProps>;
|
|
165
|
+
|
|
111
166
|
declare enum CwMessageType {
|
|
112
167
|
ERROR = "close-circle",
|
|
113
168
|
WARN = "warning",
|
|
@@ -388,6 +443,8 @@ interface CwProgressProps {
|
|
|
388
443
|
monoValue?: boolean;
|
|
389
444
|
/** Larger, bolder value label. */
|
|
390
445
|
prominent?: boolean;
|
|
446
|
+
/** Extra classes on the outermost element, e.g. a layout utility like `cw-flex-grow`. */
|
|
447
|
+
className?: string;
|
|
391
448
|
}
|
|
392
449
|
/**
|
|
393
450
|
* CwProgress - a determinate or indeterminate progress bar.
|
|
@@ -399,7 +456,7 @@ interface CwProgressProps {
|
|
|
399
456
|
* <CwProgress value={62} label="Import" color="success" />
|
|
400
457
|
* <CwProgress indeterminate label="Uploading" />
|
|
401
458
|
*/
|
|
402
|
-
declare function CwProgress({ value, indeterminate, label, rightLabel, size, layout, color, monoValue, prominent }: CwProgressProps): React__default.JSX.Element;
|
|
459
|
+
declare function CwProgress({ value, indeterminate, label, rightLabel, size, layout, color, monoValue, prominent, className }: CwProgressProps): React__default.JSX.Element;
|
|
403
460
|
|
|
404
461
|
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
405
462
|
interface CwGenericTooltipProps {
|
|
@@ -1102,8 +1159,13 @@ interface Tab {
|
|
|
1102
1159
|
content: React__default.ReactNode;
|
|
1103
1160
|
icon?: React__default.ReactNode | string;
|
|
1104
1161
|
iconClassName?: string;
|
|
1162
|
+
/** Counter shown next to the title. Omit (with a `badgeColor`) for an attention dot */
|
|
1105
1163
|
badge?: number | string;
|
|
1106
|
-
|
|
1164
|
+
/**
|
|
1165
|
+
* Badge colour scheme, e.g. `"warning"`.
|
|
1166
|
+
* @deprecated Passing a raw CSS colour is deprecated - use one of the scheme names instead.
|
|
1167
|
+
*/
|
|
1168
|
+
badgeColor?: BadgeColorScheme | string;
|
|
1107
1169
|
}
|
|
1108
1170
|
interface CwTabsProps {
|
|
1109
1171
|
id?: string;
|
|
@@ -1521,6 +1583,7 @@ interface CwInputFeedback {
|
|
|
1521
1583
|
* @param className - Additional CSS classes
|
|
1522
1584
|
* @param title - Built-in tooltip
|
|
1523
1585
|
* @param tooltipPosition - Tooltip position: 'top', 'bottom' (default), 'left', 'right'
|
|
1586
|
+
* @param badge - CwBadge props, overlaid on the top-right corner. Size defaults to 'small' on icon buttons, else the button's own size.
|
|
1524
1587
|
* @param children - Custom button content (overrides text and icon rendering)
|
|
1525
1588
|
*
|
|
1526
1589
|
* @example
|
|
@@ -1532,6 +1595,7 @@ interface CwInputFeedback {
|
|
|
1532
1595
|
* <CwButton text="Next" icon="chevron-right" iconPosition="right" />
|
|
1533
1596
|
* <CwButton text="Export" icon="download" variant="ghost" />
|
|
1534
1597
|
* <CwButton variant="icon" icon="pin" pressed={isPinned} onClick={togglePinned} title="Pin" />
|
|
1598
|
+
* <CwButton variant="icon" icon="alert" title="Alerts" badge={{ count: 3, color: "danger" }} onClick={openAlerts} />
|
|
1535
1599
|
* <CwButton className="custom-class">Custom content</CwButton>
|
|
1536
1600
|
*/
|
|
1537
1601
|
|
|
@@ -1544,6 +1608,8 @@ interface CwButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
1544
1608
|
pressed?: boolean;
|
|
1545
1609
|
icon?: string;
|
|
1546
1610
|
tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
|
|
1611
|
+
/** Overlaid on the top-right corner. `size` defaults to 'small' on icon buttons, else the button's own `size`. */
|
|
1612
|
+
badge?: CwBadgeProps;
|
|
1547
1613
|
}
|
|
1548
1614
|
declare const CwButton: React__default.ForwardRefExoticComponent<CwButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1549
1615
|
|
|
@@ -1565,6 +1631,12 @@ interface CwDigitProps extends Omit<HTMLProps<HTMLInputElement>, "className" | "
|
|
|
1565
1631
|
* @example feedback={[{ type: "neutral", message: "Enter an amount" }, { type: "warning", message: "Value looks high" }]}
|
|
1566
1632
|
*/
|
|
1567
1633
|
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
1634
|
+
/** Where the feedback block sits in row layout: "value" (default) lines it up under the input,
|
|
1635
|
+
* "full" spans label and input from the left edge. Use "full" with a compact field
|
|
1636
|
+
* (`data-size`), where the indent would strand the message far from a very short input.
|
|
1637
|
+
* No effect in column layout, where both collapse to the same third line.
|
|
1638
|
+
* @example feedbackPosition="full" */
|
|
1639
|
+
feedbackPosition?: "value" | "full";
|
|
1568
1640
|
}
|
|
1569
1641
|
/**
|
|
1570
1642
|
* Input for entering a string of number.
|
|
@@ -1937,7 +2009,22 @@ interface CwWeekdaySelectorProps {
|
|
|
1937
2009
|
value?: string;
|
|
1938
2010
|
onChange?: (value: string) => void;
|
|
1939
2011
|
disabled?: boolean;
|
|
2012
|
+
/** Props for the label; undefined == no label
|
|
2013
|
+
* @example labelProps={{ text: "Operating days" }} */
|
|
2014
|
+
labelProps?: CwLabelProps;
|
|
2015
|
+
/** Label placement relative to the day strip: "row" (default, label beside) | "column" (label above).
|
|
2016
|
+
* Honors align and gap. */
|
|
2017
|
+
layout?: CwLayoutProps;
|
|
2018
|
+
/** Messages shown below the day strip; accepts a single message or an array */
|
|
2019
|
+
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
2020
|
+
/** BCP-47 tag driving the day letters and their tooltips (default "en-GB"): "es" renders
|
|
2021
|
+
* LMXJVSD, "de" renders MDMDFSS. From a date-fns locale object, pass its `code`. */
|
|
2022
|
+
locale?: string;
|
|
2023
|
+
/** Additional CSS class name for the root element */
|
|
2024
|
+
className?: string;
|
|
1940
2025
|
}
|
|
2026
|
+
declare const CwWeekdaySelector: FC<CwWeekdaySelectorProps>;
|
|
2027
|
+
|
|
1941
2028
|
type Weekday = "M" | "T" | "W" | "R" | "F" | "S" | "U" | "m" | "t" | "w" | "r" | "f" | "s" | "u";
|
|
1942
2029
|
/**
|
|
1943
2030
|
* This class represents a week where days can be selected or unselected
|
|
@@ -1945,7 +2032,7 @@ type Weekday = "M" | "T" | "W" | "R" | "F" | "S" | "U" | "m" | "t" | "w" | "r" |
|
|
|
1945
2032
|
* ```
|
|
1946
2033
|
* Monday = "M" | "m"
|
|
1947
2034
|
* Tuesday = "T" | "t"
|
|
1948
|
-
*
|
|
2035
|
+
* Wednesday = "W" | "w"
|
|
1949
2036
|
* thuRsday = "R" | "r"
|
|
1950
2037
|
* Friday = "F" | "f"
|
|
1951
2038
|
* Saturday = "S" | "s"
|
|
@@ -1957,11 +2044,11 @@ declare class Weekdays {
|
|
|
1957
2044
|
private static readonly WEEKDAYS_STANDARD_ARRAY_EMPTY;
|
|
1958
2045
|
private static readonly WEEKDAYS_STANDARD_STRING_FULL;
|
|
1959
2046
|
private static readonly WEEKDAYS_STANDARD_STRING_EMPTY;
|
|
1960
|
-
static readonly WEEKDAYS_TO_USA_LETTER_FORMAT: Map<string, string>;
|
|
1961
2047
|
static readonly WEEKDAYS_TO_USA_SHORT_FORMAT: Map<string, string>;
|
|
1962
2048
|
static readonly WEEKDAY_MAP: {
|
|
1963
2049
|
[key: number]: Weekday;
|
|
1964
2050
|
};
|
|
2051
|
+
private static readonly DAY_NUMBER_BY_CODE;
|
|
1965
2052
|
private days;
|
|
1966
2053
|
constructor(days?: Weekday[] | string);
|
|
1967
2054
|
includes(day: Weekday): boolean;
|
|
@@ -1971,7 +2058,7 @@ declare class Weekdays {
|
|
|
1971
2058
|
toString(): string;
|
|
1972
2059
|
toStringFormatted(limiters?: {
|
|
1973
2060
|
startExistingDay: string;
|
|
1974
|
-
|
|
2061
|
+
endExistingDay: string;
|
|
1975
2062
|
startMissingDay: string;
|
|
1976
2063
|
endMissingDay: string;
|
|
1977
2064
|
separator: string;
|
|
@@ -1981,8 +2068,27 @@ declare class Weekdays {
|
|
|
1981
2068
|
isFull(): boolean;
|
|
1982
2069
|
static getFullWeek(): Weekday[];
|
|
1983
2070
|
static getEmptyWeek(): Weekday[];
|
|
2071
|
+
/** A week with nothing selected. */
|
|
2072
|
+
static empty(): Weekdays;
|
|
2073
|
+
/**
|
|
2074
|
+
* Like {@link fromString}, but yields an empty week instead of throwing on anything invalid.
|
|
2075
|
+
* For UI fed straight from a backend field that can arrive null, empty or partial.
|
|
2076
|
+
*/
|
|
2077
|
+
static tryFromString(value: string | null | undefined): Weekdays;
|
|
2078
|
+
/** Selected flags in MTWRFSU order (Monday first). */
|
|
2079
|
+
toBooleans(): boolean[];
|
|
2080
|
+
/** @param flags selected flags in MTWRFSU order; missing entries count as unselected */
|
|
2081
|
+
static fromBooleans(flags: ReadonlyArray<boolean>): Weekdays;
|
|
2082
|
+
/** 7-character mask in MTWRFSU order where "1" means selected, e.g. "1100100". */
|
|
2083
|
+
toMask(): string;
|
|
2084
|
+
/** @param mask 7-character mask in MTWRFSU order where "1" means selected; a shorter, empty or
|
|
2085
|
+
* missing mask counts the absent days as unselected */
|
|
2086
|
+
static fromMask(mask: string | null | undefined): Weekdays;
|
|
2087
|
+
/** Selected days as Date.getDay() numbers (0 = Sunday), in MTWRFSU order. */
|
|
2088
|
+
toDayNumbers(): number[];
|
|
2089
|
+
/** @param days Date.getDay() numbers (0 = Sunday) */
|
|
2090
|
+
static fromDayNumbers(days: ReadonlyArray<number>): Weekdays;
|
|
1984
2091
|
}
|
|
1985
|
-
declare const CwWeekdaySelector: FC<CwWeekdaySelectorProps>;
|
|
1986
2092
|
|
|
1987
2093
|
interface CwCheckProps extends Omit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type"> {
|
|
1988
2094
|
/** Props for the label component */
|
|
@@ -2373,6 +2479,17 @@ interface CwMultiFilterProps {
|
|
|
2373
2479
|
/** Additional CSS class for the container */
|
|
2374
2480
|
className?: string;
|
|
2375
2481
|
style?: React__default.CSSProperties;
|
|
2482
|
+
/** `data-testid` on the root `<form>`, for e2e/Selenium anchoring. */
|
|
2483
|
+
testId?: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* Tag list shown when the panel opens.
|
|
2486
|
+
* - `"all"` (default): the full list shows immediately.
|
|
2487
|
+
* - `"afterCategoryOrSearch"`: the list opens empty until the user's first interaction (any
|
|
2488
|
+
* category button, ALL CATEGORIES included, or a search term), then stays visible until the
|
|
2489
|
+
* panel is closed and reopened. Category buttons stay visible throughout. Useful when one
|
|
2490
|
+
* category holds a directory large enough to overload the panel.
|
|
2491
|
+
*/
|
|
2492
|
+
initialTagVisibility?: "all" | "afterCategoryOrSearch";
|
|
2376
2493
|
}
|
|
2377
2494
|
/**
|
|
2378
2495
|
* A multiple filter selector, a MULTI-SELECT even. Allows users to select and filter items based on tags.
|
|
@@ -3880,5 +3997,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
3880
3997
|
constructor(id: string, clickedMenu: string);
|
|
3881
3998
|
}
|
|
3882
3999
|
|
|
3883
|
-
export { CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwButtonSplit, CwButtonSwitch, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNavMenu, CwNote, CwOption, CwPopoverButton, CwProgress, CwRadioGroup, CwReportModal, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSkeleton, CwSortableList, CwSortableTable, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PRESET_LIBRARY_TEMPORAL, PinRowHeader, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, configureCwLoading, eventIsVisible, filterNavItems, filterVisibleEvents, getCwLoadingDefaults, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, sortNavItems, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3884
|
-
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwProgressProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSkeletonProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem };
|
|
4000
|
+
export { CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBadge, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwButtonSplit, CwButtonSwitch, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNavMenu, CwNote, CwOption, CwPopoverButton, CwProgress, CwRadioGroup, CwReportModal, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSkeleton, CwSortableList, CwSortableTable, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PRESET_LIBRARY_TEMPORAL, PinRowHeader, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, configureCwLoading, eventIsVisible, filterNavItems, filterVisibleEvents, getCwLoadingDefaults, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, sortNavItems, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
4001
|
+
export type { BackgroundEventDm, BadgeColorScheme, BadgeSize, BadgeVariant, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwBadgeProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwProgressProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSkeletonProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem };
|