@pibit.ai/cure-design-system 0.5.4 → 0.5.6
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.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +176 -175
- package/dist/primitives/input/index.d.ts +1 -1
- package/dist/primitives/input/index.d.ts.map +1 -1
- package/dist/primitives/input/input.d.ts +15 -3
- package/dist/primitives/input/input.d.ts.map +1 -1
- package/dist/primitives/input/input.js +213 -187
- package/dist/styles/components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Button, type ButtonProps, type Props as ButtonPropsAll, type CommonProps as ButtonCommonProps, styles as buttonStyles, ButtonUtility, type ButtonUtilityButtonProps, type ButtonUtilityProps, } from './primitives/button';
|
|
2
|
-
export { Input, InputBase, Label, HintText, type InputProps, type InputBaseProps, type LabelProps, type HintTextProps, } from './primitives/input';
|
|
2
|
+
export { Input, InputBase, Label, HintText, TextField, type InputProps, type InputBaseProps, type TextFieldProps, type LabelProps, type HintTextProps, } from './primitives/input';
|
|
3
3
|
export { Checkbox, type CheckboxProps } from './primitives/checkbox';
|
|
4
4
|
export { Toggle, type ToggleProps } from './primitives/toggle';
|
|
5
5
|
export { Badge, BadgeWithDot, BadgeWithIcon, BadgeWithFlag, BadgeWithImage, BadgeWithButton, BadgeIcon, filledColors, type BadgeColor, type BadgeProps, type BadgeWithDotProps, type BadgeWithIconProps, type BadgeWithFlagProps, type BadgeWithImageProps, type BadgeWithButtonProps, type BadgeIconProps, type BadgeColors, type BadgeTypes, type Sizes, type FlagTypes, type IconComponentType, type BadgeTypeToColorMap, } from './primitives/badge';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAG5B,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ACd,0BAA0B,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,GAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,gBAAgB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { ActivitySolid as w } from "./primitives/custom-icon/icons/activity-soli
|
|
|
10
10
|
import { AiExtraction as A } from "./primitives/custom-icon/icons/ai-extraction.js";
|
|
11
11
|
import { Aiservice as B } from "./primitives/custom-icon/icons/aiservice.js";
|
|
12
12
|
import { AllNodes as O } from "./primitives/custom-icon/icons/all-nodes.js";
|
|
13
|
-
import { Api as
|
|
13
|
+
import { Api as F } from "./primitives/custom-icon/icons/api.js";
|
|
14
14
|
import { ApiSolid as L } from "./primitives/custom-icon/icons/api-solid.js";
|
|
15
15
|
import { Apps as k } from "./primitives/custom-icon/icons/apps.js";
|
|
16
16
|
import { ArrowUp2 as G } from "./primitives/custom-icon/icons/arrow-up-2.js";
|
|
@@ -37,7 +37,7 @@ import { CheckIcon20 as Io } from "./primitives/custom-icon/icons/check-icon-20.
|
|
|
37
37
|
import { CheckIconV2 as Ro } from "./primitives/custom-icon/icons/check-icon-v2.js";
|
|
38
38
|
import { ClearCure as Do } from "./primitives/custom-icon/icons/clear-cure.js";
|
|
39
39
|
import { CodeNode as Eo } from "./primitives/custom-icon/icons/code-node.js";
|
|
40
|
-
import { CollapseLeft as
|
|
40
|
+
import { CollapseLeft as No } from "./primitives/custom-icon/icons/collapse-left.js";
|
|
41
41
|
import { CollapseRight as yo } from "./primitives/custom-icon/icons/collapse-right.js";
|
|
42
42
|
import { Condition as Wo } from "./primitives/custom-icon/icons/condition.js";
|
|
43
43
|
import { Continue as _o } from "./primitives/custom-icon/icons/continue.js";
|
|
@@ -64,7 +64,7 @@ import { GroupBy as Ir } from "./primitives/custom-icon/icons/group-by.js";
|
|
|
64
64
|
import { Guidewire as Rr } from "./primitives/custom-icon/icons/guidewire.js";
|
|
65
65
|
import { High as Dr } from "./primitives/custom-icon/icons/high.js";
|
|
66
66
|
import { HttpEndpoint as Er } from "./primitives/custom-icon/icons/http-endpoint.js";
|
|
67
|
-
import { Hubspot as
|
|
67
|
+
import { Hubspot as Nr } from "./primitives/custom-icon/icons/hubspot.js";
|
|
68
68
|
import { IfElse as yr } from "./primitives/custom-icon/icons/if-else.js";
|
|
69
69
|
import { Integer as Wr } from "./primitives/custom-icon/icons/integer.js";
|
|
70
70
|
import { Integer20 as _r } from "./primitives/custom-icon/icons/integer-20.js";
|
|
@@ -91,7 +91,7 @@ import { PlusCircleSolid as Ie } from "./primitives/custom-icon/icons/plus-circl
|
|
|
91
91
|
import { Primespecialty as Re } from "./primitives/custom-icon/icons/primespecialty.js";
|
|
92
92
|
import { Queue as De } from "./primitives/custom-icon/icons/queue.js";
|
|
93
93
|
import { Radio as Ee } from "./primitives/custom-icon/icons/radio.js";
|
|
94
|
-
import { ReorderDots as
|
|
94
|
+
import { ReorderDots as Ne } from "./primitives/custom-icon/icons/reorder-dots.js";
|
|
95
95
|
import { ReorderDots8x14 as ye } from "./primitives/custom-icon/icons/reorder-dots-8x14.js";
|
|
96
96
|
import { ReorderDotsNew as We } from "./primitives/custom-icon/icons/reorder-dots-new.js";
|
|
97
97
|
import { Resize as _e } from "./primitives/custom-icon/icons/resize.js";
|
|
@@ -117,71 +117,71 @@ import { Variable as Tt } from "./primitives/custom-icon/icons/variable.js";
|
|
|
117
117
|
import { VariableNode as It } from "./primitives/custom-icon/icons/variable-node.js";
|
|
118
118
|
import { Webhook as Rt } from "./primitives/custom-icon/icons/webhook.js";
|
|
119
119
|
import { WebhookSolid as Dt } from "./primitives/custom-icon/icons/webhook-solid.js";
|
|
120
|
-
import { cn as Et, cx as
|
|
120
|
+
import { cn as Et, cx as Ft, sortCx as Nt } from "./utils/cn.js";
|
|
121
121
|
import { getPlatformShortcutLabel as yt, getShortcutLabel as kt } from "./utils/keyboard-shortcut.js";
|
|
122
122
|
import { isClassComponent as Gt, isForwardRefComponent as _t, isFunctionComponent as vt, isReactComponent as Ht } from "./utils/is-react-component.js";
|
|
123
123
|
import { default as Mt, ShimmerBox as Pt, ShimmerCircle as Vt, ShimmerLine as Xt } from "./primitives/shimmer/shimmer.js";
|
|
124
124
|
import { Button as Kt, styles as Yt } from "./primitives/button/button.js";
|
|
125
125
|
import { ButtonUtility as jt } from "./primitives/button/button-utility.js";
|
|
126
|
-
import { Input as Jt, InputBase as Zt } from "./primitives/input/input.js";
|
|
127
|
-
import { Label as
|
|
128
|
-
import { HintText as
|
|
129
|
-
import { Checkbox as
|
|
130
|
-
import { Toggle as
|
|
131
|
-
import { Badge as
|
|
132
|
-
import { Avatar as
|
|
133
|
-
import { Icon as
|
|
134
|
-
import { Text as
|
|
135
|
-
import { Heading as
|
|
136
|
-
import { Select as
|
|
137
|
-
import { SearchableSelect as
|
|
138
|
-
import { MultiSelect as
|
|
139
|
-
import { Popover as
|
|
140
|
-
import { ExpandableSearchInput as
|
|
141
|
-
import { SelectItem as
|
|
142
|
-
import { Tooltip as
|
|
143
|
-
import { EllipsisContentWithTooltip as
|
|
144
|
-
import { Dropdown as
|
|
145
|
-
import { Snackbar as
|
|
146
|
-
import { MultiChipsSelect as
|
|
147
|
-
import { tagKeyFromLabel as
|
|
148
|
-
import { ScheduleCalendar as
|
|
149
|
-
import { WEEKDAYS as
|
|
150
|
-
import { cellSetToSchedules as
|
|
151
|
-
import { LoadingIndicator as
|
|
152
|
-
import { Table as
|
|
153
|
-
import { TableWrapper as
|
|
154
|
-
import { TablePagination as
|
|
155
|
-
import { PaginationCardDefault as
|
|
156
|
-
import { Pagination as
|
|
157
|
-
import { ROW_HEIGHT_ICONS as
|
|
158
|
-
import { TOOLBAR_ICONS as
|
|
159
|
-
import { TableToolbar as
|
|
160
|
-
import { getToolbarExtensions as
|
|
161
|
-
import { RowHeightDropdown as
|
|
162
|
-
import { HideFieldsDropdown as
|
|
163
|
-
import { AlignDropdown as
|
|
164
|
-
import { GroupByDropdown as
|
|
165
|
-
import { ShowSummaryDropdown as
|
|
166
|
-
import { SummaryFooterRow as
|
|
167
|
-
import { ColumnHeaderMenu as
|
|
168
|
-
import { RowActionsMenu as
|
|
169
|
-
import { BulkActionBar as
|
|
170
|
-
import { AGGREGATION_LABELS as
|
|
171
|
-
import { GridNavProvider as
|
|
172
|
-
import { CELL_SCROLL_PADDING_PX as
|
|
173
|
-
import { MAX_HISTORY as
|
|
174
|
-
import { useIntegrateTableUndoRedo as
|
|
175
|
-
import { applyTableUndoSnapshot as
|
|
176
|
-
import { applyTableViewSnapshot as
|
|
177
|
-
import { TableViewsDropdown as
|
|
178
|
-
import { DEFAULT_TABLE_VIEW_ID as
|
|
179
|
-
import { buildCellRangeRect as
|
|
180
|
-
import { TableComponent as
|
|
181
|
-
import { buildTableComponentColumns as
|
|
182
|
-
import { TreeView as
|
|
126
|
+
import { Input as Jt, InputBase as Zt, TextField as $t } from "./primitives/input/input.js";
|
|
127
|
+
import { Label as rp } from "./primitives/input/label.js";
|
|
128
|
+
import { HintText as tp } from "./primitives/input/hint-text.js";
|
|
129
|
+
import { Checkbox as mp } from "./primitives/checkbox/checkbox.js";
|
|
130
|
+
import { Toggle as fp } from "./primitives/toggle/toggle.js";
|
|
131
|
+
import { Badge as lp, BadgeIcon as ap, BadgeWithButton as np, BadgeWithDot as dp, BadgeWithFlag as sp, BadgeWithIcon as cp, BadgeWithImage as up, filledColors as Sp } from "./primitives/badge/badge.js";
|
|
132
|
+
import { Avatar as gp } from "./primitives/avatar/avatar.js";
|
|
133
|
+
import { Icon as hp } from "./primitives/icon/icon.js";
|
|
134
|
+
import { Text as wp } from "./primitives/text/text.js";
|
|
135
|
+
import { Heading as Ap } from "./primitives/heading/heading.js";
|
|
136
|
+
import { Select as Bp } from "./primitives/select/select.js";
|
|
137
|
+
import { SearchableSelect as Op } from "./primitives/select/searchable-select.js";
|
|
138
|
+
import { MultiSelect as Fp } from "./primitives/select/multi-select.js";
|
|
139
|
+
import { Popover as Lp } from "./primitives/select/popover.js";
|
|
140
|
+
import { ExpandableSearchInput as kp } from "./primitives/select/ExpandableSearchInput.js";
|
|
141
|
+
import { SelectItem as Gp } from "./primitives/select/select-item.js";
|
|
142
|
+
import { Tooltip as vp, TooltipTrigger as Hp } from "./primitives/tooltip/tooltip.js";
|
|
143
|
+
import { EllipsisContentWithTooltip as Mp, createEllipsisContent as Pp } from "./primitives/tooltip/ellipsis-content.js";
|
|
144
|
+
import { Dropdown as Xp } from "./primitives/dropdown/dropdown.js";
|
|
145
|
+
import { Snackbar as Kp } from "./primitives/snackbar/snackbar.js";
|
|
146
|
+
import { MultiChipsSelect as zp } from "./primitives/multi-chips-select/MultiChipsSelect.js";
|
|
147
|
+
import { tagKeyFromLabel as Qp } from "./primitives/multi-chips-select/tagKeyFromLabel.js";
|
|
148
|
+
import { ScheduleCalendar as Zp } from "./applications/schedule-calendar/schedule-calendar.js";
|
|
149
|
+
import { WEEKDAYS as om } from "./applications/schedule-calendar/types.js";
|
|
150
|
+
import { cellSetToSchedules as em, formatHour as tm, formatHourLabel as pm, mergeHoursToWindows as mm, schedulesToCellSet as im } from "./applications/schedule-calendar/utils.js";
|
|
151
|
+
import { LoadingIndicator as xm } from "./applications/loading-indicator/loading-indicator.js";
|
|
152
|
+
import { Table as am, TableCard as nm, TableCell as dm, TableRowActionsDropdown as sm } from "./patterns/table/table.js";
|
|
153
|
+
import { TableWrapper as um } from "./patterns/table/TableWrapper.js";
|
|
154
|
+
import { TablePagination as Cm } from "./patterns/table/TablePagination.js";
|
|
155
|
+
import { PaginationCardDefault as bm } from "./patterns/table/pagination-card.js";
|
|
156
|
+
import { Pagination as Tm } from "./patterns/table/pagination-base.js";
|
|
157
|
+
import { ROW_HEIGHT_ICONS as Im } from "./patterns/table/row-height-icons.js";
|
|
158
|
+
import { TOOLBAR_ICONS as Rm } from "./patterns/table/toolbar-icons.js";
|
|
159
|
+
import { TableToolbar as Dm, pickCoreToolbarProps as Om } from "./patterns/table/toolbar/TableToolbar.js";
|
|
160
|
+
import { getToolbarExtensions as Fm, registerToolbarExtensions as Nm } from "./patterns/table/toolbar/toolbarExtensions.js";
|
|
161
|
+
import { RowHeightDropdown as ym } from "./patterns/table/toolbar/RowHeightDropdown.js";
|
|
162
|
+
import { HideFieldsDropdown as Wm } from "./patterns/table/toolbar/HideFieldsDropdown.js";
|
|
163
|
+
import { AlignDropdown as _m } from "./patterns/table/toolbar/AlignDropdown.js";
|
|
164
|
+
import { GroupByDropdown as Hm } from "./patterns/table/toolbar/GroupByDropdown.js";
|
|
165
|
+
import { ShowSummaryDropdown as Mm } from "./patterns/table/toolbar/ShowSummaryDropdown.js";
|
|
166
|
+
import { SummaryFooterRow as Vm } from "./patterns/table/toolbar/SummaryFooter.js";
|
|
167
|
+
import { ColumnHeaderMenu as qm } from "./patterns/table/toolbar/ColumnHeaderMenu.js";
|
|
168
|
+
import { RowActionsMenu as Ym } from "./patterns/table/toolbar/RowActionsMenu.js";
|
|
169
|
+
import { BulkActionBar as jm } from "./patterns/table/toolbar/BulkActionBar.js";
|
|
170
|
+
import { AGGREGATION_LABELS as Jm, ROW_HEIGHT_CLASS as Zm, alignmentClass as $m, applyHideAndReorder as oi, computeAggregation as ri, getAggregationsForType as ei, getDefaultAlignmentForType as ti, getEffectiveAlignment as pi, groupRows as mi, resolveColumnLabel as ii } from "./patterns/table/toolbar/tableToolbarHelpers.js";
|
|
171
|
+
import { GridNavProvider as xi, findGridCell as li, focusGridCell as ai, getGridNeighbor as ni, getGridTabNeighbor as di, isWithinCellEditor as si, useGridKeyboardNavigation as ci } from "./patterns/table/useGridKeyboardNavigation.js";
|
|
172
|
+
import { CELL_SCROLL_PADDING_PX as Si, computeCellScrollDelta as Ci, measureStickyInsets as gi, scrollGridCellIntoView as bi } from "./patterns/table/scrollCellIntoView.js";
|
|
173
|
+
import { MAX_HISTORY as Ti, TableUndoRedoProvider as wi, useTableUndoRedo as Ii, useTableUndoRedoScope as Ai } from "./patterns/table/useTableUndoRedo.js";
|
|
174
|
+
import { useIntegrateTableUndoRedo as Bi } from "./patterns/table/integrateTableUndoRedo.js";
|
|
175
|
+
import { applyTableUndoSnapshot as Oi, captureTableUndoSnapshot as Ei, wrapColumnHeaderActionWithUndoRedo as Fi, wrapEditChromeWithUndoRedo as Ni, wrapRowActionsWithUndoRedo as Li, wrapSummaryFooterWithUndoRedo as yi, wrapToolbarWithUndoRedo as ki } from "./patterns/table/tableUndoRedo.js";
|
|
176
|
+
import { applyTableViewSnapshot as Gi, getInitialTableViewSnapshot as _i, isTableViewDirty as vi, parseTableSavedViewRecord as Hi, snapshotFromViewRecord as Ui, toTableViewSnapshot as Mi } from "./patterns/table/toolbar/tableViewSnapshot.js";
|
|
177
|
+
import { TableViewsDropdown as Vi } from "./patterns/table/toolbar/TableViewsDropdown.js";
|
|
178
|
+
import { DEFAULT_TABLE_VIEW_ID as qi } from "./patterns/table/toolbar/tableViewTypes.js";
|
|
179
|
+
import { buildCellRangeRect as Yi, isSingleCellSelection as zi, selectionFromSingleCell as ji } from "./patterns/table/cellRangeSelection.js";
|
|
180
|
+
import { TableComponent as Ji } from "./patterns/table-component/TableComponent.js";
|
|
181
|
+
import { buildTableComponentColumns as $i } from "./patterns/table-component/buildTableColumns.js";
|
|
182
|
+
import { TreeView as rf, buildTreeViewNodes as ef } from "./patterns/tree-view/tree-view.js";
|
|
183
183
|
export {
|
|
184
|
-
|
|
184
|
+
Jm as AGGREGATION_LABELS,
|
|
185
185
|
c as Activity,
|
|
186
186
|
S as ActivityIcon,
|
|
187
187
|
g as ActivityIcon16x16,
|
|
@@ -189,24 +189,24 @@ export {
|
|
|
189
189
|
w as ActivitySolid,
|
|
190
190
|
A as AiExtraction,
|
|
191
191
|
B as Aiservice,
|
|
192
|
-
|
|
192
|
+
_m as AlignDropdown,
|
|
193
193
|
O as AllNodes,
|
|
194
|
-
|
|
194
|
+
F as Api,
|
|
195
195
|
L as ApiSolid,
|
|
196
196
|
k as Apps,
|
|
197
197
|
G as ArrowUp2,
|
|
198
198
|
v as ArrowsRl,
|
|
199
199
|
U as AutoNumber,
|
|
200
|
-
|
|
200
|
+
gp as Avatar,
|
|
201
201
|
P as Azure,
|
|
202
202
|
i as BRAND_ICONS,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
203
|
+
lp as Badge,
|
|
204
|
+
ap as BadgeIcon,
|
|
205
|
+
np as BadgeWithButton,
|
|
206
|
+
dp as BadgeWithDot,
|
|
207
|
+
sp as BadgeWithFlag,
|
|
208
|
+
cp as BadgeWithIcon,
|
|
209
|
+
up as BadgeWithImage,
|
|
210
210
|
X as Beaker03,
|
|
211
211
|
K as BellWithDots,
|
|
212
212
|
z as BellWithoutDots,
|
|
@@ -216,10 +216,10 @@ export {
|
|
|
216
216
|
eo as Branch01,
|
|
217
217
|
po as Branch02,
|
|
218
218
|
io as Break,
|
|
219
|
-
|
|
219
|
+
jm as BulkActionBar,
|
|
220
220
|
Kt as Button,
|
|
221
221
|
jt as ButtonUtility,
|
|
222
|
-
|
|
222
|
+
Si as CELL_SCROLL_PADDING_PX,
|
|
223
223
|
xo as Calendar,
|
|
224
224
|
ao as Callable,
|
|
225
225
|
so as Camico,
|
|
@@ -229,22 +229,22 @@ export {
|
|
|
229
229
|
To as CheckIcon,
|
|
230
230
|
Io as CheckIcon20,
|
|
231
231
|
Ro as CheckIconV2,
|
|
232
|
-
|
|
232
|
+
mp as Checkbox,
|
|
233
233
|
Do as ClearCure,
|
|
234
234
|
Eo as CodeNode,
|
|
235
|
-
|
|
235
|
+
No as CollapseLeft,
|
|
236
236
|
yo as CollapseRight,
|
|
237
|
-
|
|
237
|
+
qm as ColumnHeaderMenu,
|
|
238
238
|
Wo as Condition,
|
|
239
239
|
_o as Continue,
|
|
240
240
|
Ho as Csv,
|
|
241
241
|
Mo as CustomEndpoint,
|
|
242
242
|
p as CustomIcon,
|
|
243
|
-
|
|
243
|
+
qi as DEFAULT_TABLE_VIEW_ID,
|
|
244
244
|
Vo as Dots,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
Xp as Dropdown,
|
|
246
|
+
Mp as EllipsisContentWithTooltip,
|
|
247
|
+
kp as ExpandableSearchInput,
|
|
248
248
|
f as FILLED_ICONS,
|
|
249
249
|
x as FIXED_ICONS,
|
|
250
250
|
qo as File04Outline,
|
|
@@ -262,30 +262,30 @@ export {
|
|
|
262
262
|
ur as GmailBig,
|
|
263
263
|
Cr as Google,
|
|
264
264
|
br as GoogleChat,
|
|
265
|
-
|
|
265
|
+
xi as GridNavProvider,
|
|
266
266
|
Tr as GridPlus,
|
|
267
267
|
Ir as GroupBy,
|
|
268
|
-
|
|
268
|
+
Hm as GroupByDropdown,
|
|
269
269
|
Rr as Guidewire,
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
Ap as Heading,
|
|
271
|
+
Wm as HideFieldsDropdown,
|
|
272
272
|
Dr as High,
|
|
273
|
-
|
|
273
|
+
tp as HintText,
|
|
274
274
|
Er as HttpEndpoint,
|
|
275
|
-
|
|
275
|
+
Nr as Hubspot,
|
|
276
276
|
l as ICONS,
|
|
277
277
|
a as ICON_STYLE,
|
|
278
|
-
|
|
278
|
+
hp as Icon,
|
|
279
279
|
yr as IfElse,
|
|
280
280
|
Jt as Input,
|
|
281
281
|
Zt as InputBase,
|
|
282
282
|
Wr as Integer,
|
|
283
283
|
_r as Integer20,
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
rp as Label,
|
|
285
|
+
xm as LoadingIndicator,
|
|
286
286
|
Hr as Loop,
|
|
287
287
|
Mr as Low,
|
|
288
|
-
|
|
288
|
+
Ti as MAX_HISTORY,
|
|
289
289
|
n as MIXED_ICONS,
|
|
290
290
|
Vr as Mail01Outline,
|
|
291
291
|
qr as Mail01Solid,
|
|
@@ -294,8 +294,8 @@ export {
|
|
|
294
294
|
Jr as MessageDotsSquareSolid,
|
|
295
295
|
$r as Microsoft,
|
|
296
296
|
re as MicrosoftOutlook,
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
zp as MultiChipsSelect,
|
|
298
|
+
Fp as MultiSelect,
|
|
299
299
|
te as Navigate,
|
|
300
300
|
me as NestingArrowClosed,
|
|
301
301
|
fe as NestingArrowOpen,
|
|
@@ -304,131 +304,132 @@ export {
|
|
|
304
304
|
ne as Okta,
|
|
305
305
|
se as Onedrive,
|
|
306
306
|
ue as Outlook,
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
Tm as Pagination,
|
|
308
|
+
bm as PaginationCardDefault,
|
|
309
309
|
Ce as ParallelBranch,
|
|
310
310
|
be as PibitAiSolid,
|
|
311
311
|
Te as Platform,
|
|
312
312
|
Ie as PlusCircleSolid,
|
|
313
|
-
|
|
313
|
+
Lp as Popover,
|
|
314
314
|
Re as Primespecialty,
|
|
315
315
|
De as Queue,
|
|
316
|
-
|
|
317
|
-
|
|
316
|
+
Zm as ROW_HEIGHT_CLASS,
|
|
317
|
+
Im as ROW_HEIGHT_ICONS,
|
|
318
318
|
Ee as Radio,
|
|
319
|
-
|
|
319
|
+
Ne as ReorderDots,
|
|
320
320
|
ye as ReorderDots8x14,
|
|
321
321
|
We as ReorderDotsNew,
|
|
322
322
|
_e as Resize,
|
|
323
323
|
He as RiskScore,
|
|
324
324
|
Me as RotateIcon,
|
|
325
325
|
Ve as RotateIcon19x18,
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
Ym as RowActionsMenu,
|
|
327
|
+
ym as RowHeightDropdown,
|
|
328
328
|
qe as Salesforce,
|
|
329
329
|
Ye as Saml,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
Zp as ScheduleCalendar,
|
|
331
|
+
Op as SearchableSelect,
|
|
332
|
+
Bp as Select,
|
|
333
|
+
Gp as SelectItem,
|
|
334
334
|
Mt as Shimmer,
|
|
335
335
|
Pt as ShimmerBox,
|
|
336
336
|
Vt as ShimmerCircle,
|
|
337
337
|
Xt as ShimmerLine,
|
|
338
338
|
je as ShowSummary,
|
|
339
|
-
|
|
339
|
+
Mm as ShowSummaryDropdown,
|
|
340
340
|
Je as Slack,
|
|
341
|
-
|
|
341
|
+
Kp as Snackbar,
|
|
342
342
|
$e as Sqs,
|
|
343
343
|
rt as Stop,
|
|
344
344
|
tt as StopCircle,
|
|
345
345
|
mt as StopCircleSolid,
|
|
346
346
|
ft as Submission,
|
|
347
|
-
|
|
347
|
+
Vm as SummaryFooterRow,
|
|
348
348
|
lt as Swap,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
349
|
+
Rm as TOOLBAR_ICONS,
|
|
350
|
+
am as Table,
|
|
351
|
+
nm as TableCard,
|
|
352
|
+
dm as TableCell,
|
|
353
|
+
Ji as TableComponent,
|
|
354
|
+
Cm as TablePagination,
|
|
355
|
+
sm as TableRowActionsDropdown,
|
|
356
|
+
Dm as TableToolbar,
|
|
357
|
+
wi as TableUndoRedoProvider,
|
|
358
|
+
Vi as TableViewsDropdown,
|
|
359
|
+
um as TableWrapper,
|
|
360
360
|
nt as TestTube,
|
|
361
|
-
|
|
361
|
+
wp as Text,
|
|
362
|
+
$t as TextField,
|
|
362
363
|
st as ThumbsDown,
|
|
363
364
|
ut as ThumbsDownSolid,
|
|
364
365
|
Ct as ThumbsUp,
|
|
365
366
|
bt as ThumbsUpSolid,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
fp as Toggle,
|
|
368
|
+
vp as Tooltip,
|
|
369
|
+
Hp as TooltipTrigger,
|
|
370
|
+
rf as TreeView,
|
|
370
371
|
Tt as Variable,
|
|
371
372
|
It as VariableNode,
|
|
372
|
-
|
|
373
|
+
om as WEEKDAYS,
|
|
373
374
|
Rt as Webhook,
|
|
374
375
|
Dt as WebhookSolid,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
376
|
+
$m as alignmentClass,
|
|
377
|
+
oi as applyHideAndReorder,
|
|
378
|
+
Oi as applyTableUndoSnapshot,
|
|
379
|
+
Gi as applyTableViewSnapshot,
|
|
380
|
+
Yi as buildCellRangeRect,
|
|
381
|
+
$i as buildTableComponentColumns,
|
|
382
|
+
ef as buildTreeViewNodes,
|
|
382
383
|
Yt as buttonStyles,
|
|
383
|
-
|
|
384
|
-
|
|
384
|
+
Ei as captureTableUndoSnapshot,
|
|
385
|
+
em as cellSetToSchedules,
|
|
385
386
|
Et as cn,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
387
|
+
ri as computeAggregation,
|
|
388
|
+
Ci as computeCellScrollDelta,
|
|
389
|
+
Pp as createEllipsisContent,
|
|
390
|
+
Ft as cx,
|
|
391
|
+
Sp as filledColors,
|
|
392
|
+
li as findGridCell,
|
|
393
|
+
ai as focusGridCell,
|
|
394
|
+
tm as formatHour,
|
|
395
|
+
pm as formatHourLabel,
|
|
396
|
+
ei as getAggregationsForType,
|
|
397
|
+
ti as getDefaultAlignmentForType,
|
|
398
|
+
pi as getEffectiveAlignment,
|
|
399
|
+
ni as getGridNeighbor,
|
|
400
|
+
di as getGridTabNeighbor,
|
|
401
|
+
_i as getInitialTableViewSnapshot,
|
|
401
402
|
yt as getPlatformShortcutLabel,
|
|
402
403
|
kt as getShortcutLabel,
|
|
403
|
-
|
|
404
|
-
|
|
404
|
+
Fm as getToolbarExtensions,
|
|
405
|
+
mi as groupRows,
|
|
405
406
|
Gt as isClassComponent,
|
|
406
407
|
_t as isForwardRefComponent,
|
|
407
408
|
vt as isFunctionComponent,
|
|
408
409
|
Ht as isReactComponent,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
410
|
+
zi as isSingleCellSelection,
|
|
411
|
+
vi as isTableViewDirty,
|
|
412
|
+
si as isWithinCellEditor,
|
|
413
|
+
gi as measureStickyInsets,
|
|
414
|
+
mm as mergeHoursToWindows,
|
|
415
|
+
Hi as parseTableSavedViewRecord,
|
|
416
|
+
Om as pickCoreToolbarProps,
|
|
416
417
|
Nm as registerToolbarExtensions,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
418
|
+
ii as resolveColumnLabel,
|
|
419
|
+
im as schedulesToCellSet,
|
|
420
|
+
bi as scrollGridCellIntoView,
|
|
421
|
+
ji as selectionFromSingleCell,
|
|
422
|
+
Ui as snapshotFromViewRecord,
|
|
423
|
+
Nt as sortCx,
|
|
424
|
+
Qp as tagKeyFromLabel,
|
|
425
|
+
Mi as toTableViewSnapshot,
|
|
426
|
+
ci as useGridKeyboardNavigation,
|
|
427
|
+
Bi as useIntegrateTableUndoRedo,
|
|
428
|
+
Ii as useTableUndoRedo,
|
|
429
|
+
Ai as useTableUndoRedoScope,
|
|
430
|
+
Fi as wrapColumnHeaderActionWithUndoRedo,
|
|
430
431
|
Ni as wrapEditChromeWithUndoRedo,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
Li as wrapRowActionsWithUndoRedo,
|
|
433
|
+
yi as wrapSummaryFooterWithUndoRedo,
|
|
434
|
+
ki as wrapToolbarWithUndoRedo
|
|
434
435
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Input, InputBase, type InputProps, type InputBaseProps } from './input';
|
|
1
|
+
export { Input, InputBase, TextField, type InputProps, type InputBaseProps, type TextFieldProps } from './input';
|
|
2
2
|
export { Label, type LabelProps } from './label';
|
|
3
3
|
export { HintText, type HintTextProps } from './hint-text';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/primitives/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/primitives/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AACjH,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -30,13 +30,25 @@ export interface InputBaseProps extends TextFieldProps {
|
|
|
30
30
|
iconTrailing?: ComponentType<HTMLAttributes<HTMLOrSVGElement>>;
|
|
31
31
|
/** Custom trailing action (e.g. password toggle button) */
|
|
32
32
|
trailingAction?: ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* Flush trailing region (divider + content) inside the input group — laid out
|
|
35
|
+
* beside the field rather than absolutely positioned over its right padding.
|
|
36
|
+
* platform-ui uses this for unit and currency pickers; without it those call
|
|
37
|
+
* sites cannot move off the local copy.
|
|
38
|
+
*/
|
|
39
|
+
trailingSlot?: ReactNode;
|
|
33
40
|
/** Number of trailing icons to display */
|
|
34
41
|
trailingIconCount?: number;
|
|
35
42
|
/** Custom styles for the input */
|
|
36
43
|
customStyles?: React.CSSProperties;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the invalid state shows its trailing InfoCircle.
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
showInfoIcon?: boolean;
|
|
37
49
|
}
|
|
38
50
|
export declare const InputBase: {
|
|
39
|
-
({ ref, isReadOnly, tooltip, shortcut, groupRef, size, isInvalid, isDisabled, icon: Icon, iconTrailing: IconTrailing, placeholder, wrapperClassName, tooltipClassName, inputClassName, iconClassName, trailingAction, trailingIconCount, mode, isRequired: _isRequired, customStyles, ...inputProps }: Omit<InputBaseProps, "label" | "hint">): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
({ ref, isReadOnly, tooltip, shortcut, groupRef, size, isInvalid, isDisabled, icon: Icon, iconTrailing: IconTrailing, placeholder, wrapperClassName, tooltipClassName, inputClassName, iconClassName, trailingAction, trailingSlot, trailingIconCount, mode, isRequired: _isRequired, customStyles, showInfoIcon, ...inputProps }: Omit<InputBaseProps, "label" | "hint">): import("react/jsx-runtime").JSX.Element;
|
|
40
52
|
displayName: string;
|
|
41
53
|
};
|
|
42
54
|
interface BaseProps {
|
|
@@ -58,7 +70,7 @@ export interface InputProps extends InputBaseProps, BaseProps {
|
|
|
58
70
|
/** Whether to hide required indicator from label */
|
|
59
71
|
hideRequiredIndicator?: boolean;
|
|
60
72
|
/** Input type (text, password, number, date, etc.) */
|
|
61
|
-
inputType?: "text" | "password" | "number" | "date";
|
|
73
|
+
inputType?: "text" | "password" | "number" | "date" | "email" | "url";
|
|
62
74
|
/** Custom styles for the input */
|
|
63
75
|
customStyles?: React.CSSProperties;
|
|
64
76
|
/** Custom styles for the container */
|
|
@@ -84,7 +96,7 @@ export interface InputProps extends InputBaseProps, BaseProps {
|
|
|
84
96
|
* <Input errorMessage="This field is required" />
|
|
85
97
|
*/
|
|
86
98
|
export declare const Input: {
|
|
87
|
-
({ size, placeholder, icon: Icon, iconTrailing: IconTrailing, label, supportingText, hint, shortcut, hideRequiredIndicator, className, ref, groupRef, tooltip, iconClassName, inputClassName, wrapperClassName, tooltipClassName, inputType, customStyles, containerStyles, trailingAction, trailingIconCount, mode, isDisabled, isInvalid, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
99
|
+
({ size, placeholder, icon: Icon, iconTrailing: IconTrailing, label, supportingText, hint, shortcut, hideRequiredIndicator, className, ref, groupRef, tooltip, iconClassName, inputClassName, wrapperClassName, tooltipClassName, inputType, customStyles, containerStyles, trailingAction, trailingSlot, trailingIconCount, mode, isDisabled, isInvalid, showInfoIcon, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
88
100
|
displayName: string;
|
|
89
101
|
};
|
|
90
102
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/primitives/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,IAAI,kBAAkB,EACrC,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAqB3E,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,+CAA+C;IAC/C,IAAI,CAA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