@assure-one/design-system 1.45.0 → 1.46.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/dist/{brand-scope-BOKu4iOc.d.ts → brand-scope-DwLzUrSY.d.ts} +1 -1
- package/dist/{chunk-64OYQNDR.js → chunk-FIRPQWYR.js} +197 -51
- package/dist/chunk-FIRPQWYR.js.map +1 -0
- package/dist/{chunk-ZS5VLSJW.js → chunk-IIBDSTOG.js} +18 -9
- package/dist/chunk-IIBDSTOG.js.map +1 -0
- package/dist/{chunk-XNJP5LKC.js → chunk-JJ5JFA56.js} +31 -14
- package/dist/chunk-JJ5JFA56.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/{data-table-view-BWhKeUiw.d.ts → data-table-view-D9a1_IRF.d.ts} +50 -4
- package/dist/{design-system-provider-Coe2S3Lh.d.ts → design-system-provider-C6Tu1vyg.d.ts} +1 -1
- package/dist/index.d.ts +27 -9
- package/dist/index.js +190 -84
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.d.ts +3 -3
- package/dist/legacy/index.js +2 -2
- package/dist/next/index.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/dist/suite/index.d.ts +3 -3
- package/dist/suite/index.js +2 -2
- package/dist/{types-DlqmlVyZ.d.ts → types-BTHIs2nk.d.ts} +4 -0
- package/docs/components.md +2 -2
- package/docs/components.registry.json +2 -1
- package/package.json +1 -1
- package/dist/chunk-64OYQNDR.js.map +0 -1
- package/dist/chunk-XNJP5LKC.js.map +0 -1
- package/dist/chunk-ZS5VLSJW.js.map +0 -1
|
@@ -479,7 +479,11 @@ var tableAnatomy = defineAnatomy("table", [
|
|
|
479
479
|
"cell",
|
|
480
480
|
"caption",
|
|
481
481
|
"sort",
|
|
482
|
-
"sort-indicator"
|
|
482
|
+
"sort-indicator",
|
|
483
|
+
"group-row",
|
|
484
|
+
"group-row-toggle",
|
|
485
|
+
"group-row-label",
|
|
486
|
+
"group-row-trailing"
|
|
483
487
|
]);
|
|
484
488
|
var dataTableAnatomy = defineAnatomy("data-table", [
|
|
485
489
|
"root",
|
|
@@ -920,7 +924,11 @@ var EN_MESSAGES = {
|
|
|
920
924
|
selectRow: "Select row"
|
|
921
925
|
},
|
|
922
926
|
tableStates: { loading: "Loading", empty: "No results" },
|
|
923
|
-
table: {
|
|
927
|
+
table: {
|
|
928
|
+
region: "Scrollable table",
|
|
929
|
+
collapseSection: "Collapse section",
|
|
930
|
+
expandSection: "Expand section"
|
|
931
|
+
},
|
|
924
932
|
tableDensity: { label: "Row density", comfortable: "Detailed view", compact: "Compact view" },
|
|
925
933
|
stackedBarChart: { region: "Scrollable chart" },
|
|
926
934
|
pdfPreview: { region: "PDF preview" },
|
|
@@ -1537,9 +1545,9 @@ function optionElementId(listId, value) {
|
|
|
1537
1545
|
|
|
1538
1546
|
// src/primitives/behavior/collection/item-recipe.ts
|
|
1539
1547
|
var LIST_ITEM_BOX = {
|
|
1540
|
-
select: "ds:rounded-surface-sm ds:relative ds:flex ds:w-full ds:cursor-
|
|
1541
|
-
menu: "ds:rounded-surface-sm ds:relative ds:flex ds:cursor-
|
|
1542
|
-
"menu-indicator": "ds:rounded-surface-sm ds:relative ds:flex ds:cursor-
|
|
1548
|
+
select: "ds:rounded-surface-sm ds:relative ds:flex ds:w-full ds:cursor-pointer ds:items-center ds:gap-2 ds:py-1.5 ds:pr-8 ds:pl-2",
|
|
1549
|
+
menu: "ds:rounded-surface-sm ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-2 ds:px-2 ds:py-1.5",
|
|
1550
|
+
"menu-indicator": "ds:rounded-surface-sm ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-2 ds:py-1.5 ds:pr-2 ds:pl-8"
|
|
1543
1551
|
};
|
|
1544
1552
|
var LIST_ITEM_INTERACTION = "ds:outline-none ds:select-none";
|
|
1545
1553
|
var LIST_ITEM_INK = {
|
|
@@ -1775,6 +1783,7 @@ var SelectTrigger = React7.forwardRef(({ className, children, tabIndex, size, cl
|
|
|
1775
1783
|
"ds:rounded-input ds:border-field-border ds:bg-surface ds:font-body ds:text-fg ds:flex ds:w-full ds:items-center ds:justify-between ds:border ds:py-2",
|
|
1776
1784
|
CONTROL_SIZE_CLASSES[size]
|
|
1777
1785
|
),
|
|
1786
|
+
"ds:cursor-pointer",
|
|
1778
1787
|
"ds:transition-[color,background-color,border-color,box-shadow] ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
1779
1788
|
"ds:motion-reduce:transition-none",
|
|
1780
1789
|
"ds:placeholder:text-fg-4",
|
|
@@ -2196,7 +2205,7 @@ var Checkbox = React7.forwardRef(function Checkbox2({
|
|
|
2196
2205
|
// Resting edge at ≥3:1 on the surface and the canvas (WCAG 1.4.11):
|
|
2197
2206
|
// an unchecked box is identified by its border alone, and
|
|
2198
2207
|
// `border-rule-strong` measured 1.34:1.
|
|
2199
|
-
"ds:peer ds:border-fg-4/80 ds:bg-surface ds:text-brand ds:flex ds:size-4 ds:shrink-0 ds:items-center ds:justify-center ds:border",
|
|
2208
|
+
"ds:peer ds:border-fg-4/80 ds:bg-surface ds:text-brand ds:flex ds:size-4 ds:shrink-0 ds:cursor-pointer ds:items-center ds:justify-center ds:border",
|
|
2200
2209
|
shape === "circle" ? "ds:rounded-full" : "ds:rounded-badge",
|
|
2201
2210
|
microInteractions.selection,
|
|
2202
2211
|
"ds:hover:border-fg-4",
|
|
@@ -2716,7 +2725,7 @@ var MENU_SUB_TRIGGER_OPEN = {
|
|
|
2716
2725
|
menu: "ds:data-[state=open]:bg-menu-item-hover-bg ds:data-[state=open]:text-menu-item-hover-fg",
|
|
2717
2726
|
neutral: "ds:data-[state=open]:bg-bg-2 ds:data-[state=open]:text-fg"
|
|
2718
2727
|
};
|
|
2719
|
-
var MENU_SUB_TRIGGER_BOX = "ds:rounded-surface-sm ds:flex ds:cursor-
|
|
2728
|
+
var MENU_SUB_TRIGGER_BOX = "ds:rounded-surface-sm ds:flex ds:cursor-pointer ds:items-center ds:gap-2 ds:px-2 ds:py-1.5";
|
|
2720
2729
|
var MENU_SUB_TRIGGER_CHEVRON = "ds:text-fg-3 ds:ml-auto ds:size-4 ds:-translate-x-px";
|
|
2721
2730
|
var MENU_INDICATOR_WELL = LIST_ITEM_INDICATOR_WELL.start;
|
|
2722
2731
|
var MENU_CHECK_GLYPH = "ds:size-3.5!";
|
|
@@ -3801,5 +3810,5 @@ var DocumentRow = forwardRef(function DocumentRow2({ fileName, meta, icon, appro
|
|
|
3801
3810
|
DocumentRow.displayName = "DocumentRow";
|
|
3802
3811
|
|
|
3803
3812
|
export { Avatar, Backdrop, Button, CONTROL_GAP_CLASSES, CONTROL_LABEL_TEXT, CONTROL_SIZE_CLASSES, Checkbox, DEFAULT_OVERLAY_MESSAGES, DISABLED_LOOK_CLASSES, DISMISS_GLYPH_CLASSES, DesignSystemContext, DismissButton, DocumentDetailActions, DocumentDetailBody, DocumentDetailHeader, DocumentDetailMetaRow, DocumentDetailPanel, DocumentDetailRequester, DocumentDetailTitle, DocumentList, DocumentListSection, DocumentRow, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EN_MESSAGES, FIELD_PARTS, FLOATING_PADDING, FLOATING_WIDTH, FieldContext, FieldsetContext, FileChip, FileUpload, FormBridge, INERT_ATTRIBUTES, INERT_CLASSES, IconButton, Input, LIST_ITEM_INDICATOR_WELL, LIST_SEPARATOR, MENU_CHECK_GLYPH, MENU_INDICATOR_WELL, MENU_INSET, MENU_ITEM_DANGER, MENU_RADIO_GLYPH, MENU_SUB_TRIGGER_CHEVRON, ModalContent, ModalDescription, ModalOverlay, ModalPortal, ModalRoot, ModalTitle, OverlayBody, OverlayDescription, OverlayFooter, OverlayHeader, OverlaySurface, OverlayTitle, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Portal, PortalContainerContext, Pressable, SPINNER_TONE_TO_INTENT, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, TOOLTIP_DEFAULT_DELAY_MS, Textarea, ThemeScope, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, alertDialogAnatomy, badgeAnatomy, buttonBase, buttonVariants, cardAnatomy, chipAnatomy, codeAnatomy, comboboxAnatomy, commandAnatomy, contextMenuAnatomy, controlChrome, dataTableAnatomy, deprecate, dialogAnatomy, errorOnce, fieldAnatomy, fieldsetAnatomy, floatingSurfaceClasses, groupHeadingClasses, headingAnatomy, iconButtonVariants, inertHandlers, inlineAnatomy, inputVariants, isLabelable, joinIds, kbdAnatomy, labelAnatomy, linkButtonAnatomy, listItemAttributes, listItemClasses, menuIndicatorItemClasses, menuItemClasses, menuLabelClasses, menuSeparatorClasses, menuShortcutClasses, menuSubTriggerClasses, mergeRefs, microInteractions, numberInputAnatomy, optionElementId, paginationAnatomy, partId, phoneFieldAnatomy, presence, radioGroupAnatomy, resolveButtonIcons, resolveButtonStyle, searchInputAnatomy, sheetAnatomy, shellAnatomy, sideDrawerAnatomy, sidebarAnatomy, sidebarBrandSwitcherAnatomy, slot, spinnerVariants, stackAnatomy, stateAttributes, statusBadgeAnatomy, surfaceAnatomy, switchAnatomy, tableAnatomy, textAnatomy, textareaVariants, toastAnatomy, useControllableState, useDsMessages, useExitPresence, useFieldContext, useFieldControl, useFieldsetContext, useFieldsetLegend, useFieldsetState, useFormReset, useFormReset2, useId, useImageComponent, useLinkComponent, useMergedRefs, warnLegacyButtonProps, withPortalContainer };
|
|
3804
|
-
//# sourceMappingURL=chunk-
|
|
3805
|
-
//# sourceMappingURL=chunk-
|
|
3813
|
+
//# sourceMappingURL=chunk-IIBDSTOG.js.map
|
|
3814
|
+
//# sourceMappingURL=chunk-IIBDSTOG.js.map
|