@assure-one/design-system 1.41.2 → 1.42.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-B7w3-y9E.d.ts +262 -0
- package/dist/{chunk-JKNHNNNY.js → chunk-H53VF62B.js} +6 -4
- package/dist/chunk-H53VF62B.js.map +1 -0
- package/dist/{chunk-XN7OBLQR.js → chunk-M2HMZ2RW.js} +11 -7
- package/dist/chunk-M2HMZ2RW.js.map +1 -0
- package/dist/{chunk-UAPQ7VTS.js → chunk-YMRSFVW7.js} +7 -5
- package/dist/chunk-YMRSFVW7.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/css/tokens.css +4 -4
- package/dist/{data-table-view-ep8al7P9.d.ts → data-table-view-BN3GgNdp.d.ts} +186 -2
- package/dist/{design-system-provider-CfD2g2lY.d.ts → design-system-provider-CrBRFQjR.d.ts} +1 -1
- package/dist/index.d.ts +66 -413
- package/dist/index.js +126 -29
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.d.ts +11 -4
- 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 +14 -3
- package/dist/suite/index.js +2 -2
- package/dist/{types-Coqw8iaS.d.ts → types-aBQCboFH.d.ts} +1 -1
- package/docs/components.md +5 -5
- package/docs/components.registry.json +5 -5
- package/package.json +1 -1
- package/dist/brand-scope-BOHId6BY.d.ts +0 -58
- package/dist/chunk-JKNHNNNY.js.map +0 -1
- package/dist/chunk-UAPQ7VTS.js.map +0 -1
- package/dist/chunk-XN7OBLQR.js.map +0 -1
|
@@ -140,9 +140,10 @@ var BUTTON_SIZES = {
|
|
|
140
140
|
// scale's 14, so the glyph column is left to the base until D5.
|
|
141
141
|
sm: "ds:h-(--control-height-sm) ds:px-(--control-padding-x-sm) ds:text-(length:--control-font-size-sm) ds:gap-(--control-gap-sm)",
|
|
142
142
|
xl: "ds:h-(--control-height-xl) ds:px-(--control-padding-x-xl) ds:text-(length:--control-font-size-xl) ds:gap-(--control-gap-xl) ds:[&_svg]:size-(--control-icon-xl)",
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
// D5 (W2-05): md/lg now read the shared scale (36px / 40px), same as
|
|
144
|
+
// every other row, instead of the old compat tokens (40px / 48px).
|
|
145
|
+
md: "ds:h-(--control-height-md) ds:px-(--control-padding-x-md) ds:text-(length:--control-font-size-md) ds:gap-(--control-gap-md)",
|
|
146
|
+
lg: "ds:h-(--control-height-lg) ds:px-(--control-padding-x-lg) ds:text-(length:--control-font-size-lg) ds:gap-(--control-gap-lg)",
|
|
146
147
|
// Icon-only sizes: square, today's pixels through the compat tokens
|
|
147
148
|
// (C-BTN-SIZE-ICON). Hit target ≥ 24px (WCAG 2.5.5 floor); `icon-xs` /
|
|
148
149
|
// `icon-sm` are for dense in-row action stacks where `icon` (40×40) would
|
|
@@ -3178,7 +3179,7 @@ var isScaleRowSize = (size) => size === "xs" || size === "xl";
|
|
|
3178
3179
|
var INPUT_SIZE_ROWS = {
|
|
3179
3180
|
sm: "ds:h-(--control-height-sm) ds:px-2.5 ds:py-1 ds:text-xs",
|
|
3180
3181
|
md: "ds:h-(--control-height-md) ds:px-3 ds:py-2 ds:text-(length:--control-font-size-md)",
|
|
3181
|
-
lg: "ds:h-(--
|
|
3182
|
+
lg: "ds:h-(--control-height-lg) ds:px-3.5 ds:py-2.5 ds:text-sm",
|
|
3182
3183
|
compact: "ds:h-(--control-height-sm) ds:px-2.5 ds:py-1 ds:text-(length:--control-font-size-md)",
|
|
3183
3184
|
default: "ds:h-(--control-height-lg) ds:px-3 ds:py-2 ds:text-sm",
|
|
3184
3185
|
comfortable: "ds:h-(--control-height-xl) ds:px-3.5 ds:py-2.5 ds:text-base"
|
|
@@ -3192,9 +3193,12 @@ function inputVariants({
|
|
|
3192
3193
|
} = {}) {
|
|
3193
3194
|
const LEGACY_ROWS = {
|
|
3194
3195
|
// The `inputSize` rows: today's classes, byte for byte (W2-03 compat).
|
|
3196
|
+
// `lg` moved with `size`'s row at D5 (h-11→h-10, 44px→40px) — the
|
|
3197
|
+
// deprecation message promises "same pixels" as `size`, so the two paths
|
|
3198
|
+
// must never disagree.
|
|
3195
3199
|
sm: "ds:h-8 ds:px-2.5 ds:py-1 ds:text-xs",
|
|
3196
3200
|
md: "ds:h-9 ds:px-3 ds:py-2 ds:text-[13px]",
|
|
3197
|
-
lg: "ds:h-
|
|
3201
|
+
lg: "ds:h-10 ds:px-3.5 ds:py-2.5 ds:text-sm",
|
|
3198
3202
|
compact: "ds:h-8 ds:px-2.5 ds:py-1 ds:text-[13px]",
|
|
3199
3203
|
default: "ds:h-10 ds:px-3 ds:py-2 ds:text-sm",
|
|
3200
3204
|
comfortable: "ds:h-12 ds:px-3.5 ds:py-2.5 ds:text-base"
|
|
@@ -3770,5 +3774,5 @@ var DocumentRow = forwardRef(function DocumentRow2({ fileName, meta, icon, appro
|
|
|
3770
3774
|
DocumentRow.displayName = "DocumentRow";
|
|
3771
3775
|
|
|
3772
3776
|
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, useId, useImageComponent, useLinkComponent, useMergedRefs, warnLegacyButtonProps, withPortalContainer };
|
|
3773
|
-
//# sourceMappingURL=chunk-
|
|
3774
|
-
//# sourceMappingURL=chunk-
|
|
3777
|
+
//# sourceMappingURL=chunk-M2HMZ2RW.js.map
|
|
3778
|
+
//# sourceMappingURL=chunk-M2HMZ2RW.js.map
|