@atom-learning/components 3.5.1 → 3.5.2
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 +3 -2
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/action-icon/ActionIcon.js.map +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js +1 -1
- package/dist/components/alert-dialog/alert-context/AlertDialogIcon.js.map +1 -1
- package/dist/components/badge/BadgeIcon.js +1 -1
- package/dist/components/badge/BadgeIcon.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlimDismiss.js +1 -1
- package/dist/components/banner/banner-slim/BannerSlimDismiss.js.map +1 -1
- package/dist/components/chip/Chip.d.ts +0 -646
- package/dist/components/chip/Chip.js +1 -1
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/inline-message/InlineMessage.js +1 -1
- package/dist/components/inline-message/InlineMessage.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.js +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.js +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/package.json +1 -1
|
@@ -319,652 +319,6 @@ export declare const StyledChipContent: import("@stitches/react/types/styled-com
|
|
|
319
319
|
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
320
320
|
};
|
|
321
321
|
}>>;
|
|
322
|
-
export declare const StyledChipIcon: import("@stitches/react/types/styled-component").StyledComponent<React.FC<Omit<Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "media" | "onBlur" | "onChange" | "onSubmit" | "style" | "path" | "key" | "method" | "name" | "target" | "className" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "mode" | "min" | "max" | "end" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "type" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
323
|
-
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
324
|
-
}, "size" | "css"> & import("@stitches/react/types/styled-component").TransformProps<{
|
|
325
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
326
|
-
}, {
|
|
327
|
-
sm: string;
|
|
328
|
-
md: string;
|
|
329
|
-
lg: string;
|
|
330
|
-
xl: string;
|
|
331
|
-
reducedMotion: string;
|
|
332
|
-
allowMotion: string;
|
|
333
|
-
hover: string;
|
|
334
|
-
}> & {
|
|
335
|
-
css?: import("@stitches/react/types/css-util").CSS<{
|
|
336
|
-
sm: string;
|
|
337
|
-
md: string;
|
|
338
|
-
lg: string;
|
|
339
|
-
xl: string;
|
|
340
|
-
reducedMotion: string;
|
|
341
|
-
allowMotion: string;
|
|
342
|
-
hover: string;
|
|
343
|
-
}, {
|
|
344
|
-
colors: {
|
|
345
|
-
textForeground: any;
|
|
346
|
-
textSubtle: any;
|
|
347
|
-
textPlaceholder: any;
|
|
348
|
-
background: any;
|
|
349
|
-
backgroundAccent: any;
|
|
350
|
-
grey100: any;
|
|
351
|
-
grey200: any;
|
|
352
|
-
grey300: any;
|
|
353
|
-
grey400: any;
|
|
354
|
-
grey500: any;
|
|
355
|
-
grey600: any;
|
|
356
|
-
grey700: any;
|
|
357
|
-
grey800: any;
|
|
358
|
-
grey900: any;
|
|
359
|
-
grey1000: any;
|
|
360
|
-
grey1100: any;
|
|
361
|
-
grey1200: any;
|
|
362
|
-
blue100: any;
|
|
363
|
-
blue200: any;
|
|
364
|
-
blue300: any;
|
|
365
|
-
blue400: any;
|
|
366
|
-
blue500: any;
|
|
367
|
-
blue600: any;
|
|
368
|
-
blue700: any;
|
|
369
|
-
blue800: any;
|
|
370
|
-
blue900: any;
|
|
371
|
-
blue1000: any;
|
|
372
|
-
blue1100: any;
|
|
373
|
-
blue1200: any;
|
|
374
|
-
purple100: any;
|
|
375
|
-
purple200: any;
|
|
376
|
-
purple300: any;
|
|
377
|
-
purple400: any;
|
|
378
|
-
purple500: any;
|
|
379
|
-
purple600: any;
|
|
380
|
-
purple700: any;
|
|
381
|
-
purple800: any;
|
|
382
|
-
purple900: any;
|
|
383
|
-
purple1000: any;
|
|
384
|
-
purple1100: any;
|
|
385
|
-
purple1200: any;
|
|
386
|
-
cyan100: any;
|
|
387
|
-
cyan200: any;
|
|
388
|
-
cyan300: any;
|
|
389
|
-
cyan400: any;
|
|
390
|
-
cyan500: any;
|
|
391
|
-
cyan600: any;
|
|
392
|
-
cyan700: any;
|
|
393
|
-
cyan800: any;
|
|
394
|
-
cyan900: any;
|
|
395
|
-
cyan1000: any;
|
|
396
|
-
cyan1100: any;
|
|
397
|
-
cyan1200: any;
|
|
398
|
-
green100: any;
|
|
399
|
-
green200: any;
|
|
400
|
-
green300: any;
|
|
401
|
-
green400: any;
|
|
402
|
-
green500: any;
|
|
403
|
-
green600: any;
|
|
404
|
-
green700: any;
|
|
405
|
-
green800: any;
|
|
406
|
-
green900: any;
|
|
407
|
-
green1000: any;
|
|
408
|
-
green1100: any;
|
|
409
|
-
green1200: any;
|
|
410
|
-
magenta100: any;
|
|
411
|
-
magenta200: any;
|
|
412
|
-
magenta300: any;
|
|
413
|
-
magenta400: any;
|
|
414
|
-
magenta500: any;
|
|
415
|
-
magenta600: any;
|
|
416
|
-
magenta700: any;
|
|
417
|
-
magenta800: any;
|
|
418
|
-
magenta900: any;
|
|
419
|
-
magenta1000: any;
|
|
420
|
-
magenta1100: any;
|
|
421
|
-
magenta1200: any;
|
|
422
|
-
red100: any;
|
|
423
|
-
red200: any;
|
|
424
|
-
red300: any;
|
|
425
|
-
red400: any;
|
|
426
|
-
red500: any;
|
|
427
|
-
red600: any;
|
|
428
|
-
red700: any;
|
|
429
|
-
red800: any;
|
|
430
|
-
red900: any;
|
|
431
|
-
red1000: any;
|
|
432
|
-
red1100: any;
|
|
433
|
-
red1200: any;
|
|
434
|
-
teal100: any;
|
|
435
|
-
teal200: any;
|
|
436
|
-
teal300: any;
|
|
437
|
-
teal400: any;
|
|
438
|
-
teal500: any;
|
|
439
|
-
teal600: any;
|
|
440
|
-
teal700: any;
|
|
441
|
-
teal800: any;
|
|
442
|
-
teal900: any;
|
|
443
|
-
teal1000: any;
|
|
444
|
-
teal1100: any;
|
|
445
|
-
teal1200: any;
|
|
446
|
-
orange100: any;
|
|
447
|
-
orange200: any;
|
|
448
|
-
orange300: any;
|
|
449
|
-
orange400: any;
|
|
450
|
-
orange500: any;
|
|
451
|
-
orange600: any;
|
|
452
|
-
orange700: any;
|
|
453
|
-
orange800: any;
|
|
454
|
-
orange900: any;
|
|
455
|
-
orange1000: any;
|
|
456
|
-
orange1100: any;
|
|
457
|
-
orange1200: any;
|
|
458
|
-
yellow100: any;
|
|
459
|
-
yellow200: any;
|
|
460
|
-
yellow300: any;
|
|
461
|
-
yellow400: any;
|
|
462
|
-
yellow500: any;
|
|
463
|
-
yellow600: any;
|
|
464
|
-
yellow700: any;
|
|
465
|
-
yellow800: any;
|
|
466
|
-
yellow900: any;
|
|
467
|
-
yellow1000: any;
|
|
468
|
-
yellow1100: any;
|
|
469
|
-
yellow1200: any;
|
|
470
|
-
lime100: any;
|
|
471
|
-
lime200: any;
|
|
472
|
-
lime300: any;
|
|
473
|
-
lime400: any;
|
|
474
|
-
lime500: any;
|
|
475
|
-
lime600: any;
|
|
476
|
-
lime700: any;
|
|
477
|
-
lime800: any;
|
|
478
|
-
lime900: any;
|
|
479
|
-
lime1000: any;
|
|
480
|
-
lime1100: any;
|
|
481
|
-
lime1200: any;
|
|
482
|
-
tonal50: any;
|
|
483
|
-
tonal100: any;
|
|
484
|
-
tonal200: any;
|
|
485
|
-
tonal300: any;
|
|
486
|
-
tonal400: any;
|
|
487
|
-
tonal500: any;
|
|
488
|
-
tonal600: any;
|
|
489
|
-
alpha100: any;
|
|
490
|
-
alpha150: any;
|
|
491
|
-
alpha200: any;
|
|
492
|
-
alpha250: any;
|
|
493
|
-
alpha600: any;
|
|
494
|
-
primaryLight: any;
|
|
495
|
-
primary: any;
|
|
496
|
-
primaryMid: any;
|
|
497
|
-
primaryDark: any;
|
|
498
|
-
secondary: any;
|
|
499
|
-
brandRed: any;
|
|
500
|
-
brandRedAccent: any;
|
|
501
|
-
brandGreen: any;
|
|
502
|
-
brandGreenAccent: any;
|
|
503
|
-
brandPurple: any;
|
|
504
|
-
brandPurpleAccent: any;
|
|
505
|
-
brandYellow: any;
|
|
506
|
-
brandYellowAccent: any;
|
|
507
|
-
successLight: any;
|
|
508
|
-
success: any;
|
|
509
|
-
successMid: any;
|
|
510
|
-
successDark: any;
|
|
511
|
-
dangerLight: any;
|
|
512
|
-
danger: any;
|
|
513
|
-
dangerMid: any;
|
|
514
|
-
dangerDark: any;
|
|
515
|
-
warningLight: any;
|
|
516
|
-
warning: any;
|
|
517
|
-
warningMid: any;
|
|
518
|
-
warningDark: any;
|
|
519
|
-
warningText: any;
|
|
520
|
-
subjectEnglish: any;
|
|
521
|
-
subjectMaths: any;
|
|
522
|
-
subjectScience: any;
|
|
523
|
-
subjectVerbalReasoning: any;
|
|
524
|
-
subjectNonVerbalReasoning: any;
|
|
525
|
-
subjectCreativeWriting: any;
|
|
526
|
-
subjectExamSkills: any;
|
|
527
|
-
glBlueLight: any;
|
|
528
|
-
glBluePrimary: any;
|
|
529
|
-
glBlueDark: any;
|
|
530
|
-
};
|
|
531
|
-
space: {
|
|
532
|
-
"0": any;
|
|
533
|
-
"1": any;
|
|
534
|
-
"2": any;
|
|
535
|
-
"3": any;
|
|
536
|
-
"4": any;
|
|
537
|
-
"5": any;
|
|
538
|
-
"6": any;
|
|
539
|
-
"7": any;
|
|
540
|
-
"8": any;
|
|
541
|
-
"9": any;
|
|
542
|
-
"24": any;
|
|
543
|
-
};
|
|
544
|
-
fontSizes: {
|
|
545
|
-
xs: any;
|
|
546
|
-
sm: any;
|
|
547
|
-
md: any;
|
|
548
|
-
lg: any;
|
|
549
|
-
xl: any;
|
|
550
|
-
"2xl": any;
|
|
551
|
-
"3xl": any;
|
|
552
|
-
"4xl": any;
|
|
553
|
-
};
|
|
554
|
-
fonts: {
|
|
555
|
-
sans: any;
|
|
556
|
-
mono: any;
|
|
557
|
-
display: any;
|
|
558
|
-
body: any;
|
|
559
|
-
};
|
|
560
|
-
sizes: {
|
|
561
|
-
"0": any;
|
|
562
|
-
"1": any;
|
|
563
|
-
"2": any;
|
|
564
|
-
"3": any;
|
|
565
|
-
"4": any;
|
|
566
|
-
"5": any;
|
|
567
|
-
"6": any;
|
|
568
|
-
"7": any;
|
|
569
|
-
"8": any;
|
|
570
|
-
};
|
|
571
|
-
radii: {
|
|
572
|
-
"0": any;
|
|
573
|
-
"1": any;
|
|
574
|
-
"2": any;
|
|
575
|
-
"3": any;
|
|
576
|
-
round: any;
|
|
577
|
-
};
|
|
578
|
-
shadows: {
|
|
579
|
-
"0": any;
|
|
580
|
-
"1": any;
|
|
581
|
-
"2": any;
|
|
582
|
-
"3": any;
|
|
583
|
-
};
|
|
584
|
-
ratios: {
|
|
585
|
-
"16-9": any;
|
|
586
|
-
"3-2": any;
|
|
587
|
-
"4-3": any;
|
|
588
|
-
"1-1": any;
|
|
589
|
-
"3-4": any;
|
|
590
|
-
};
|
|
591
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
592
|
-
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
593
|
-
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
594
|
-
};
|
|
595
|
-
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
596
|
-
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
597
|
-
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
598
|
-
};
|
|
599
|
-
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
600
|
-
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
601
|
-
};
|
|
602
|
-
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
603
|
-
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
604
|
-
};
|
|
605
|
-
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
606
|
-
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
607
|
-
};
|
|
608
|
-
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
609
|
-
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
610
|
-
};
|
|
611
|
-
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
612
|
-
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
613
|
-
};
|
|
614
|
-
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
615
|
-
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
616
|
-
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
617
|
-
};
|
|
618
|
-
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
619
|
-
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
620
|
-
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
621
|
-
};
|
|
622
|
-
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
623
|
-
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
624
|
-
};
|
|
625
|
-
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
626
|
-
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
627
|
-
};
|
|
628
|
-
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
629
|
-
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
630
|
-
};
|
|
631
|
-
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
632
|
-
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
633
|
-
};
|
|
634
|
-
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
635
|
-
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
636
|
-
};
|
|
637
|
-
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
638
|
-
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
639
|
-
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
640
|
-
};
|
|
641
|
-
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
642
|
-
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
643
|
-
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
644
|
-
};
|
|
645
|
-
}> | undefined;
|
|
646
|
-
}, "is" | "as"> & {
|
|
647
|
-
is: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
648
|
-
as?: undefined;
|
|
649
|
-
}>, {}, {
|
|
650
|
-
sm: string;
|
|
651
|
-
md: string;
|
|
652
|
-
lg: string;
|
|
653
|
-
xl: string;
|
|
654
|
-
reducedMotion: string;
|
|
655
|
-
allowMotion: string;
|
|
656
|
-
hover: string;
|
|
657
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
658
|
-
sm: string;
|
|
659
|
-
md: string;
|
|
660
|
-
lg: string;
|
|
661
|
-
xl: string;
|
|
662
|
-
reducedMotion: string;
|
|
663
|
-
allowMotion: string;
|
|
664
|
-
hover: string;
|
|
665
|
-
}, {
|
|
666
|
-
colors: {
|
|
667
|
-
textForeground: any;
|
|
668
|
-
textSubtle: any;
|
|
669
|
-
textPlaceholder: any;
|
|
670
|
-
background: any;
|
|
671
|
-
backgroundAccent: any;
|
|
672
|
-
grey100: any;
|
|
673
|
-
grey200: any;
|
|
674
|
-
grey300: any;
|
|
675
|
-
grey400: any;
|
|
676
|
-
grey500: any;
|
|
677
|
-
grey600: any;
|
|
678
|
-
grey700: any;
|
|
679
|
-
grey800: any;
|
|
680
|
-
grey900: any;
|
|
681
|
-
grey1000: any;
|
|
682
|
-
grey1100: any;
|
|
683
|
-
grey1200: any;
|
|
684
|
-
blue100: any;
|
|
685
|
-
blue200: any;
|
|
686
|
-
blue300: any;
|
|
687
|
-
blue400: any;
|
|
688
|
-
blue500: any;
|
|
689
|
-
blue600: any;
|
|
690
|
-
blue700: any;
|
|
691
|
-
blue800: any;
|
|
692
|
-
blue900: any;
|
|
693
|
-
blue1000: any;
|
|
694
|
-
blue1100: any;
|
|
695
|
-
blue1200: any;
|
|
696
|
-
purple100: any;
|
|
697
|
-
purple200: any;
|
|
698
|
-
purple300: any;
|
|
699
|
-
purple400: any;
|
|
700
|
-
purple500: any;
|
|
701
|
-
purple600: any;
|
|
702
|
-
purple700: any;
|
|
703
|
-
purple800: any;
|
|
704
|
-
purple900: any;
|
|
705
|
-
purple1000: any;
|
|
706
|
-
purple1100: any;
|
|
707
|
-
purple1200: any;
|
|
708
|
-
cyan100: any;
|
|
709
|
-
cyan200: any;
|
|
710
|
-
cyan300: any;
|
|
711
|
-
cyan400: any;
|
|
712
|
-
cyan500: any;
|
|
713
|
-
cyan600: any;
|
|
714
|
-
cyan700: any;
|
|
715
|
-
cyan800: any;
|
|
716
|
-
cyan900: any;
|
|
717
|
-
cyan1000: any;
|
|
718
|
-
cyan1100: any;
|
|
719
|
-
cyan1200: any;
|
|
720
|
-
green100: any;
|
|
721
|
-
green200: any;
|
|
722
|
-
green300: any;
|
|
723
|
-
green400: any;
|
|
724
|
-
green500: any;
|
|
725
|
-
green600: any;
|
|
726
|
-
green700: any;
|
|
727
|
-
green800: any;
|
|
728
|
-
green900: any;
|
|
729
|
-
green1000: any;
|
|
730
|
-
green1100: any;
|
|
731
|
-
green1200: any;
|
|
732
|
-
magenta100: any;
|
|
733
|
-
magenta200: any;
|
|
734
|
-
magenta300: any;
|
|
735
|
-
magenta400: any;
|
|
736
|
-
magenta500: any;
|
|
737
|
-
magenta600: any;
|
|
738
|
-
magenta700: any;
|
|
739
|
-
magenta800: any;
|
|
740
|
-
magenta900: any;
|
|
741
|
-
magenta1000: any;
|
|
742
|
-
magenta1100: any;
|
|
743
|
-
magenta1200: any;
|
|
744
|
-
red100: any;
|
|
745
|
-
red200: any;
|
|
746
|
-
red300: any;
|
|
747
|
-
red400: any;
|
|
748
|
-
red500: any;
|
|
749
|
-
red600: any;
|
|
750
|
-
red700: any;
|
|
751
|
-
red800: any;
|
|
752
|
-
red900: any;
|
|
753
|
-
red1000: any;
|
|
754
|
-
red1100: any;
|
|
755
|
-
red1200: any;
|
|
756
|
-
teal100: any;
|
|
757
|
-
teal200: any;
|
|
758
|
-
teal300: any;
|
|
759
|
-
teal400: any;
|
|
760
|
-
teal500: any;
|
|
761
|
-
teal600: any;
|
|
762
|
-
teal700: any;
|
|
763
|
-
teal800: any;
|
|
764
|
-
teal900: any;
|
|
765
|
-
teal1000: any;
|
|
766
|
-
teal1100: any;
|
|
767
|
-
teal1200: any;
|
|
768
|
-
orange100: any;
|
|
769
|
-
orange200: any;
|
|
770
|
-
orange300: any;
|
|
771
|
-
orange400: any;
|
|
772
|
-
orange500: any;
|
|
773
|
-
orange600: any;
|
|
774
|
-
orange700: any;
|
|
775
|
-
orange800: any;
|
|
776
|
-
orange900: any;
|
|
777
|
-
orange1000: any;
|
|
778
|
-
orange1100: any;
|
|
779
|
-
orange1200: any;
|
|
780
|
-
yellow100: any;
|
|
781
|
-
yellow200: any;
|
|
782
|
-
yellow300: any;
|
|
783
|
-
yellow400: any;
|
|
784
|
-
yellow500: any;
|
|
785
|
-
yellow600: any;
|
|
786
|
-
yellow700: any;
|
|
787
|
-
yellow800: any;
|
|
788
|
-
yellow900: any;
|
|
789
|
-
yellow1000: any;
|
|
790
|
-
yellow1100: any;
|
|
791
|
-
yellow1200: any;
|
|
792
|
-
lime100: any;
|
|
793
|
-
lime200: any;
|
|
794
|
-
lime300: any;
|
|
795
|
-
lime400: any;
|
|
796
|
-
lime500: any;
|
|
797
|
-
lime600: any;
|
|
798
|
-
lime700: any;
|
|
799
|
-
lime800: any;
|
|
800
|
-
lime900: any;
|
|
801
|
-
lime1000: any;
|
|
802
|
-
lime1100: any;
|
|
803
|
-
lime1200: any;
|
|
804
|
-
tonal50: any;
|
|
805
|
-
tonal100: any;
|
|
806
|
-
tonal200: any;
|
|
807
|
-
tonal300: any;
|
|
808
|
-
tonal400: any;
|
|
809
|
-
tonal500: any;
|
|
810
|
-
tonal600: any;
|
|
811
|
-
alpha100: any;
|
|
812
|
-
alpha150: any;
|
|
813
|
-
alpha200: any;
|
|
814
|
-
alpha250: any;
|
|
815
|
-
alpha600: any;
|
|
816
|
-
primaryLight: any;
|
|
817
|
-
primary: any;
|
|
818
|
-
primaryMid: any;
|
|
819
|
-
primaryDark: any;
|
|
820
|
-
secondary: any;
|
|
821
|
-
brandRed: any;
|
|
822
|
-
brandRedAccent: any;
|
|
823
|
-
brandGreen: any;
|
|
824
|
-
brandGreenAccent: any;
|
|
825
|
-
brandPurple: any;
|
|
826
|
-
brandPurpleAccent: any;
|
|
827
|
-
brandYellow: any;
|
|
828
|
-
brandYellowAccent: any;
|
|
829
|
-
successLight: any;
|
|
830
|
-
success: any;
|
|
831
|
-
successMid: any;
|
|
832
|
-
successDark: any;
|
|
833
|
-
dangerLight: any;
|
|
834
|
-
danger: any;
|
|
835
|
-
dangerMid: any;
|
|
836
|
-
dangerDark: any;
|
|
837
|
-
warningLight: any;
|
|
838
|
-
warning: any;
|
|
839
|
-
warningMid: any;
|
|
840
|
-
warningDark: any;
|
|
841
|
-
warningText: any;
|
|
842
|
-
subjectEnglish: any;
|
|
843
|
-
subjectMaths: any;
|
|
844
|
-
subjectScience: any;
|
|
845
|
-
subjectVerbalReasoning: any;
|
|
846
|
-
subjectNonVerbalReasoning: any;
|
|
847
|
-
subjectCreativeWriting: any;
|
|
848
|
-
subjectExamSkills: any;
|
|
849
|
-
glBlueLight: any;
|
|
850
|
-
glBluePrimary: any;
|
|
851
|
-
glBlueDark: any;
|
|
852
|
-
};
|
|
853
|
-
space: {
|
|
854
|
-
"0": any;
|
|
855
|
-
"1": any;
|
|
856
|
-
"2": any;
|
|
857
|
-
"3": any;
|
|
858
|
-
"4": any;
|
|
859
|
-
"5": any;
|
|
860
|
-
"6": any;
|
|
861
|
-
"7": any;
|
|
862
|
-
"8": any;
|
|
863
|
-
"9": any;
|
|
864
|
-
"24": any;
|
|
865
|
-
};
|
|
866
|
-
fontSizes: {
|
|
867
|
-
xs: any;
|
|
868
|
-
sm: any;
|
|
869
|
-
md: any;
|
|
870
|
-
lg: any;
|
|
871
|
-
xl: any;
|
|
872
|
-
"2xl": any;
|
|
873
|
-
"3xl": any;
|
|
874
|
-
"4xl": any;
|
|
875
|
-
};
|
|
876
|
-
fonts: {
|
|
877
|
-
sans: any;
|
|
878
|
-
mono: any;
|
|
879
|
-
display: any;
|
|
880
|
-
body: any;
|
|
881
|
-
};
|
|
882
|
-
sizes: {
|
|
883
|
-
"0": any;
|
|
884
|
-
"1": any;
|
|
885
|
-
"2": any;
|
|
886
|
-
"3": any;
|
|
887
|
-
"4": any;
|
|
888
|
-
"5": any;
|
|
889
|
-
"6": any;
|
|
890
|
-
"7": any;
|
|
891
|
-
"8": any;
|
|
892
|
-
};
|
|
893
|
-
radii: {
|
|
894
|
-
"0": any;
|
|
895
|
-
"1": any;
|
|
896
|
-
"2": any;
|
|
897
|
-
"3": any;
|
|
898
|
-
round: any;
|
|
899
|
-
};
|
|
900
|
-
shadows: {
|
|
901
|
-
"0": any;
|
|
902
|
-
"1": any;
|
|
903
|
-
"2": any;
|
|
904
|
-
"3": any;
|
|
905
|
-
};
|
|
906
|
-
ratios: {
|
|
907
|
-
"16-9": any;
|
|
908
|
-
"3-2": any;
|
|
909
|
-
"4-3": any;
|
|
910
|
-
"1-1": any;
|
|
911
|
-
"3-4": any;
|
|
912
|
-
};
|
|
913
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
914
|
-
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
915
|
-
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
916
|
-
};
|
|
917
|
-
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
918
|
-
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
919
|
-
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
920
|
-
};
|
|
921
|
-
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
922
|
-
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
923
|
-
};
|
|
924
|
-
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
925
|
-
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
926
|
-
};
|
|
927
|
-
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
928
|
-
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
929
|
-
};
|
|
930
|
-
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
931
|
-
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
932
|
-
};
|
|
933
|
-
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
934
|
-
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
935
|
-
};
|
|
936
|
-
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
937
|
-
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
938
|
-
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
939
|
-
};
|
|
940
|
-
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
941
|
-
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
942
|
-
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
943
|
-
};
|
|
944
|
-
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
945
|
-
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
946
|
-
};
|
|
947
|
-
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
948
|
-
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
949
|
-
};
|
|
950
|
-
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
951
|
-
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
952
|
-
};
|
|
953
|
-
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
954
|
-
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
955
|
-
};
|
|
956
|
-
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
957
|
-
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
958
|
-
};
|
|
959
|
-
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
960
|
-
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
961
|
-
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
962
|
-
};
|
|
963
|
-
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
964
|
-
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
965
|
-
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
966
|
-
};
|
|
967
|
-
}>>;
|
|
968
322
|
export declare const ChipIcon: typeof Icon;
|
|
969
323
|
declare const ChipContent: ({ children, ...rest }: {
|
|
970
324
|
[x: string]: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import{Box as
|
|
1
|
+
import*as e from"react";import{Box as $}from"../box/Box.js";import{Flex as C}from"../flex/Flex.js";import{Icon as c}from"../icon/Icon.js";import{getTextVariant as m}from"../text/Text.js";import{styled as p}from"../../stitches.js";import{overrideStitchesVariantValue as g}from"../../utilities/override-stitches-variant-value/overrideStitchesVariantValue.js";const d={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},h=p("span",{display:"inline-flex",alignItems:"center",px:"$1",flexGrow:1,...d,"& > *:not(:last-child)":{mr:"$1"}}),z={sm:"sm",md:"sm",lg:"md"},a=({...t})=>{const r=e.useContext(l),{size:o}=r,s=e.useMemo(()=>g(o,i=>z[i]),[o]);return e.createElement(c,{...t,size:s})},u=({children:t,...r})=>{const o=e.Children.toArray(t),s=o.length<=1;return e.createElement(h,{...r},o.map((i,x)=>!s&&typeof i=="string"?e.createElement($,{as:"span",css:d,key:i},i):e.isValidElement(i)&&i.type===c?e.createElement(a,{key:`icon-${x}`,...i.props}):i))},y=p(C,{px:"$2",border:"1px solid",borderRadius:"$0",alignItems:"center",fontFamily:"$body",maxWidth:"100%",borderColor:"$primary",color:"$primaryMid",bg:"$primaryLight","&[data-disabled]":{opacity:"0.3",pointerEvents:"none"},variants:{size:{sm:{height:"$2",...m({size:"sm"})},md:{height:"$3",...m({size:"sm"})},lg:{height:"$4",...m({size:"md"})}}}}),l=e.createContext({}),f=({size:t,children:r})=>{const o=e.useMemo(()=>({size:t}),[t]);return e.createElement(l.Provider,{value:o},r)},E=e.forwardRef(({size:t="md",...r},o)=>e.createElement(f,{size:t},e.createElement(y,{ref:o,size:t,...r}))),n=E;n.Content=u,n.Icon=a,n.displayName="Chip";export{n as Chip,a as ChipIcon,l as ChipRootContext,f as ChipRootProvider,h as StyledChipContent,y as StyledRoot};
|
|
2
2
|
//# sourceMappingURL=Chip.js.map
|