@storepass/components 0.11.0 → 0.12.0
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/CHANGELOG.md +32 -0
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AlertDialog/index.js +1 -1
- package/dist/components/AttachmentTile/AttachmentTile.d.ts +21 -0
- package/dist/components/AttachmentTile/AttachmentTile.d.ts.map +1 -0
- package/dist/components/AttachmentTile/index.d.ts +3 -0
- package/dist/components/AttachmentTile/index.d.ts.map +1 -0
- package/dist/components/AttachmentTile/index.js +1 -0
- package/dist/components/AttachmentTile/samples.d.ts +4 -0
- package/dist/components/AttachmentTile/samples.d.ts.map +1 -0
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/ChannelMark/ChannelMark.d.ts +31 -0
- package/dist/components/ChannelMark/ChannelMark.d.ts.map +1 -0
- package/dist/components/ChannelMark/index.d.ts +3 -0
- package/dist/components/ChannelMark/index.d.ts.map +1 -0
- package/dist/components/ChannelMark/index.js +1 -0
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/Combobox/Combobox.d.ts +8 -1
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Command/index.js +1 -1
- package/dist/components/DataGrid/DataGrid.d.ts +6 -1
- package/dist/components/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/index.d.ts +1 -1
- package/dist/components/DataGrid/index.d.ts.map +1 -1
- package/dist/components/DataGrid/index.js +1 -1
- package/dist/components/DataGrid/parts.d.ts +2 -10
- package/dist/components/DataGrid/parts.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/DropdownMenu/index.js +1 -1
- package/dist/components/FeaturedIcon/FeaturedIcon.d.ts +1 -1
- package/dist/components/FeaturedIcon/index.js +1 -1
- package/dist/components/Field/index.js +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Gloss/index.js +1 -1
- package/dist/components/ImperativeDialog/index.js +1 -1
- package/dist/components/InlineAlert/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputGroup/index.js +1 -1
- package/dist/components/Item/Item.d.ts +8 -2
- package/dist/components/Item/Item.d.ts.map +1 -1
- package/dist/components/Item/index.js +1 -1
- package/dist/components/Kbd/Kbd.d.ts +9 -4
- package/dist/components/Kbd/Kbd.d.ts.map +1 -1
- package/dist/components/Kbd/index.d.ts +1 -1
- package/dist/components/Kbd/index.d.ts.map +1 -1
- package/dist/components/Kbd/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Lightbox/Lightbox.d.ts +36 -0
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -0
- package/dist/components/Lightbox/index.d.ts +3 -0
- package/dist/components/Lightbox/index.d.ts.map +1 -0
- package/dist/components/Lightbox/index.js +1 -0
- package/dist/components/LoadingIndicator/index.js +1 -1
- package/dist/components/MoneyAmount/index.js +1 -1
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/PageHeading/index.js +1 -1
- package/dist/components/PageLayout/PageLayout.d.ts +15 -4
- package/dist/components/PageLayout/PageLayout.d.ts.map +1 -1
- package/dist/components/PageLayout/index.js +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/PinInput/index.js +1 -1
- package/dist/components/PriorityGlyph/PriorityGlyph.d.ts +14 -0
- package/dist/components/PriorityGlyph/PriorityGlyph.d.ts.map +1 -0
- package/dist/components/PriorityGlyph/index.d.ts +3 -0
- package/dist/components/PriorityGlyph/index.d.ts.map +1 -0
- package/dist/components/PriorityGlyph/index.js +1 -0
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/PropertyList/PropertyList.d.ts +23 -0
- package/dist/components/PropertyList/PropertyList.d.ts.map +1 -0
- package/dist/components/PropertyList/index.d.ts +3 -0
- package/dist/components/PropertyList/index.d.ts.map +1 -0
- package/dist/components/PropertyList/index.js +1 -0
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/index.js +1 -1
- package/dist/components/SegmentedBar/SegmentedBar.d.ts +38 -0
- package/dist/components/SegmentedBar/SegmentedBar.d.ts.map +1 -0
- package/dist/components/SegmentedBar/index.d.ts +3 -0
- package/dist/components/SegmentedBar/index.d.ts.map +1 -0
- package/dist/components/SegmentedBar/index.js +1 -0
- package/dist/components/Select/Select.d.ts +12 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SelectionBar/SelectionBar.d.ts +21 -0
- package/dist/components/SelectionBar/SelectionBar.d.ts.map +1 -0
- package/dist/components/SelectionBar/index.d.ts +3 -0
- package/dist/components/SelectionBar/index.d.ts.map +1 -0
- package/dist/components/SelectionBar/index.js +1 -0
- package/dist/components/Settings/index.js +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/StatusGlyph/StatusGlyph.d.ts +16 -0
- package/dist/components/StatusGlyph/StatusGlyph.d.ts.map +1 -0
- package/dist/components/StatusGlyph/index.d.ts +3 -0
- package/dist/components/StatusGlyph/index.d.ts.map +1 -0
- package/dist/components/StatusGlyph/index.js +1 -0
- package/dist/components/StoreMark/StoreMark.d.ts +20 -0
- package/dist/components/StoreMark/StoreMark.d.ts.map +1 -0
- package/dist/components/StoreMark/index.d.ts +3 -0
- package/dist/components/StoreMark/index.d.ts.map +1 -0
- package/dist/components/StoreMark/index.js +1 -0
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Tags/index.js +1 -1
- package/dist/components/Text/Text.d.ts +6 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/Timeline/Timeline.d.ts +41 -0
- package/dist/components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Timeline/index.d.ts +3 -0
- package/dist/components/Timeline/index.d.ts.map +1 -0
- package/dist/components/Timeline/index.js +1 -0
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/VideoDialog/index.js +1 -1
- package/dist/components/index.d.ts +13 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{index-x9yyqbag.js → index-1gzpzh5t.js} +2 -1
- package/dist/{index-btrjpbf0.js → index-1ynppxbf.js} +1 -1
- package/dist/{index-sa2fhqmg.js → index-1zn26rm0.js} +1 -1
- package/dist/{index-28r5n8va.js → index-2bx179yg.js} +2 -2
- package/dist/index-2sb8sfkr.js +1 -0
- package/dist/index-4td693zs.js +1 -0
- package/dist/index-4xvkpp4n.js +1 -0
- package/dist/{index-e2qpmwm0.js → index-59j1m424.js} +1 -1
- package/dist/index-6ec69xw0.js +1 -0
- package/dist/{index-z7zfxcfn.js → index-6r8b9409.js} +1 -1
- package/dist/index-6zm0by24.js +0 -0
- package/dist/index-7mpwp5xv.js +1 -0
- package/dist/{index-8v02yjey.js → index-7v1pywv9.js} +1 -1
- package/dist/index-7v4th5b3.js +1 -0
- package/dist/index-8snw3y6n.js +2 -0
- package/dist/{index-1agre0v0.js → index-8tj7zxwa.js} +1 -1
- package/dist/{index-mjctsyth.js → index-8wvydyjs.js} +1 -1
- package/dist/{index-hry049ac.js → index-8yd11hy6.js} +1 -1
- package/dist/index-97a7bb0r.js +1 -0
- package/dist/index-99sw4wym.js +2 -0
- package/dist/{index-7q5wec23.js → index-9brc3ptc.js} +1 -1
- package/dist/{index-hxhdvn3e.js → index-9v3g23r1.js} +1 -1
- package/dist/index-a91ybn6n.js +1 -0
- package/dist/index-aes3kp39.js +1 -0
- package/dist/index-asp78vex.js +1 -0
- package/dist/index-bdntmxp6.js +2 -0
- package/dist/{index-bg95jsxm.js → index-by6675v6.js} +1 -1
- package/dist/index-c59g8a08.js +2 -0
- package/dist/{index-6gvd2ynz.js → index-c6h79vjj.js} +1 -1
- package/dist/{index-pzh8d83t.js → index-cp025c53.js} +2 -2
- package/dist/{index-y95jdge3.js → index-dk463fx7.js} +1 -1
- package/dist/{index-sxb6zpep.js → index-dm4hxxz7.js} +1 -1
- package/dist/{index-zj7kmq1m.js → index-dpxxm8rv.js} +1 -1
- package/dist/index-dtxrma97.js +1 -0
- package/dist/index-e7jz2cgk.js +1 -0
- package/dist/{index-ss8rwc9c.js → index-edjnhay3.js} +1 -1
- package/dist/index-epcrxzfb.js +0 -0
- package/dist/index-gdxh42rh.js +1 -0
- package/dist/{index-jmgr1tsg.js → index-gjmxrp9t.js} +2 -2
- package/dist/index-h8j7nvmr.js +1 -0
- package/dist/index-hce9z4py.js +1 -0
- package/dist/{index-5y88d39f.js → index-hjzka0tz.js} +1 -1
- package/dist/index-jj59rx1e.js +2 -0
- package/dist/{index-gq1jxb1f.js → index-jjdmynhb.js} +1 -1
- package/dist/{index-vgk9tz36.js → index-jjky9e4z.js} +2 -2
- package/dist/{index-00qsv7pj.js → index-k2xxt1f8.js} +1 -1
- package/dist/index-na040vfb.js +1 -0
- package/dist/{index-75qh8kwe.js → index-nn7tq9c3.js} +1 -1
- package/dist/{index-62kszkpb.js → index-nq0q0kpx.js} +1 -1
- package/dist/{index-45kmz56r.js → index-nsnn9f22.js} +1 -1
- package/dist/{index-q6z2b45d.js → index-pam5eevk.js} +1 -1
- package/dist/index-pztt65br.js +1 -0
- package/dist/index-r2eq1jre.js +1 -0
- package/dist/{index-fc2g0vz9.js → index-r43cvdya.js} +2 -2
- package/dist/{index-wd50wk2c.js → index-rqey8xyw.js} +1 -1
- package/dist/{index-sqtmbcbp.js → index-s8ar1n5s.js} +1 -1
- package/dist/index-sc6nwppj.js +2 -0
- package/dist/{index-fk9x94r9.js → index-sswgcxb4.js} +1 -1
- package/dist/{index-9jj1w35s.js → index-tbfcsp8h.js} +1 -1
- package/dist/{index-w72c8pg5.js → index-tc4xm4an.js} +1 -1
- package/dist/{index-ycrpc70v.js → index-tfgz31nt.js} +1 -1
- package/dist/index-v0d4dp5m.js +1 -0
- package/dist/index-vdb4kfwe.js +1 -0
- package/dist/index-wpk5v3xc.js +0 -0
- package/dist/{index-w7ts46v6.js → index-x0t6yrzd.js} +1 -1
- package/dist/{index-3chvgb4p.js → index-yad75gh5.js} +1 -1
- package/dist/{index-5b0vrr4q.js → index-yfdhvead.js} +1 -1
- package/dist/index-yss2zh1y.js +121 -0
- package/dist/{index-y0mt47eb.js → index-yxa7p7wv.js} +2 -2
- package/dist/{index-mpdbpnhf.js → index-z123sdkd.js} +1 -1
- package/dist/index-zk41thzz.js +1 -0
- package/dist/{index-v9mve46d.js → index-zvtymdjx.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/fileKind.d.ts +8 -0
- package/dist/lib/fileKind.d.ts.map +1 -0
- package/dist/lib/formatCount.d.ts +3 -0
- package/dist/lib/formatCount.d.ts.map +1 -0
- package/dist/lib/identityColor.d.ts +13 -0
- package/dist/lib/identityColor.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/index-03xa0td2.js +0 -1
- package/dist/index-1kdxtj79.js +0 -1
- package/dist/index-4be8n52b.js +0 -1
- package/dist/index-4c3thh1p.js +0 -1
- package/dist/index-awfv2934.js +0 -1
- package/dist/index-c2pmyt0a.js +0 -1
- package/dist/index-ebgg8a00.js +0 -1
- package/dist/index-ep6t5tym.js +0 -1
- package/dist/index-hkpqfry5.js +0 -1
- package/dist/index-kgykbm8w.js +0 -122
- package/dist/index-mzzd2be6.js +0 -1
- package/dist/index-qra72x1g.js +0 -1
- package/dist/index-typh2g40.js +0 -2
- package/dist/index-xkwn4npc.js +0 -2
- package/dist/index-yc95hvvz.js +0 -1
- package/dist/index-ymwgb6kd.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.0
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `SegmentedBar` shows a total broken into parts as one bar, with an optional legend (`legend="list"` or `"inline"`) and counts. Every non-zero segment is at least 4px wide. `max` shows the uncovered remainder as empty track. Tones match Progress, plus `neutral` and `muted`.
|
|
8
|
+
- `Timeline` and `TimelineItem` list events with a 20px icon or dot node, a connector line, a title, secondary text and a trailing time. Tones are `neutral`, `brand`, `success`, `warning`, `error` and `info`. `TimelineItem` also takes a `node` (an Avatar is sized to fit), a `badge` after the title, and `children` as a body under the title row, for comment lists such as a ticket's activity.
|
|
9
|
+
- `ChannelMark` is a 20px or 24px sales-channel tile. It shows the channel's initial or a logo passed as children, with an optional status dot and a dashed `off` state.
|
|
10
|
+
- `SelectionBar` is the "N selected" bar, now its own component: `count`, `summary`, `actions`, `onClear` and `sticky`. It renders nothing at 0. DataGrid uses it.
|
|
11
|
+
- `PropertyList` and `PropertyListItem` lay out labels and values with no card. The label column is shared (`labelWidth`, default `8rem`), and each row has an 18px icon slot.
|
|
12
|
+
- `StatusGlyph` (`stage`: backlog, todo, attention, planned, started, waiting, blocked, review or done) and `PriorityGlyph` (`value` 1 to 5, or nothing for not set).
|
|
13
|
+
- `StoreMark` shows a store as a gradient name badge (`variant="badge"`) or an 18px initials tile (`variant="tile"`). Its color comes from `storeId`.
|
|
14
|
+
- `AttachmentTile` is a 128 by 88 tile for one file. It shows an image preview, or the file-type icon with type and size, and the name sits underneath. `locked` and `commented` add corner marks.
|
|
15
|
+
- `Lightbox` is a full-screen viewer for a set of files, built on VideoDialog and Carousel. It has previous and next buttons, arrow keys, swipe, a thumbnail strip, and download, open-in-new-tab and close actions. Files the browser can't show get their type, size and a Download button. It works controlled (`index`, `onIndexChange`) or uncontrolled (`defaultIndex`).
|
|
16
|
+
- Badge takes `variant="error"`, a soft error badge like the soft success and warning ones. `destructive` stays solid.
|
|
17
|
+
- PageLayoutColumns takes `sidebarSide="left"`. Below 56rem a left sidebar stacks above the main content. The default stays `"right"`.
|
|
18
|
+
- Item takes `selected`, which sets `data-selected` and a brand border. Compose it with RadioGroup for selectable option rows.
|
|
19
|
+
- Text takes `size="prose"`, a 16/26 reading size.
|
|
20
|
+
- Kbd takes `tone="brand"` for keys inside filled brand buttons. `kbdVariants` is exported.
|
|
21
|
+
- Select takes `variant="ghost"` for editing a value in place, an `icon` per option, and `aria-label` and `aria-labelledby`. ComboboxTrigger takes `variant="ghost"` and `size`. On a ghost trigger the chevron shows only on hover, focus or open.
|
|
22
|
+
- `hashIdentity`, `identityKey`, `initialsOf` and `identityColorStyle` give people and stores a stable color and initials. `fileExtension`, `isImageFile` and `fileKindIcon` read a file name or URL.
|
|
23
|
+
|
|
24
|
+
### Compatibility notes
|
|
25
|
+
|
|
26
|
+
- `SelectionBar`'s props changed. It used to be exported from the DataGrid barrel with `total`, `allMatching` and `onSelectMatching`. It now takes `summary` for its own "Select all" control, plus `className`, `sticky` and div props. DataGrid passes its "Select all N" link as `summary` and looks and behaves as before. `formatCount` is still exported.
|
|
27
|
+
- Everything else is additive, and existing props keep their defaults, so current pages render as before.
|
|
28
|
+
|
|
29
|
+
## 0.11.1
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- A DataGrid with `scroll="page"` and `frame="contained"` now scrolls sideways when its columns are wider than the frame, for example after a column is resized wider. Before, the scroll port stayed overflow-visible and the frame clipped to its border, so columns past the right edge were cut off and could not be reached. Pinned columns stay put while it scrolls. Grids with `scroll="port"`, and page grids without a contained frame, are unchanged.
|
|
34
|
+
|
|
3
35
|
## 0.11.0
|
|
4
36
|
|
|
5
37
|
### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Mo,Lo,Eo,on,rn,an,nn}from"../../index-pam5eevk.js";import"../../index-6hjt8vvj.js";export{on as Accordion,nn as AccordionContent,rn as AccordionItem,an as AccordionTrigger,Mo as accordionItemVariants,Eo as accordionPanelVariants,Lo as accordionTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{_n,Hn,Wn,$n,Un,m}from"../../index-dm4hxxz7.js";import"../../index-6hjt8vvj.js";export{m as AlertDialog,Un as alertDialogActionsVariants,$n as alertDialogDescriptionVariants,_n as alertDialogOverlayVariants,Hn as alertDialogPopupVariants,Wn as alertDialogTitleVariants};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export interface AttachmentTileProps extends Omit<React.ComponentPropsWithoutRef<"button">, "className" | "children"> {
|
|
3
|
+
className?: string;
|
|
4
|
+
/** File name, shown under the tile and used as its accessible name. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Image URL to preview. Without one the tile shows the file-type icon. */
|
|
7
|
+
previewSrc?: string;
|
|
8
|
+
/** Formatted file size, such as "4 KB", shown beside the type on file tiles. */
|
|
9
|
+
fileSize?: string;
|
|
10
|
+
/** Shows a lock mark in the top-right corner, for restricted files. */
|
|
11
|
+
locked?: boolean;
|
|
12
|
+
/** Shows a comment mark in the top-left corner, for files with discussion. */
|
|
13
|
+
commented?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A file attachment as a small tile: an image preview, or the file-type icon
|
|
17
|
+
* with its type and size, with the name underneath. Clicking it is the
|
|
18
|
+
* caller's to handle, typically opening a Lightbox.
|
|
19
|
+
*/
|
|
20
|
+
export declare function AttachmentTile({ name, previewSrc, fileSize, locked, commented, className, type, ...props }: AttachmentTileProps): React.JSX.Element;
|
|
21
|
+
//# sourceMappingURL=AttachmentTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentTile.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentTile/AttachmentTile.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,WAAW,mBAChB,SAAQ,IAAI,CACX,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EACxC,WAAW,GAAG,UAAU,CACxB;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,MAAc,EACd,SAAiB,EACjB,SAAS,EACT,IAAe,EACf,GAAG,KAAK,EACR,EAAE,mBAAmB,qBAwErB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentTile/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{sn}from"../../index-4xvkpp4n.js";import"../../index-jj59rx1e.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{sn as AttachmentTile};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentTile/samples.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,eAAO,MAAM,UAAU,QAEpB,CAAC;AAEJ,eAAO,MAAM,MAAM,QAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ao,G,ie}from"../../index-8tj7zxwa.js";import"../../index-6hjt8vvj.js";export{G as Avatar,ie as AvatarGroup,Ao as avatarVariants};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from "class-variance-authority";
|
|
2
2
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "info" | "warning" | "primary" | "secondary" | "success" | "destructive" | "outline" | null | undefined;
|
|
4
|
+
variant?: "info" | "warning" | "primary" | "secondary" | "success" | "destructive" | "error" | "outline" | null | undefined;
|
|
5
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface BadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "className">, VariantProps<typeof badgeVariants> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,QAAA,MAAM,aAAa;;;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,QAAA,MAAM,aAAa;;;8EA6BlB,CAAC;AAEF,MAAM,WAAW,UAChB,SAAQ,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,WAAW,CAAC,EACzD,YAAY,CAAC,OAAO,aAAa,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,KAAK,CAAC,EACrB,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACR,EAAE,UAAU,+BASZ;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Bo,x}from"../../index-7mpwp5xv.js";import"../../index-6hjt8vvj.js";export{x as Badge,Bo as badgeVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ua,ja,Ka,Xa,Ya,Za,Qa}from"../../index-tc4xm4an.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Qa as BreadcrumbEllipsis,Ka as BreadcrumbItem,Xa as BreadcrumbLink,ja as BreadcrumbList,Ya as BreadcrumbPage,Za as BreadcrumbSeparator,Ua as Breadcrumbs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../index-626k16zr.js";import{o}from"../../index-
|
|
1
|
+
import"../../index-626k16zr.js";import{o}from"../../index-99sw4wym.js";import"../../index-6hjt8vvj.js";export{o as Button};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fn,Ja,qa}from"../../index-dpxxm8rv.js";import"../../index-6hjt8vvj.js";export{Ja as ButtonGroup,qa as ButtonGroupSeparator,Fn as buttonGroupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../index-mq3xffc2.js";import{
|
|
1
|
+
import"../../index-mq3xffc2.js";import{Yn,Ee,Zn,Mn,Ln,En,An,Bn,Qn,Ae,Jn,zn}from"../../index-jjky9e4z.js";import"../../index-6hjt8vvj.js";export{Ee as Card,Bn as CardAction,Ae as CardContent,An as CardDescription,zn as CardFooter,Mn as CardHeader,Ln as CardHeaderContent,En as CardTitle,Qn as cardContentVariants,Jn as cardFooterVariants,Zn as cardHeaderVariants,Yn as cardVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-wpk5v3xc.js";import{P,Be,ze,Ge,_e,He,Gn}from"../../index-sc6nwppj.js";import"../../index-99sw4wym.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Be as Carousel,ze as CarouselContent,Gn as CarouselDots,Ge as CarouselItem,He as CarouselNext,_e as CarouselPrevious,P as useCarousel};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
declare const channelMarkVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | null | undefined;
|
|
5
|
+
off?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare const channelMarkStatusVariants: (props?: ({
|
|
8
|
+
size?: "sm" | "md" | null | undefined;
|
|
9
|
+
status?: "info" | "warning" | "success" | "error" | "neutral" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
export type ChannelMarkStatus = NonNullable<VariantProps<typeof channelMarkStatusVariants>["status"]>;
|
|
12
|
+
export interface ChannelMarkProps extends Omit<React.ComponentPropsWithoutRef<"span">, "className" | "children">, Omit<VariantProps<typeof channelMarkVariants>, "off"> {
|
|
13
|
+
className?: string;
|
|
14
|
+
/** Channel name, such as "TCGplayer". Names the mark for assistive tech. */
|
|
15
|
+
name: string;
|
|
16
|
+
/** Letter or logo inside the tile. Defaults to the name's first letter. */
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/** Corner dot showing the channel's state for this item. */
|
|
19
|
+
status?: ChannelMarkStatus;
|
|
20
|
+
/** Words for the status dot, such as "Live". Added to the accessible name. */
|
|
21
|
+
statusLabel?: string;
|
|
22
|
+
/** The channel is turned off here: a dashed outline instead of a fill. */
|
|
23
|
+
off?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A small square tile with a sales channel's letter or logo, an optional
|
|
27
|
+
* status dot on its corner, and a dashed "off" state.
|
|
28
|
+
*/
|
|
29
|
+
export declare function ChannelMark({ name, children, size, status, statusLabel, off, className, ...props }: ChannelMarkProps): React.JSX.Element;
|
|
30
|
+
export { channelMarkStatusVariants, channelMarkVariants };
|
|
31
|
+
//# sourceMappingURL=ChannelMark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChannelMark.d.ts","sourceRoot":"","sources":["../../../src/components/ChannelMark/ChannelMark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,mBAAmB;;;8EAkBxB,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;8EAoB9B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAC1C,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC,QAAQ,CAAC,CACxD,CAAC;AAEF,MAAM,WAAW,gBAChB,SAAQ,IAAI,CACV,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EACtC,WAAW,GAAG,UAAU,CACxB,EACD,IAAI,CAAC,YAAY,CAAC,OAAO,mBAAmB,CAAC,EAAE,KAAK,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,GAAG,CAAC,EAAE,OAAO,CAAC;CACd;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC3B,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,WAAW,EACX,GAAW,EACX,SAAS,EACT,GAAG,KAAK,EACR,EAAE,gBAAgB,qBA0BlB;AAED,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ChannelMark/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EACN,WAAW,EACX,yBAAyB,EACzB,mBAAmB,GACnB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{wo,No,en}from"../../index-97a7bb0r.js";import"../../index-6hjt8vvj.js";export{en as ChannelMark,No as channelMarkStatusVariants,wo as channelMarkVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ro,So,B}from"../../index-hjzka0tz.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{B as Checkbox,So as checkboxIndicatorVariants,Ro as checkboxVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{To,ko,Io,Do,Vo,Oo,Fo,tn}from"../../index-tbfcsp8h.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{tn as Collapsible,Fo as CollapsibleChevron,Oo as CollapsibleContent,Vo as CollapsiblePanel,Io as CollapsibleRoot,Do as CollapsibleTrigger,ko as collapsiblePanelVariants,To as collapsibleTriggerVariants};
|
|
@@ -32,6 +32,13 @@ export interface ComboboxInputGroupProps extends Omit<BaseCombobox.InputGroup.Pr
|
|
|
32
32
|
export interface ComboboxTriggerProps extends Omit<BaseCombobox.Trigger.Props, "className"> {
|
|
33
33
|
className?: string;
|
|
34
34
|
children?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* `ghost` turns the trigger into a field-sized button that reads as text
|
|
37
|
+
* until hovered, like Select's ghost variant, for pickers whose search
|
|
38
|
+
* input lives in the popup.
|
|
39
|
+
*/
|
|
40
|
+
variant?: "ghost";
|
|
41
|
+
size?: ComboboxSize;
|
|
35
42
|
}
|
|
36
43
|
export interface ComboboxClearProps extends Omit<BaseCombobox.Clear.Props, "className"> {
|
|
37
44
|
className?: string;
|
|
@@ -101,7 +108,7 @@ declare function ComboboxRoot<Value, Multiple extends boolean | undefined = fals
|
|
|
101
108
|
declare function ComboboxLabel({ className, children, ...props }: ComboboxLabelProps): import("react").JSX.Element;
|
|
102
109
|
declare function ComboboxInput({ className, size, ...props }: ComboboxInputProps): import("react").JSX.Element;
|
|
103
110
|
declare function ComboboxInputGroup({ className, children, size, ...props }: ComboboxInputGroupProps): import("react").JSX.Element;
|
|
104
|
-
declare function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
111
|
+
declare function ComboboxTrigger({ className, children, variant, size, ...props }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
105
112
|
declare function ComboboxClear({ className, children, ...props }: ComboboxClearProps): import("react").JSX.Element;
|
|
106
113
|
declare function ComboboxValue(props: ComboboxValueProps): import("react").JSX.Element;
|
|
107
114
|
declare function ComboboxIcon({ className, children, ...props }: ComboboxIconProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAA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AAS,kBAAkB,CAAC,EAC3B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,uBAAuB,+BAWzB;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;CAoBpB,CAAC;AAEF,OAAO,EACN,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,GACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Yt,Zt,Le,Qt,Jt,qt,eo,to,oo,ro,ao,c}from"../../index-7v4th5b3.js";import"../../index-8snw3y6n.js";import"../../index-gdxh42rh.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{c as Combobox,Le as comboboxButtonVariants,ao as comboboxChipRemoveVariants,ro as comboboxChipVariants,oo as comboboxChipsVariants,Qt as comboboxContentVariants,qt as comboboxEmptyVariants,to as comboboxGroupLabelVariants,Zt as comboboxInputGroupVariants,Yt as comboboxInputVariants,Jt as comboboxItemVariants,eo as comboboxStatusVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Vt,Ot,Ft,Mt,Lt,Et,At,Bt,zt,Sa}from"../../index-8yd11hy6.js";import"../../index-2sb8sfkr.js";import"../../index-1zn26rm0.js";import"../../index-6hjt8vvj.js";export{Sa as Command,Mt as commandEmptyVariants,Lt as commandGroupVariants,Ot as commandInputVariants,zt as commandInputWrapperVariants,At as commandItemVariants,Ft as commandListVariants,Et as commandSeparatorVariants,Bt as commandShortcutVariants,Vt as commandVariants};
|
|
@@ -83,7 +83,12 @@ export type DataGridProps<TRow, S extends GridSchema<TRow>> = GridData<TRow, S>
|
|
|
83
83
|
/** Extra controls at the right end of the toolbar (export, primary action…). */
|
|
84
84
|
toolbar?: ReactNode;
|
|
85
85
|
footer?: ReactNode;
|
|
86
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* `page` lets the document scroll and sticks the header to that scroller.
|
|
88
|
+
* A `contained` frame clips to its border, so it scrolls its own columns
|
|
89
|
+
* sideways instead of cutting off the ones past its edge, and its header
|
|
90
|
+
* stays at the top of the frame rather than sticking to the page.
|
|
91
|
+
*/
|
|
87
92
|
scroll?: "port" | "page";
|
|
88
93
|
/**
|
|
89
94
|
* `full` runs edge to edge in an app shell. `contained` is a bordered card
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAMA,OAAO,EAMN,KAAK,SAAS,EACd,KAAK,SAAS,EAOd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAMA,OAAO,EAMN,KAAK,SAAS,EACd,KAAK,SAAS,EAOd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAsBzD,OAAO,KAAK,EAAa,UAAU,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAMN,KAAK,SAAS,EAKd,MAAM,SAAS,CAAC;AACjB,OAAO,EASN,KAAK,OAAO,EAMZ,KAAK,SAAS,EAOd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,KAAK,UAAU,EAAqB,MAAM,UAAU,CAAC;AAE9D,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,OAAO,CAAC;AAEtE;;;;GAIG;AACH,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,WAAkB,EAClB,MAAgB,EAChB,KAAK,EACL,OAAO,EACP,KAAK,EACL,iBAA6B,EAC7B,WAAiB,EACjB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,UAAU,EACV,UAAiB,EACjB,OAAO,EACP,OAAO,EACP,MAAM,EACN,MAAe,EACf,KAAK,EACL,eAAe,EACf,KAAc,EACd,SAAiB,EACjB,MAAM,EACN,SAAS,GACT,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC,+BA2yCxB"}
|
|
@@ -4,7 +4,7 @@ export { column, defineGrid } from "./columns";
|
|
|
4
4
|
export type { ControlSize, DataGridProps, GridData, GridStatus, RowAction, } from "./DataGrid";
|
|
5
5
|
export { DataGrid } from "./DataGrid";
|
|
6
6
|
export type { ViewMenuColumn } from "./parts";
|
|
7
|
-
export { ColumnMenu, FilterButton, FilterChips, formatCount, GridPagination, RowActionsMenu, SearchField,
|
|
7
|
+
export { ColumnMenu, FilterButton, FilterChips, formatCount, GridPagination, RowActionsMenu, SearchField, SortMenu, ViewMenu, } from "./parts";
|
|
8
8
|
export type { AggregateValue, ColumnLayout, Density, FilterDraft, FilterOf, GridAction, GridModel, GridQuery, GridQueryWire, ParseDrop, ParseGridQueryResult, ResolvedSelection, Selection, SortDir, } from "./query";
|
|
9
9
|
export { ACTIONS_COLUMN_WIDTH, applyGridQuery, DENSITY_ROW_PY, emptyGridQuery, PAGE_SIZE_DEFAULT, PAGE_SIZE_MAX, parseGridQuery, ROWS_PAGE_SIZE_MAX, SELECT_COLUMN_WIDTH, serializeGridQuery, transitionGridQuery, } from "./query";
|
|
10
10
|
export type { GridRequest, GridRequestFilter, GridResult } from "./server";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,QAAQ,GACR,MAAM,SAAS,CAAC;AACjB,YAAY,EACX,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,YAAY,GACZ,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EACX,WAAW,EACX,aAAa,EACb,QAAQ,EACR,UAAU,EACV,SAAS,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EACN,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,QAAQ,GACR,MAAM,SAAS,CAAC;AACjB,YAAY,EACX,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,YAAY,GACZ,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EACX,WAAW,EACX,aAAa,EACb,QAAQ,EACR,UAAU,EACV,SAAS,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EACN,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,QAAQ,EACR,QAAQ,GACR,MAAM,SAAS,CAAC;AACjB,YAAY,EACX,cAAc,EACd,YAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,UAAU,EACV,SAAS,EACT,SAAS,EACT,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,OAAO,GACP,MAAM,SAAS,CAAC;AACjB,OAAO,EACN,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,GACnB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Gt,_t,Ht,xe,Wt,$t,Ut,jt,Ta,ka,he,ye,ve,Pe,Ce,we,Ne,Re,Se,V,j,K,u,h,Kt,Ia,Da,O,Te,Va,ke,Oa}from"../../index-yss2zh1y.js";import"../../index-by6675v6.js";import"../../index-5k17f917.js";import"../../index-6zm0by24.js";import"../../index-vdb4kfwe.js";import{a}from"../../index-bdntmxp6.js";import"../../index-gjmxrp9t.js";import"../../index-asp78vex.js";import"../../index-7v4th5b3.js";import"../../index-8snw3y6n.js";import"../../index-2sb8sfkr.js";import"../../index-e7jz2cgk.js";import"../../index-gdxh42rh.js";import"../../index-2bx179yg.js";import"../../index-edjnhay3.js";import"../../index-626k16zr.js";import"../../index-99sw4wym.js";import"../../index-hjzka0tz.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-8tj7zxwa.js";import"../../index-7mpwp5xv.js";import"../../index-6hjt8vvj.js";export{h as ACTIONS_COLUMN_WIDTH,_t as AvatarCell,Ht as AvatarGroupCell,Ce as ColumnMenu,Se as DENSITY_ROW_PY,Oa as DataGrid,xe as EmptyCell,Gt as EntityCell,ve as FilterButton,ye as FilterChips,Re as GridPagination,$t as MoneyCell,V as PAGE_SIZE_DEFAULT,j as PAGE_SIZE_MAX,K as ROWS_PAGE_SIZE_MAX,Ne as RowActionsMenu,u as SELECT_COLUMN_WIDTH,he as SearchField,Pe as SortMenu,Ut as SparklineCell,jt as StatusCell,Wt as TagsCell,we as ViewMenu,Te as applyGridQuery,Ta as column,ka as defineGrid,Kt as emptyGridQuery,a as formatCount,Ia as parseGridQuery,ke as resolveGridResult,Da as serializeGridQuery,Va as toGridRequest,O as transitionGridQuery};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
2
|
import { type ReactNode } from "react";
|
|
3
3
|
import type { ControlSize } from "../../lib/controlSize";
|
|
4
|
+
import { formatCount } from "../../lib/formatCount";
|
|
4
5
|
import type { Density, SortDir } from "./query";
|
|
5
|
-
|
|
6
|
-
export declare function formatCount(value: number): string;
|
|
6
|
+
export { formatCount };
|
|
7
7
|
/**
|
|
8
8
|
* Quick filter over every text-bearing column. `/` focuses it from anywhere in
|
|
9
9
|
* the grid; Escape clears it.
|
|
@@ -102,14 +102,6 @@ export declare function RowActionsMenu({ label, actions, open, onOpenChange, }:
|
|
|
102
102
|
open: boolean;
|
|
103
103
|
onOpenChange: (open: boolean) => void;
|
|
104
104
|
}): import("react").JSX.Element;
|
|
105
|
-
export declare function SelectionBar({ count, total, allMatching, onSelectMatching, onClear, actions, }: {
|
|
106
|
-
count: number;
|
|
107
|
-
total: number;
|
|
108
|
-
allMatching: boolean;
|
|
109
|
-
onSelectMatching: () => void;
|
|
110
|
-
onClear: () => void;
|
|
111
|
-
actions?: ReactNode;
|
|
112
|
-
}): import("react").JSX.Element | null;
|
|
113
105
|
export declare function GridPagination({ page, pageCount, pageSize, pageSizes, range, total, loading, onPageChange, onPageSizeChange, children, }: {
|
|
114
106
|
page: number;
|
|
115
107
|
pageCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/parts.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAuBxE,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/parts.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAuBxE,OAAO,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AASpD,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,CAAC;AASvB;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,WAAW,EACX,IAAI,GACJ,EAAE;IACF,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;CAClB,+BAoCA;AAED,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,OAAO,GACP,EAAE;IACF,KAAK,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChD,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,sCA+BA;AAED,wBAAgB,YAAY,CAAC,EAC5B,IAAI,EACJ,KAA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AAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,+BA6EA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{io,so,lo,Aa}from"../../index-rqey8xyw.js";import"../../index-e7jz2cgk.js";import"../../index-gdxh42rh.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Aa as DatePicker,lo as datePickerDayVariants,so as datePickerPopupVariants,io as datePickerTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Tn,kn,In,Dn,Vn,v}from"../../index-1zn26rm0.js";import"../../index-6hjt8vvj.js";export{v as Dialog,Vn as dialogActionsVariants,Dn as dialogDescriptionVariants,Tn as dialogOverlayVariants,kn as dialogPopupVariants,In as dialogTitleVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../index-6hjt8vvj.js";import"../../index-
|
|
1
|
+
import"../../index-6hjt8vvj.js";import"../../index-99sw4wym.js";import"../../index-yeehx7kc.js";import"../../index-s3543vem.js";import{On,b}from"../../index-2bx179yg.js";export{b as Drawer,On as drawerPopupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{po,uo,mo,fo,go,bo,xo,r}from"../../index-edjnhay3.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{r as DropdownMenu,po as dropdownMenuContentVariants,uo as dropdownMenuItemVariants,mo as dropdownMenuLabelVariants,fo as dropdownMenuSeparatorVariants,go as dropdownMenuShortcutVariants,xo as dropdownMenuSubContentVariants,bo as dropdownMenuSubTriggerVariants};
|
|
@@ -2,7 +2,7 @@ import type { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
import type * as React from "react";
|
|
4
4
|
declare const featuredIconVariants: (props?: ({
|
|
5
|
-
color?: "info" | "warning" | "success" | "error" | "
|
|
5
|
+
color?: "info" | "warning" | "success" | "error" | "brand" | "gray" | null | undefined;
|
|
6
6
|
variant?: "ghost" | "solid" | "light" | "modern" | null | undefined;
|
|
7
7
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ho,R}from"../../index-yfdhvead.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{R as FeaturedIcon,ho as featuredIconVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d,
|
|
1
|
+
import{d,L,co,Ba,za,Ga,_a,Ha,oe,Wa,re,$a,ae}from"../../index-gdxh42rh.js";import"../../index-6hjt8vvj.js";export{Ba as Field,L as FieldContainerProvider,Ha as FieldContent,re as FieldDescription,ae as FieldError,_a as FieldGroup,oe as FieldLabel,Ga as FieldLegend,$a as FieldSeparator,za as FieldSet,Wa as FieldTitle,co as fieldVariants,d as useInFieldContainer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Tt,da}from"../../index-6r8b9409.js";import"../../index-1ynppxbf.js";import"../../index-yfdhvead.js";import"../../index-626k16zr.js";import"../../index-99sw4wym.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{da as FileUpload,Tt as fileUploadVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ca,pa,ua,ma,fa}from"../../index-k2xxt1f8.js";import"../../index-6hjt8vvj.js";export{ca as Footer,fa as FooterLink,ua as FooterMeta,ma as FooterNav,pa as FooterRow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ga,ba,xa,ha,ya}from"../../index-v0d4dp5m.js";import"../../index-gdxh42rh.js";import"../../index-6hjt8vvj.js";export{ga as Form,ya as FormActions,ba as FormField,ha as FormRow,xa as FormSection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{va}from"../../index-zvtymdjx.js";import"../../index-nq0q0kpx.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{va as Gloss};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ca,be,wa,Na}from"../../index-yad75gh5.js";import"../../index-626k16zr.js";import"../../index-99sw4wym.js";import"../../index-dm4hxxz7.js";import"../../index-6hjt8vvj.js";export{Ca as ImperativeDialogProvider,wa as useAlert,Na as useConfirm,be as useImperativeDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Dt,Ra}from"../../index-8wvydyjs.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Ra as InlineAlert,Dt as inlineAlertVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M,Sn,y}from"../../index-e7jz2cgk.js";import"../../index-gdxh42rh.js";import"../../index-6hjt8vvj.js";export{y as Input,M as inputVariants,Sn as inputWrapperVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{wn,jr,vt,Kr,Pt,Xr,Yr,Ct,wt}from"../../index-9brc3ptc.js";import"../../index-99sw4wym.js";import"../../index-6hjt8vvj.js";export{jr as InputGroup,Kr as InputGroupAddon,Xr as InputGroupButton,Ct as InputGroupInput,Yr as InputGroupText,wt as InputGroupTextarea,vt as inputGroupAddonVariants,Pt as inputGroupButtonVariants,wn as inputGroupVariants};
|
|
@@ -12,7 +12,13 @@ declare const itemVariants: (props?: ({
|
|
|
12
12
|
variant?: "outline" | "default" | "muted" | null | undefined;
|
|
13
13
|
size?: "sm" | "xs" | "default" | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
-
export type ItemOwnProps = useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants
|
|
15
|
+
export type ItemOwnProps = useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
16
|
+
/**
|
|
17
|
+
* Marks the item as the chosen option, for example the row whose radio is
|
|
18
|
+
* checked. Sets `data-selected` and a brand border.
|
|
19
|
+
*/
|
|
20
|
+
selected?: boolean;
|
|
21
|
+
};
|
|
16
22
|
export type ItemProps<C extends React.ElementType = "div"> = ItemOwnProps & {
|
|
17
23
|
as?: C;
|
|
18
24
|
} & Omit<React.ComponentPropsWithoutRef<C>, keyof ItemOwnProps | "as">;
|
|
@@ -20,7 +26,7 @@ export type ItemProps<C extends React.ElementType = "div"> = ItemOwnProps & {
|
|
|
20
26
|
* A flexible list item component for displaying structured content with
|
|
21
27
|
* media, titles, descriptions, and actions.
|
|
22
28
|
*/
|
|
23
|
-
export declare function Item<C extends React.ElementType = "div">({ className, variant, size, render, as, ...props }: ItemProps<C>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
29
|
+
export declare function Item<C extends React.ElementType = "div">({ className, variant, size, selected, render, as, ...props }: ItemProps<C>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
24
30
|
declare const itemMediaVariants: (props?: ({
|
|
25
31
|
variant?: "image" | "icon" | "default" | null | undefined;
|
|
26
32
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Item/Item.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,WAAW,cAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,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AAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAW5E;AAED,MAAM,WAAW,gBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAQpE;AAED,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAWlE;AAED,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAWlE;AAED,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Zr,Qr,Nt,Jr,Rt,qr,ea,ta,oa,ra,aa,na}from"../../index-pztt65br.js";import"../../index-6hjt8vvj.js";export{Jr as Item,ra as ItemActions,ea as ItemContent,oa as ItemDescription,na as ItemFooter,Zr as ItemGroup,aa as ItemHeader,qr as ItemMedia,Qr as ItemSeparator,ta as ItemTitle,Rt as itemMediaVariants,Nt as itemVariants};
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
declare const kbdVariants: (props?: ({
|
|
3
|
+
tone?: "default" | "brand" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export interface KbdProps extends React.ComponentProps<"kbd">, VariantProps<typeof kbdVariants> {
|
|
2
6
|
}
|
|
3
7
|
/**
|
|
4
|
-
* Keyboard key indicator component for displaying keyboard shortcuts.
|
|
8
|
+
* Keyboard key indicator component for displaying keyboard shortcuts. Use
|
|
9
|
+
* `tone="brand"` inside a filled brand button.
|
|
5
10
|
*/
|
|
6
|
-
declare function Kbd({ className, ...props }: KbdProps): import("react").JSX.Element;
|
|
11
|
+
declare function Kbd({ tone, className, ...props }: KbdProps): import("react").JSX.Element;
|
|
7
12
|
export interface KbdGroupProps extends React.ComponentProps<"div"> {
|
|
8
13
|
}
|
|
9
14
|
declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;
|
|
10
|
-
export { Kbd, KbdGroup };
|
|
15
|
+
export { Kbd, KbdGroup, kbdVariants };
|
|
11
16
|
//# sourceMappingURL=Kbd.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../../src/components/Kbd/Kbd.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../../src/components/Kbd/Kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,WAAW;;8EAmBhB,CAAC;AAEF,MAAM,WAAW,QAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAClC,YAAY,CAAC,OAAO,WAAW,CAAC;CAAG;AAErC;;;GAGG;AACH,iBAAS,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,+BAUnD;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;CAAG;AAErE,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAQvD;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|