@pibit.ai/cure-design-system 0.6.14 → 0.6.15
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 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44 -39
- package/dist/patterns/tabs/index.d.ts +2 -0
- package/dist/patterns/tabs/index.d.ts.map +1 -0
- package/dist/patterns/tabs/tabs.d.ts +42 -0
- package/dist/patterns/tabs/tabs.d.ts.map +1 -0
- package/dist/patterns/tabs/tabs.js +217 -0
- package/dist/styles/components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { Accordion, AccordionGroup, type AccordionProps, type AccordionGroupProp
|
|
|
28
28
|
export { DialogTrigger, ModalOverlay, Modal, Dialog, ModalWrapper, type ModalOverlayProps, type ModalProps, type DialogProps, type ModalWrapperProps, } from './patterns/modal';
|
|
29
29
|
export { Drawer, type DrawerProps } from './patterns/drawer';
|
|
30
30
|
export { ExpandableRightDrawer, type ExpandableRightDrawerProps, type ExpandableRightDrawerState, } from './patterns/expandable-drawer';
|
|
31
|
+
export { Tabs, TabList, Tab, TabPanel, type TabListComponentProps, type TabComponentProps, } from './patterns/tabs';
|
|
31
32
|
export { ClickAwayListener, type ClickAwayListenerProps, shouldIgnorePortaledOverlayClickFromRoot, REACT_ARIA_POPOVER_SELECTOR, } from './patterns/click-away';
|
|
32
33
|
export { cn, cx, sortCx } from './utils/cn';
|
|
33
34
|
export { getShortcutLabel, getPlatformShortcutLabel, type ShortcutModifier, } from './utils/keyboard-shortcut';
|
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,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,KAAK,IAAI,cAAc,EAC5B,KAAK,WA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,EACrB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,GAAG,EACH,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,wCAAwC,EACxC,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAG/B,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
|
@@ -4,8 +4,8 @@ import { CustomIcon as p } from "./primitives/custom-icon/custom-icon.js";
|
|
|
4
4
|
import { BRAND_ICONS as i, FIGMA_ICONS as x, FILLED_ICONS as f, FIXED_ICONS as l, ICONS as a, ICON_STYLE as n, MIXED_ICONS as d, OUTLINED_ICONS as s } from "./primitives/custom-icon/registry.js";
|
|
5
5
|
import { Activity as S } from "./primitives/custom-icon/icons/activity.js";
|
|
6
6
|
import { ActivityIcon as u } from "./primitives/custom-icon/icons/activity-icon.js";
|
|
7
|
-
import { ActivityIcon16x16 as
|
|
8
|
-
import { ActivityOutline as
|
|
7
|
+
import { ActivityIcon16x16 as b } from "./primitives/custom-icon/icons/activity-icon-16x16.js";
|
|
8
|
+
import { ActivityOutline as h } from "./primitives/custom-icon/icons/activity-outline.js";
|
|
9
9
|
import { ActivitySolid as R } from "./primitives/custom-icon/icons/activity-solid.js";
|
|
10
10
|
import { Ai as w } from "./primitives/custom-icon/icons/ai.js";
|
|
11
11
|
import { AiAgents as B } from "./primitives/custom-icon/icons/ai-agents.js";
|
|
@@ -31,7 +31,7 @@ import { Bill02 as no } from "./primitives/custom-icon/icons/bill-02.js";
|
|
|
31
31
|
import { Bill0218x23 as co } from "./primitives/custom-icon/icons/bill-02-18x23.js";
|
|
32
32
|
import { Bill03 as Co } from "./primitives/custom-icon/icons/bill-03.js";
|
|
33
33
|
import { BookmarkSolid as go } from "./primitives/custom-icon/icons/bookmark-solid.js";
|
|
34
|
-
import { Branch as
|
|
34
|
+
import { Branch as To } from "./primitives/custom-icon/icons/branch.js";
|
|
35
35
|
import { Branch01 as Ao } from "./primitives/custom-icon/icons/branch-01.js";
|
|
36
36
|
import { Branch02 as Io } from "./primitives/custom-icon/icons/branch-02.js";
|
|
37
37
|
import { Break as Do } from "./primitives/custom-icon/icons/break.js";
|
|
@@ -58,7 +58,7 @@ import { CollapseLeft as dr } from "./primitives/custom-icon/icons/collapse-left
|
|
|
58
58
|
import { CollapseRight as cr } from "./primitives/custom-icon/icons/collapse-right.js";
|
|
59
59
|
import { Compare as Cr } from "./primitives/custom-icon/icons/compare.js";
|
|
60
60
|
import { Condition as gr } from "./primitives/custom-icon/icons/condition.js";
|
|
61
|
-
import { Continue as
|
|
61
|
+
import { Continue as Tr } from "./primitives/custom-icon/icons/continue.js";
|
|
62
62
|
import { Csv as Ar } from "./primitives/custom-icon/icons/csv.js";
|
|
63
63
|
import { CustomEndpoint as Ir } from "./primitives/custom-icon/icons/custom-endpoint.js";
|
|
64
64
|
import { Dots as Dr } from "./primitives/custom-icon/icons/dots.js";
|
|
@@ -85,7 +85,7 @@ import { Foresight as de } from "./primitives/custom-icon/icons/foresight.js";
|
|
|
85
85
|
import { Formula as ce } from "./primitives/custom-icon/icons/formula.js";
|
|
86
86
|
import { FunnelChart as Ce } from "./primitives/custom-icon/icons/funnel-chart.js";
|
|
87
87
|
import { Gmail as ge } from "./primitives/custom-icon/icons/gmail.js";
|
|
88
|
-
import { GmailBig as
|
|
88
|
+
import { GmailBig as Te } from "./primitives/custom-icon/icons/gmail-big.js";
|
|
89
89
|
import { Google as Ae } from "./primitives/custom-icon/icons/google.js";
|
|
90
90
|
import { GoogleChat as Ie } from "./primitives/custom-icon/icons/google-chat.js";
|
|
91
91
|
import { Grid04 as De } from "./primitives/custom-icon/icons/grid-04.js";
|
|
@@ -112,7 +112,7 @@ import { Medium as dt } from "./primitives/custom-icon/icons/medium.js";
|
|
|
112
112
|
import { MediumAlert02 as ct } from "./primitives/custom-icon/icons/medium-alert-02.js";
|
|
113
113
|
import { MediumAlert1 as Ct } from "./primitives/custom-icon/icons/medium-alert-1.js";
|
|
114
114
|
import { MessageDotsSquareOutline as gt } from "./primitives/custom-icon/icons/message-dots-square-outline.js";
|
|
115
|
-
import { MessageDotsSquareSolid as
|
|
115
|
+
import { MessageDotsSquareSolid as Tt } from "./primitives/custom-icon/icons/message-dots-square-solid.js";
|
|
116
116
|
import { Microsoft as At } from "./primitives/custom-icon/icons/microsoft.js";
|
|
117
117
|
import { MicrosoftOutlook as It } from "./primitives/custom-icon/icons/microsoft-outlook.js";
|
|
118
118
|
import { Mocked as Dt } from "./primitives/custom-icon/icons/mocked.js";
|
|
@@ -139,7 +139,7 @@ import { Queue as dp } from "./primitives/custom-icon/icons/queue.js";
|
|
|
139
139
|
import { QueueColored as cp } from "./primitives/custom-icon/icons/queue-colored.js";
|
|
140
140
|
import { Radio as Cp } from "./primitives/custom-icon/icons/radio.js";
|
|
141
141
|
import { ReorderDots as gp } from "./primitives/custom-icon/icons/reorder-dots.js";
|
|
142
|
-
import { ReorderDots8x14 as
|
|
142
|
+
import { ReorderDots8x14 as Tp } from "./primitives/custom-icon/icons/reorder-dots-8x14.js";
|
|
143
143
|
import { ReorderDotsNew as Ap } from "./primitives/custom-icon/icons/reorder-dots-new.js";
|
|
144
144
|
import { ResearchCure as Ip } from "./primitives/custom-icon/icons/research-cure.js";
|
|
145
145
|
import { Resize as Dp } from "./primitives/custom-icon/icons/resize.js";
|
|
@@ -166,7 +166,7 @@ import { StopCircle as dm } from "./primitives/custom-icon/icons/stop-circle.js"
|
|
|
166
166
|
import { StopCircleSolid as cm } from "./primitives/custom-icon/icons/stop-circle-solid.js";
|
|
167
167
|
import { Submission as Cm } from "./primitives/custom-icon/icons/submission.js";
|
|
168
168
|
import { Summary as gm } from "./primitives/custom-icon/icons/summary.js";
|
|
169
|
-
import { Swap as
|
|
169
|
+
import { Swap as Tm } from "./primitives/custom-icon/icons/swap.js";
|
|
170
170
|
import { SyncWorkflow as Am } from "./primitives/custom-icon/icons/sync-workflow.js";
|
|
171
171
|
import { TestTube as Im } from "./primitives/custom-icon/icons/test-tube.js";
|
|
172
172
|
import { ThumbsDown as Dm } from "./primitives/custom-icon/icons/thumbs-down.js";
|
|
@@ -191,7 +191,7 @@ import { DateInput as fi } from "./applications/date-picker/date-input.js";
|
|
|
191
191
|
import { RangePresetButton as ai } from "./applications/date-picker/range-preset.js";
|
|
192
192
|
import { TimeField as di } from "./applications/date-picker/time-field.js";
|
|
193
193
|
import { TimeList as ci } from "./applications/date-picker/time-list.js";
|
|
194
|
-
import { PRESET_LABELS as Ci, cloneDateRange as ui, detectDateRangePresetKey as gi, getDateRangeFromPresetKey as
|
|
194
|
+
import { PRESET_LABELS as Ci, cloneDateRange as ui, detectDateRangePresetKey as gi, getDateRangeFromPresetKey as bi, getDateRangePresets as Ti, resolveDateRangePreset as hi } from "./applications/date-picker/date-range-presets.js";
|
|
195
195
|
import { cn as Ri, cx as Ii, sortCx as wi } from "./utils/cn.js";
|
|
196
196
|
import { getPlatformShortcutLabel as Bi, getShortcutLabel as Fi } from "./utils/keyboard-shortcut.js";
|
|
197
197
|
import { isClassComponent as Oi, isForwardRefComponent as ki, isFunctionComponent as Pi, isReactComponent as Li } from "./utils/is-react-component.js";
|
|
@@ -206,7 +206,7 @@ import { Checkbox as rx, CheckboxBase as ex } from "./primitives/checkbox/checkb
|
|
|
206
206
|
import { TextArea as px, TextAreaBase as mx } from "./primitives/textarea/textarea.js";
|
|
207
207
|
import { Toggle as xx } from "./primitives/toggle/toggle.js";
|
|
208
208
|
import { RadioButton as lx, RadioButtonBase as ax, RadioGroup as nx } from "./primitives/radio/radio.js";
|
|
209
|
-
import { Badge as sx, BadgeIcon as cx, BadgeWithButton as Sx, BadgeWithDot as Cx, BadgeWithFlag as ux, BadgeWithIcon as gx, BadgeWithImage as
|
|
209
|
+
import { Badge as sx, BadgeIcon as cx, BadgeWithButton as Sx, BadgeWithDot as Cx, BadgeWithFlag as ux, BadgeWithIcon as gx, BadgeWithImage as bx, filledColors as Tx } from "./primitives/badge/badge.js";
|
|
210
210
|
import { Avatar as Ax } from "./primitives/avatar/avatar.js";
|
|
211
211
|
import { Icon as Ix } from "./primitives/icon/icon.js";
|
|
212
212
|
import { Text as Dx } from "./primitives/text/text.js";
|
|
@@ -229,8 +229,8 @@ import { ScheduleCalendar as xf } from "./applications/schedule-calendar/schedul
|
|
|
229
229
|
import { WEEKDAYS as lf } from "./applications/schedule-calendar/types.js";
|
|
230
230
|
import { cellSetToSchedules as nf, formatHour as df, formatHourLabel as sf, mergeHoursToWindows as cf, schedulesToCellSet as Sf } from "./applications/schedule-calendar/utils.js";
|
|
231
231
|
import { LoadingIndicator as uf } from "./applications/loading-indicator/loading-indicator.js";
|
|
232
|
-
import { ProgressiveLoadingIndicator as
|
|
233
|
-
import { Table as
|
|
232
|
+
import { ProgressiveLoadingIndicator as bf } from "./applications/progressive-loading-indicator/progressive-loading-indicator.js";
|
|
233
|
+
import { Table as hf, TableCard as Af, TableCell as Rf, TableRowActionsDropdown as If } from "./patterns/table/table.js";
|
|
234
234
|
import { TableWrapper as Df } from "./patterns/table/TableWrapper.js";
|
|
235
235
|
import { TablePagination as Ff } from "./patterns/table/TablePagination.js";
|
|
236
236
|
import { PaginationCardDefault as Of } from "./patterns/table/pagination-card.js";
|
|
@@ -249,7 +249,7 @@ import { ColumnHeaderMenu as el } from "./patterns/table/toolbar/ColumnHeaderMen
|
|
|
249
249
|
import { RowActionsMenu as pl } from "./patterns/table/toolbar/RowActionsMenu.js";
|
|
250
250
|
import { BulkActionBar as il } from "./patterns/table/toolbar/BulkActionBar.js";
|
|
251
251
|
import { AGGREGATION_LABELS as fl, ROW_HEIGHT_CLASS as ll, alignmentClass as al, applyHideAndReorder as nl, computeAggregation as dl, getAggregationsForType as sl, getDefaultAlignmentForType as cl, getEffectiveAlignment as Sl, groupRows as Cl, resolveColumnLabel as ul } from "./patterns/table/toolbar/tableToolbarHelpers.js";
|
|
252
|
-
import { GridNavProvider as
|
|
252
|
+
import { GridNavProvider as bl, findGridCell as Tl, focusGridCell as hl, getGridNeighbor as Al, getGridTabNeighbor as Rl, isWithinCellEditor as Il, useGridKeyboardNavigation as wl } from "./patterns/table/useGridKeyboardNavigation.js";
|
|
253
253
|
import { CELL_SCROLL_PADDING_PX as Bl, computeCellScrollDelta as Fl, measureStickyInsets as El, scrollGridCellIntoView as Ol } from "./patterns/table/scrollCellIntoView.js";
|
|
254
254
|
import { MAX_HISTORY as Pl, TableUndoRedoProvider as Ll, useTableUndoRedo as yl, useTableUndoRedoScope as Nl } from "./patterns/table/useTableUndoRedo.js";
|
|
255
255
|
import { useIntegrateTableUndoRedo as Gl } from "./patterns/table/integrateTableUndoRedo.js";
|
|
@@ -262,22 +262,23 @@ import { TableComponent as fa } from "./patterns/table-component/TableComponent.
|
|
|
262
262
|
import { buildTableComponentColumns as aa } from "./patterns/table-component/buildTableColumns.js";
|
|
263
263
|
import { TreeView as da, buildTreeViewNodes as sa } from "./patterns/tree-view/tree-view.js";
|
|
264
264
|
import { Accordion as Sa, AccordionGroup as Ca } from "./patterns/accordion/accordion.js";
|
|
265
|
-
import { Collapsible as ga, CollapsibleContent as
|
|
265
|
+
import { Collapsible as ga, CollapsibleContent as ba, CollapsibleTrigger as Ta } from "./patterns/accordion/collapsible.js";
|
|
266
266
|
import { ExpandableCard as Aa } from "./patterns/accordion/expandable-card.js";
|
|
267
267
|
import { Dialog as Ia, DialogTrigger as wa, Modal as Da, ModalOverlay as Ba } from "./patterns/modal/modal.js";
|
|
268
268
|
import { ModalWrapper as Ea } from "./patterns/modal/modal-wrapper.js";
|
|
269
269
|
import { Drawer as ka } from "./patterns/drawer/drawer.js";
|
|
270
270
|
import { ExpandableRightDrawer as La } from "./patterns/expandable-drawer/expandable-drawer.js";
|
|
271
|
-
import {
|
|
272
|
-
import {
|
|
271
|
+
import { Tab as Na, TabList as Ma, TabPanel as Ga, Tabs as Wa } from "./patterns/tabs/tabs.js";
|
|
272
|
+
import { ClickAwayListener as va } from "./patterns/click-away/click-away-listener.js";
|
|
273
|
+
import { REACT_ARIA_POPOVER_SELECTOR as Ua, shouldIgnorePortaledOverlayClickFromRoot as Va } from "./patterns/click-away/overlay-click-guards.js";
|
|
273
274
|
export {
|
|
274
275
|
fl as AGGREGATION_LABELS,
|
|
275
276
|
Sa as Accordion,
|
|
276
277
|
Ca as AccordionGroup,
|
|
277
278
|
S as Activity,
|
|
278
279
|
u as ActivityIcon,
|
|
279
|
-
|
|
280
|
-
|
|
280
|
+
b as ActivityIcon16x16,
|
|
281
|
+
h as ActivityOutline,
|
|
281
282
|
R as ActivitySolid,
|
|
282
283
|
w as Ai,
|
|
283
284
|
B as AiAgents,
|
|
@@ -300,7 +301,7 @@ export {
|
|
|
300
301
|
Cx as BadgeWithDot,
|
|
301
302
|
ux as BadgeWithFlag,
|
|
302
303
|
gx as BadgeWithIcon,
|
|
303
|
-
|
|
304
|
+
bx as BadgeWithImage,
|
|
304
305
|
Q as BarChart13,
|
|
305
306
|
J as BarLineChart02,
|
|
306
307
|
$ as Beaker03,
|
|
@@ -313,7 +314,7 @@ export {
|
|
|
313
314
|
co as Bill0218x23,
|
|
314
315
|
Co as Bill03,
|
|
315
316
|
go as BookmarkSolid,
|
|
316
|
-
|
|
317
|
+
To as Branch,
|
|
317
318
|
Ao as Branch01,
|
|
318
319
|
Io as Branch02,
|
|
319
320
|
Do as Break,
|
|
@@ -339,7 +340,7 @@ export {
|
|
|
339
340
|
Zo as Checklist,
|
|
340
341
|
or as ChecklistSolid,
|
|
341
342
|
er as ClearCure,
|
|
342
|
-
|
|
343
|
+
va as ClickAwayListener,
|
|
343
344
|
pr as ClipboardPlusSolid,
|
|
344
345
|
ir as ClipboardSolid,
|
|
345
346
|
fr as CodeNode,
|
|
@@ -347,13 +348,13 @@ export {
|
|
|
347
348
|
dr as CollapseLeft,
|
|
348
349
|
cr as CollapseRight,
|
|
349
350
|
ga as Collapsible,
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
ba as CollapsibleContent,
|
|
352
|
+
Ta as CollapsibleTrigger,
|
|
352
353
|
el as ColumnHeaderMenu,
|
|
353
354
|
Ux as ComboBox,
|
|
354
355
|
Cr as Compare,
|
|
355
356
|
gr as Condition,
|
|
356
|
-
|
|
357
|
+
Tr as Continue,
|
|
357
358
|
Ar as Csv,
|
|
358
359
|
Ir as CustomEndpoint,
|
|
359
360
|
p as CustomIcon,
|
|
@@ -397,11 +398,11 @@ export {
|
|
|
397
398
|
ce as Formula,
|
|
398
399
|
Ce as FunnelChart,
|
|
399
400
|
ge as Gmail,
|
|
400
|
-
|
|
401
|
+
Te as GmailBig,
|
|
401
402
|
Ae as Google,
|
|
402
403
|
Ie as GoogleChat,
|
|
403
404
|
De as Grid04,
|
|
404
|
-
|
|
405
|
+
bl as GridNavProvider,
|
|
405
406
|
Fe as GridPlus,
|
|
406
407
|
Oe as GroupBy,
|
|
407
408
|
jf as GroupByDropdown,
|
|
@@ -438,7 +439,7 @@ export {
|
|
|
438
439
|
ct as MediumAlert02,
|
|
439
440
|
Ct as MediumAlert1,
|
|
440
441
|
gt as MessageDotsSquareOutline,
|
|
441
|
-
|
|
442
|
+
Tt as MessageDotsSquareSolid,
|
|
442
443
|
At as Microsoft,
|
|
443
444
|
It as MicrosoftOutlook,
|
|
444
445
|
Dt as Mocked,
|
|
@@ -472,10 +473,10 @@ export {
|
|
|
472
473
|
fp as PlusCircleSolid,
|
|
473
474
|
Mx as Popover,
|
|
474
475
|
ap as Primespecialty,
|
|
475
|
-
|
|
476
|
+
bf as ProgressiveLoadingIndicator,
|
|
476
477
|
dp as Queue,
|
|
477
478
|
cp as QueueColored,
|
|
478
|
-
|
|
479
|
+
Ua as REACT_ARIA_POPOVER_SELECTOR,
|
|
479
480
|
ll as ROW_HEIGHT_CLASS,
|
|
480
481
|
yf as ROW_HEIGHT_ICONS,
|
|
481
482
|
Cp as Radio,
|
|
@@ -485,7 +486,7 @@ export {
|
|
|
485
486
|
pi as RangeCalendar,
|
|
486
487
|
ai as RangePresetButton,
|
|
487
488
|
gp as ReorderDots,
|
|
488
|
-
|
|
489
|
+
Tp as ReorderDots8x14,
|
|
489
490
|
Ap as ReorderDotsNew,
|
|
490
491
|
Ip as ResearchCure,
|
|
491
492
|
Dp as Resize,
|
|
@@ -526,10 +527,13 @@ export {
|
|
|
526
527
|
Cm as Submission,
|
|
527
528
|
gm as Summary,
|
|
528
529
|
ol as SummaryFooterRow,
|
|
529
|
-
|
|
530
|
+
Tm as Swap,
|
|
530
531
|
Am as SyncWorkflow,
|
|
531
532
|
Mf as TOOLBAR_ICONS,
|
|
532
|
-
|
|
533
|
+
Na as Tab,
|
|
534
|
+
Ma as TabList,
|
|
535
|
+
Ga as TabPanel,
|
|
536
|
+
hf as Table,
|
|
533
537
|
Af as TableCard,
|
|
534
538
|
Rf as TableCell,
|
|
535
539
|
fa as TableComponent,
|
|
@@ -539,6 +543,7 @@ export {
|
|
|
539
543
|
Ll as TableUndoRedoProvider,
|
|
540
544
|
oa as TableViewsDropdown,
|
|
541
545
|
Df as TableWrapper,
|
|
546
|
+
Wa as Tabs,
|
|
542
547
|
Im as TestTube,
|
|
543
548
|
Dx as Text,
|
|
544
549
|
px as TextArea,
|
|
@@ -581,14 +586,14 @@ export {
|
|
|
581
586
|
jx as createEllipsisContent,
|
|
582
587
|
Ii as cx,
|
|
583
588
|
gi as detectDateRangePresetKey,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
589
|
+
Tx as filledColors,
|
|
590
|
+
Tl as findGridCell,
|
|
591
|
+
hl as focusGridCell,
|
|
587
592
|
df as formatHour,
|
|
588
593
|
sf as formatHourLabel,
|
|
589
594
|
sl as getAggregationsForType,
|
|
590
|
-
|
|
591
|
-
|
|
595
|
+
bi as getDateRangeFromPresetKey,
|
|
596
|
+
Ti as getDateRangePresets,
|
|
592
597
|
cl as getDefaultAlignmentForType,
|
|
593
598
|
Sl as getEffectiveAlignment,
|
|
594
599
|
Al as getGridNeighbor,
|
|
@@ -611,11 +616,11 @@ export {
|
|
|
611
616
|
_f as pickCoreToolbarProps,
|
|
612
617
|
Uf as registerToolbarExtensions,
|
|
613
618
|
ul as resolveColumnLabel,
|
|
614
|
-
|
|
619
|
+
hi as resolveDateRangePreset,
|
|
615
620
|
Sf as schedulesToCellSet,
|
|
616
621
|
Ol as scrollGridCellIntoView,
|
|
617
622
|
ia as selectionFromSingleCell,
|
|
618
|
-
|
|
623
|
+
Va as shouldIgnorePortaledOverlayClickFromRoot,
|
|
619
624
|
Jl as snapshotFromViewRecord,
|
|
620
625
|
wi as sortCx,
|
|
621
626
|
pf as tagKeyFromLabel,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
import { TabListProps as AriaTabListProps, TabProps as AriaTabProps, TabRenderProps as AriaTabRenderProps, TabPanel as AriaTabPanel, Tabs as AriaTabs } from 'react-aria-components';
|
|
3
|
+
type Orientation = "horizontal" | "vertical";
|
|
4
|
+
type HorizontalTypes = "button-brand" | "button-gray" | "button-border" | "button-minimal" | "underline" | "button-curved";
|
|
5
|
+
type VerticalTypes = "button-brand" | "button-gray" | "button-border" | "button-minimal" | "line";
|
|
6
|
+
type TabTypeColors<T> = T extends "horizontal" ? HorizontalTypes : VerticalTypes;
|
|
7
|
+
declare const sizes: Record<"xs" | "sm" | "md", Partial<Record<HorizontalTypes | VerticalTypes, string>>>;
|
|
8
|
+
export interface TabListComponentProps<T extends object, K extends Orientation> extends AriaTabListProps<T> {
|
|
9
|
+
/** The size of the tab list. */
|
|
10
|
+
size?: keyof typeof sizes;
|
|
11
|
+
/** The type of the tab list. */
|
|
12
|
+
type?: TabTypeColors<K>;
|
|
13
|
+
/** The orientation of the tab list. */
|
|
14
|
+
orientation?: K;
|
|
15
|
+
/** The items of the tab list. */
|
|
16
|
+
items: T[];
|
|
17
|
+
/** Whether the tab list is full width. */
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const TabList: <T extends Orientation>({ size, type, orientation: orientationProp, fullWidth, className, children, items, ...otherProps }: TabListComponentProps<TabComponentProps, T>) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const TabPanel: (props: ComponentPropsWithRef<typeof AriaTabPanel>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export interface TabComponentProps extends AriaTabProps {
|
|
23
|
+
/** The label of the tab. */
|
|
24
|
+
label?: ReactNode;
|
|
25
|
+
/** The children of the tab. */
|
|
26
|
+
children?: ReactNode | ((props: AriaTabRenderProps) => ReactNode);
|
|
27
|
+
/** The badge displayed next to the label. */
|
|
28
|
+
badge?: number | string;
|
|
29
|
+
/** The badge displayed before the label. */
|
|
30
|
+
leadingBadge?: number | string;
|
|
31
|
+
/** The class name for the badge. */
|
|
32
|
+
badgeClassName?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const Tab: (props: TabComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare const Tabs: {
|
|
36
|
+
({ className, ...props }: ComponentPropsWithRef<typeof AriaTabs>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
Panel: (props: ComponentPropsWithRef<typeof AriaTabPanel>) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
List: <T extends Orientation>({ size, type, orientation: orientationProp, fullWidth, className, children, items, ...otherProps }: TabListComponentProps<TabComponentProps, T>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
Item: (props: TabComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/patterns/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,QAAQ,IAAI,YAAY,EACxB,cAAc,IAAI,kBAAkB,EACrC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,QAAQ,IAAI,YAAY,EACxB,IAAI,IAAI,QAAQ,EAGjB,MAAM,uBAAuB,CAAC;AAY/B,KAAK,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AAG7C,KAAK,eAAe,GAChB,cAAc,GACd,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,WAAW,GACX,eAAe,CAAC;AACpB,KAAK,aAAa,GAAG,cAAc,GAAG,aAAa,GAAG,eAAe,GAAG,gBAAgB,GAAG,MAAM,CAAC;AAClG,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,SAAS,YAAY,GAAG,eAAe,GAAG,aAAa,CAAC;AAsDjF,QAAA,MAAM,KAAK,EAAE,MAAM,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,GAAG,aAAa,EAAE,MAAM,CAAC,CAAC,CA2B/F,CAAC;AA0CF,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAA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-0,0 +1,217 @@
|
|
|
1
|
+
import { jsx as b, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as _, useContext as v, Fragment as T } from "react";
|
|
3
|
+
import { Tabs as w, useSlottedContext as z, TabsContext as N, TabList as C, Tab as B, TabPanel as L } from "react-aria-components";
|
|
4
|
+
import { cx as e } from "../../utils/cn.js";
|
|
5
|
+
import { Badge as p } from "../../primitives/badge/badge.js";
|
|
6
|
+
const P = ({ isFocusVisible: t, isSelected: n, isHovered: o, isDisabled: a }) => ({
|
|
7
|
+
"button-brand": e(
|
|
8
|
+
"outline-focus-ring",
|
|
9
|
+
t && "outline-2 -outline-offset-2",
|
|
10
|
+
n && "bg-brand-primary_alt text-[var(--color-brand-600)]",
|
|
11
|
+
o && "text-[var(--color-brand-600)]"
|
|
12
|
+
),
|
|
13
|
+
"button-gray": e(
|
|
14
|
+
"outline-focus-ring",
|
|
15
|
+
o && "bg-primary_hover text-secondary",
|
|
16
|
+
t && "outline-2 -outline-offset-2",
|
|
17
|
+
n && "bg-active text-secondary"
|
|
18
|
+
),
|
|
19
|
+
"button-border": e(
|
|
20
|
+
"outline-focus-ring",
|
|
21
|
+
(n || o) && "bg-primary_alt text-secondary shadow-sm",
|
|
22
|
+
t && "outline-2 -outline-offset-2"
|
|
23
|
+
),
|
|
24
|
+
"button-minimal": e(
|
|
25
|
+
"rounded-lg outline-focus-ring",
|
|
26
|
+
o && "text-secondary",
|
|
27
|
+
t && "outline-2 -outline-offset-2",
|
|
28
|
+
n && "bg-primary_alt text-secondary shadow-xs ring-1 ring-primary ring-inset"
|
|
29
|
+
),
|
|
30
|
+
underline: e(
|
|
31
|
+
"rounded-none outline-focus-ring",
|
|
32
|
+
n && "border-b-2 border-[var(--color-brand-600)] text-[var(--color-brand-600)]",
|
|
33
|
+
o && "text-[var(--color-brand-600)] border-transparent",
|
|
34
|
+
!a && "hover:border-[var(--color-brand-600)] hover:text-[var(--color-brand-600)]",
|
|
35
|
+
t && "outline-2 -outline-offset-2"
|
|
36
|
+
),
|
|
37
|
+
line: e(
|
|
38
|
+
"rounded-none border-l-2 border-transparent outline-focus-ring",
|
|
39
|
+
n && "border-fg-brand-primary_alt text-brand-secondary",
|
|
40
|
+
o && "text-brand-secondary",
|
|
41
|
+
t && "outline-2 -outline-offset-2"
|
|
42
|
+
),
|
|
43
|
+
"button-curved": e(
|
|
44
|
+
"rounded-none rounded-t-xl outline-focus-ring relative text-xs font-medium transition-all duration-200 ease-out",
|
|
45
|
+
"before:absolute before:-left-3 before:bottom-0 before:size-3 before:rounded-br-lg before:transition-shadow before:duration-200 before:ease-out",
|
|
46
|
+
"after:absolute after:-right-3 after:bottom-0 after:size-3 after:rounded-bl-lg after:transition-shadow after:duration-200 after:ease-out",
|
|
47
|
+
t && "outline-2 -outline-offset-2",
|
|
48
|
+
n && "bg-primary text-brand-tertiary z-10 font-semibold",
|
|
49
|
+
n && "before:shadow-[4px_4px_0_0_var(--color-bg-primary)]",
|
|
50
|
+
n && "after:shadow-[-4px_4px_0_0_var(--color-bg-primary)]",
|
|
51
|
+
!n && "before:shadow-[4px_4px_0_0_transparent] after:shadow-[-4px_4px_0_0_transparent]",
|
|
52
|
+
!n && !a && o && "bg-primary_hover text-primary"
|
|
53
|
+
)
|
|
54
|
+
}), j = {
|
|
55
|
+
xs: {
|
|
56
|
+
"button-brand": "text-xs font-semibold px-2",
|
|
57
|
+
"button-gray": "text-xs font-semibold px-2",
|
|
58
|
+
"button-border": "text-xs font-semibold px-2",
|
|
59
|
+
"button-minimal": "text-xs font-semibold px-2",
|
|
60
|
+
underline: "text-xs font-semibold px-1.5 pt-0",
|
|
61
|
+
line: "text-xs font-semibold pl-2.5 pr-2.5"
|
|
62
|
+
},
|
|
63
|
+
sm: {
|
|
64
|
+
"button-brand": "text-sm font-semibold py-2 px-3",
|
|
65
|
+
"button-gray": "text-sm font-semibold py-2 px-3",
|
|
66
|
+
"button-border": "text-sm font-semibold py-2 px-3",
|
|
67
|
+
"button-minimal": "text-sm font-semibold py-2 px-3",
|
|
68
|
+
underline: "text-sm font-semibold px-1 pb-2.5 pt-0",
|
|
69
|
+
line: "text-sm font-semibold pl-2.5 pr-3 py-0.5",
|
|
70
|
+
"button-curved": "py-2 px-4"
|
|
71
|
+
},
|
|
72
|
+
md: {
|
|
73
|
+
"button-brand": "text-md font-semibold py-2.5 px-3",
|
|
74
|
+
"button-gray": "text-md font-semibold py-2.5 px-3",
|
|
75
|
+
"button-border": "text-md font-semibold py-2.5 px-3",
|
|
76
|
+
"button-minimal": "text-md font-semibold py-2.5 px-3",
|
|
77
|
+
underline: "text-md font-semibold px-1 pb-2.5 pt-0",
|
|
78
|
+
line: "text-md font-semibold pr-3.5 pl-3 py-1",
|
|
79
|
+
"button-curved": "py-2.5 px-5"
|
|
80
|
+
}
|
|
81
|
+
}, $ = ({ size: t, fullWidth: n }) => ({
|
|
82
|
+
"button-brand": "gap-1",
|
|
83
|
+
"button-gray": "gap-1",
|
|
84
|
+
"button-border": e(
|
|
85
|
+
"gap-1 rounded-[10px] bg-secondary_alt p-1 ring-1 ring-secondary ring-inset",
|
|
86
|
+
t === "md" && "rounded-xl p-1.5"
|
|
87
|
+
),
|
|
88
|
+
"button-minimal": "gap-0.5 rounded-lg bg-secondary_alt ring-1 ring-inset ring-secondary",
|
|
89
|
+
underline: e("gap-3", n && "w-full gap-4"),
|
|
90
|
+
line: "gap-2",
|
|
91
|
+
"button-curved": "gap-0"
|
|
92
|
+
});
|
|
93
|
+
function I(t) {
|
|
94
|
+
return t.some((n) => {
|
|
95
|
+
if (!("badge" in n)) return !1;
|
|
96
|
+
const o = n.badge;
|
|
97
|
+
return o != null && String(o).length > 0;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
const k = {
|
|
101
|
+
xs: "!min-h-8",
|
|
102
|
+
sm: "!min-h-9",
|
|
103
|
+
md: "!min-h-10"
|
|
104
|
+
}, g = ({ isSelected: t, isHovered: n }) => ({
|
|
105
|
+
"button-brand": t || n ? "brand" : "gray",
|
|
106
|
+
"button-gray": "gray",
|
|
107
|
+
"button-border": "gray",
|
|
108
|
+
"button-minimal": "gray",
|
|
109
|
+
underline: t || n ? "brand" : "gray",
|
|
110
|
+
line: t || n ? "brand" : "gray",
|
|
111
|
+
"button-curved": "gray"
|
|
112
|
+
}), c = _({
|
|
113
|
+
size: "sm",
|
|
114
|
+
type: "button-brand",
|
|
115
|
+
reserveBadgeSlot: !1
|
|
116
|
+
}), A = ({
|
|
117
|
+
size: t = "sm",
|
|
118
|
+
type: n = "button-brand",
|
|
119
|
+
orientation: o,
|
|
120
|
+
fullWidth: a,
|
|
121
|
+
className: d,
|
|
122
|
+
children: m,
|
|
123
|
+
items: u,
|
|
124
|
+
...r
|
|
125
|
+
}) => {
|
|
126
|
+
const i = z(N), s = o ?? (i == null ? void 0 : i.orientation) ?? "horizontal", l = s === "horizontal" && n === "underline" && I(u);
|
|
127
|
+
return /* @__PURE__ */ b(c.Provider, { value: { size: t, type: n, orientation: s, fullWidth: a, reserveBadgeSlot: l }, children: /* @__PURE__ */ b(
|
|
128
|
+
C,
|
|
129
|
+
{
|
|
130
|
+
...r,
|
|
131
|
+
items: u,
|
|
132
|
+
className: (f) => e(
|
|
133
|
+
"group flex",
|
|
134
|
+
$({
|
|
135
|
+
size: t,
|
|
136
|
+
fullWidth: a
|
|
137
|
+
})[n],
|
|
138
|
+
s === "vertical" && "w-max flex-col",
|
|
139
|
+
// Only horizontal tabs with underline type have bottom border
|
|
140
|
+
s === "horizontal" && n === "underline" && "relative before:absolute before:inset-x-0 before:bottom-0 before:h-px before:bg-border-secondary",
|
|
141
|
+
typeof d == "function" ? d(f) : d
|
|
142
|
+
),
|
|
143
|
+
children: m ?? ((f) => /* @__PURE__ */ b(y, { ...f, children: f.children }))
|
|
144
|
+
}
|
|
145
|
+
) });
|
|
146
|
+
}, M = (t) => /* @__PURE__ */ b(
|
|
147
|
+
L,
|
|
148
|
+
{
|
|
149
|
+
...t,
|
|
150
|
+
className: (n) => e(
|
|
151
|
+
"outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
152
|
+
typeof t.className == "function" ? t.className(n) : t.className
|
|
153
|
+
)
|
|
154
|
+
}
|
|
155
|
+
), y = (t) => {
|
|
156
|
+
const { label: n, children: o, badge: a, leadingBadge: d, badgeClassName: m, ...u } = t, { size: r = "sm", type: i = "button-brand", fullWidth: s } = v(c);
|
|
157
|
+
return /* @__PURE__ */ b(
|
|
158
|
+
B,
|
|
159
|
+
{
|
|
160
|
+
...u,
|
|
161
|
+
className: (l) => e(
|
|
162
|
+
"z-10 flex h-max cursor-pointer items-center justify-center gap-1 rounded-md whitespace-nowrap text-secondary transition duration-100 ease-linear",
|
|
163
|
+
"group-orientation-vertical:justify-start",
|
|
164
|
+
s && "w-full flex-1",
|
|
165
|
+
k[r],
|
|
166
|
+
j[r][i],
|
|
167
|
+
P(l)[i],
|
|
168
|
+
typeof t.className == "function" ? t.className(l) : t.className
|
|
169
|
+
),
|
|
170
|
+
children: (l) => /* @__PURE__ */ h(T, { children: [
|
|
171
|
+
d && /* @__PURE__ */ b(
|
|
172
|
+
p,
|
|
173
|
+
{
|
|
174
|
+
size: r === "xs" ? "sm" : r,
|
|
175
|
+
type: "pill-color",
|
|
176
|
+
color: g(l)[i],
|
|
177
|
+
className: e("hidden transition-inherit-all md:flex", r === "sm" && "-my-px", m),
|
|
178
|
+
children: d
|
|
179
|
+
}
|
|
180
|
+
),
|
|
181
|
+
typeof o == "function" ? o(l) : o || n,
|
|
182
|
+
a && /* @__PURE__ */ b(
|
|
183
|
+
p,
|
|
184
|
+
{
|
|
185
|
+
size: r === "xs" ? "sm" : r,
|
|
186
|
+
type: "pill-color",
|
|
187
|
+
color: g(l)[i],
|
|
188
|
+
className: e("hidden transition-inherit-all md:flex", r === "sm" && "-my-px"),
|
|
189
|
+
children: a
|
|
190
|
+
}
|
|
191
|
+
)
|
|
192
|
+
] })
|
|
193
|
+
}
|
|
194
|
+
);
|
|
195
|
+
}, x = ({ className: t, ...n }) => /* @__PURE__ */ b(
|
|
196
|
+
w,
|
|
197
|
+
{
|
|
198
|
+
keyboardActivation: "manual",
|
|
199
|
+
...n,
|
|
200
|
+
className: (o) => e(
|
|
201
|
+
// RAC marks the root `data-focus-visible` whenever anything inside it has keyboard focus, and the
|
|
202
|
+
// design system's global `[data-focus-visible]` outline would ring the whole tab section.
|
|
203
|
+
// The focused tab or control draws its own ring.
|
|
204
|
+
"flex w-full flex-col outline-hidden",
|
|
205
|
+
typeof t == "function" ? t(o) : t
|
|
206
|
+
)
|
|
207
|
+
}
|
|
208
|
+
);
|
|
209
|
+
x.Panel = M;
|
|
210
|
+
x.List = A;
|
|
211
|
+
x.Item = y;
|
|
212
|
+
export {
|
|
213
|
+
y as Tab,
|
|
214
|
+
A as TabList,
|
|
215
|
+
M as TabPanel,
|
|
216
|
+
x as Tabs
|
|
217
|
+
};
|