@assure-one/design-system 1.44.0 → 1.45.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/{chunk-PC6M4QZ2.js → chunk-64OYQNDR.js} +14 -9
- package/dist/{chunk-PC6M4QZ2.js.map → chunk-64OYQNDR.js.map} +1 -1
- package/dist/{chunk-E2URQD5A.js → chunk-ARCWF2S3.js} +32 -3
- package/dist/chunk-ARCWF2S3.js.map +1 -0
- package/dist/{chunk-4TXBY6P7.js → chunk-XNJP5LKC.js} +7 -7
- package/dist/chunk-XNJP5LKC.js.map +1 -0
- package/dist/{chunk-Z7QPHPNV.js → chunk-ZS5VLSJW.js} +10 -5
- package/dist/chunk-ZS5VLSJW.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/icons/index.d.ts +11 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -12
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.js +3 -3
- package/dist/styles.css +1 -1
- package/dist/suite/index.d.ts +3 -1
- package/dist/suite/index.js +3 -3
- package/docs/components.md +3 -3
- package/docs/components.registry.json +1 -1
- package/eslint-config/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/chunk-4TXBY6P7.js.map +0 -1
- package/dist/chunk-E2URQD5A.js.map +0 -1
- package/dist/chunk-Z7QPHPNV.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn, LoaderIcon, ChevronDownIcon, ChevronUpIcon, CheckIcon, MinusIcon, ChevronRightIcon, CircleIcon, FileTextIcon, EyeOffIcon, EyeIcon, XIcon, AlertTriangleIcon, UploadIcon } from './chunk-
|
|
1
|
+
import { cn, LoaderIcon, ChevronDownIcon, ChevronUpIcon, CheckIcon, MinusIcon, ChevronRightIcon, CircleIcon, FileTextIcon, EyeOffIcon, EyeIcon, XIcon, AlertTriangleIcon, UploadIcon } from './chunk-ARCWF2S3.js';
|
|
2
2
|
import * as React7 from 'react';
|
|
3
3
|
import { createContext, forwardRef, useMemo, useState, useRef, useCallback, useEffect, useContext, useId as useId$1, useLayoutEffect } from 'react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -2193,7 +2193,10 @@ var Checkbox = React7.forwardRef(function Checkbox2({
|
|
|
2193
2193
|
"data-invalid": wiring["data-invalid"],
|
|
2194
2194
|
...slot(checkboxAnatomy, "root"),
|
|
2195
2195
|
className: cn(
|
|
2196
|
-
|
|
2196
|
+
// Resting edge at ≥3:1 on the surface and the canvas (WCAG 1.4.11):
|
|
2197
|
+
// an unchecked box is identified by its border alone, and
|
|
2198
|
+
// `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",
|
|
2197
2200
|
shape === "circle" ? "ds:rounded-full" : "ds:rounded-badge",
|
|
2198
2201
|
microInteractions.selection,
|
|
2199
2202
|
"ds:hover:border-fg-4",
|
|
@@ -2205,7 +2208,9 @@ var Checkbox = React7.forwardRef(function Checkbox2({
|
|
|
2205
2208
|
// indeterminate brand edge and tint would otherwise outrank it.
|
|
2206
2209
|
"ds:disabled:data-[state=checked]:border-rule ds:disabled:data-[state=checked]:bg-bg-disabled",
|
|
2207
2210
|
"ds:disabled:data-[state=indeterminate]:border-rule ds:disabled:data-[state=indeterminate]:bg-bg-disabled",
|
|
2208
|
-
|
|
2211
|
+
// Danger ink, not the pale danger line (1.48:1): an invalid box is still
|
|
2212
|
+
// identified by its edge alone (WCAG 1.4.11).
|
|
2213
|
+
"ds:aria-[invalid=true]:border-danger-fg",
|
|
2209
2214
|
className
|
|
2210
2215
|
),
|
|
2211
2216
|
...props,
|
|
@@ -3796,5 +3801,5 @@ var DocumentRow = forwardRef(function DocumentRow2({ fileName, meta, icon, appro
|
|
|
3796
3801
|
DocumentRow.displayName = "DocumentRow";
|
|
3797
3802
|
|
|
3798
3803
|
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 };
|
|
3799
|
-
//# sourceMappingURL=chunk-
|
|
3800
|
-
//# sourceMappingURL=chunk-
|
|
3804
|
+
//# sourceMappingURL=chunk-ZS5VLSJW.js.map
|
|
3805
|
+
//# sourceMappingURL=chunk-ZS5VLSJW.js.map
|