@jeromefitz/design-system 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/{Label-aac2b752.d.ts → Label-62941c9d.d.ts} +1 -1
- package/{Slider-2071e096.d.ts → Slider-0f202bd6.d.ts} +1 -1
- package/components/Label/index.d.ts +1 -1
- package/components/Slider/index.d.ts +1 -1
- package/components/index.d.ts +2 -2
- package/custom/Hero/index.js +1 -1
- package/index.d.ts +2 -2
- package/package.json +41 -41
@@ -4,7 +4,7 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
|
|
4
4
|
import * as react from 'react';
|
5
5
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
6
6
|
|
7
|
-
declare const Label: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<LabelPrimitive.LabelProps & react.RefAttributes<
|
7
|
+
declare const Label: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<LabelPrimitive.LabelProps & react.RefAttributes<HTMLLabelElement>>, _stitches_react_types_styled_component.StyledComponentProps<[_stitches_react_types_styled_component.StyledComponent<"span", _stitches_react_types_styled_component.StyledComponentProps<[{
|
8
8
|
lineHeight: string;
|
9
9
|
margin: string;
|
10
10
|
fontVariationSettings: string;
|
@@ -433,6 +433,6 @@ declare type SliderPrimitiveProps = ComponentProps<typeof SliderPrimitive.Root>;
|
|
433
433
|
declare type SliderProps = SliderPrimitiveProps & {
|
434
434
|
css?: CSS;
|
435
435
|
};
|
436
|
-
declare const Slider: react.ForwardRefExoticComponent<Pick<SliderProps, "max" | "color" | "translate" | "hidden" | "css" | "prefix" | "slot" | "style" | "title" | "className" | "id" | "lang" | "min" | "name" | "role" | "tabIndex" | "orientation" | "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" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "step" | "value" | "asChild" | "disabled" | "onValueChange" | "minStepsBetweenThumbs"> & react.RefAttributes<HTMLSpanElement>>;
|
436
|
+
declare const Slider: react.ForwardRefExoticComponent<Pick<SliderProps, "max" | "color" | "translate" | "hidden" | "css" | "prefix" | "slot" | "style" | "title" | "className" | "id" | "lang" | "min" | "name" | "role" | "tabIndex" | "orientation" | "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" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "step" | "value" | "asChild" | "disabled" | "onValueChange" | "inverted" | "minStepsBetweenThumbs" | "onValueCommit"> & react.RefAttributes<HTMLSpanElement>>;
|
437
437
|
|
438
438
|
export { StyledSlider as S, Slider as a };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { a as Slider, S as StyledSlider } from '../../Slider-
|
1
|
+
export { a as Slider, S as StyledSlider } from '../../Slider-0f202bd6.js';
|
2
2
|
import '@stitches/react/types/styled-component';
|
3
3
|
import '@stitches/react/types/css-util';
|
4
4
|
import '@stitches/react/types/config';
|
package/components/index.d.ts
CHANGED
@@ -31,7 +31,7 @@ export { I as Icon } from '../Icon-d48f2f08.js';
|
|
31
31
|
export { I as IconButton } from '../IconButton-61b70df5.js';
|
32
32
|
export { I as Image } from '../Image-7a9c2ac8.js';
|
33
33
|
export { K as Kbd } from '../Kbd-ee11e8ee.js';
|
34
|
-
export { L as Label } from '../Label-
|
34
|
+
export { L as Label } from '../Label-62941c9d.js';
|
35
35
|
export { L as Link } from '../Link-9d116ca4.js';
|
36
36
|
export { L as LoadingDots } from '../LoadingDots-b37f3f06.js';
|
37
37
|
export { M as Menu, a as MenuCheckboxItem, b as MenuGroup, c as MenuItem, d as MenuLabel, e as MenuRadioGroup, f as MenuRadioItem, g as MenuSeparator } from '../Menu-6ad1af6d.js';
|
@@ -52,7 +52,7 @@ export { S as Select, d as SelectContent, f as SelectGroup, c as SelectIcon, g a
|
|
52
52
|
export { S as Separator } from '../Separator-190f52e3.js';
|
53
53
|
export { S as Sheet, a as SheetClose, b as SheetContent, c as SheetDescription, d as SheetPortal, e as SheetTitle, f as SheetTrigger, g as StyledCloseButton, h as StyledContent, i as StyledOverlay } from '../Sheet-147a6bea.js';
|
54
54
|
export { S as Skeleton } from '../Skeleton-b7ef8d20.js';
|
55
|
-
export { a as Slider, S as StyledSlider } from '../Slider-
|
55
|
+
export { a as Slider, S as StyledSlider } from '../Slider-0f202bd6.js';
|
56
56
|
export { S as Spacer } from '../Spacer-180a9f56.js';
|
57
57
|
export { S as Status } from '../Status-d976a923.js';
|
58
58
|
export { S as Sub } from '../Sub-cd08549a.js';
|
package/custom/Hero/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{a as u}from"../../chunk-3B3LQGIC.js";import{a as P}from"../../chunk-7ALJGZ2Q.js";import{a as d}from"../../chunk-6ZXOPKG4.js";import{a}from"../../chunk-BKPZHMDL.js";import{a as p}from"../../chunk-MVW3QBXV.js";import{h as e}from"../../chunk-PG2YH4JF.js";import{jsx as b}from"react/jsx-runtime";var T=e("div",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",bc:"$loContrast",br:"$4",py:10,px:10,marginTop:-15,boxShadow:"0px 5px 30px -5px rgba(0, 0, 0, 0.1)","& ::selection":{backgroundColor:"$blueA5"}}),K="Lorem ipsum dolor sit.";function k(){return b(T,{children:b(p,{css:{height:"100%",my:"0"},children:b(d,{size:"2",css:{lineHeight:"1.5",mb:"$2"},children:K})})})}import H from"next/legacy/image";import{jsx as h}from"react/jsx-runtime";var L={meta:{base64:"data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAEAAQDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAeEAABBAIDAQAAAAAAAAAAAAABAAMEBQIGEyIxYf/EABUBAQEAAAAAAAAAAAAAAAAAAAEF/8QAGREBAQEBAQEAAAAAAAAAAAAAAQIDABGR/9oADAMBAAIRAxEAPwCfGlwqbX9eZZoaWSXq1mQ47LjczmWeYJPYnz4iIquet1ItPDlA+Enzv//Z",img:{src:"https://i.scdn.co/image/ab67616d0000b273a33ac83de4bc24bbf75c8b60",width:640,height:640,type:"jpg"},slug:"httpsiscdncoimageab67616d0000b273a33ac83de4bc24bbf75c8b60",url:"https://i.scdn.co/image/ab67616d0000b273a33ac83de4bc24bbf75c8b60"}},Q=e("div",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%","& ::selection":{backgroundColor:"$blueA5"}});function F({alt:l="",meta:m=L.meta}){let{base64:A,img:f}=m;return h(Q,{children:h(p,{css:{height:"100%",my:"0"},children:h(H,{alt:l,blurDataURL:A,layout:"responsive",loading:"lazy",placeholder:"blur",priority:!1,quality:100,sizes:"(min-width: 1280) 80vh, 60vh",...f})})})}import*as i from"@radix-ui/react-dialog";import{useRef as O}from"react";var B=e("button",{boxSizing:"border-box",position:"absolute",display:"inline-flex",jc:"center",ai:"center",width:25,height:25,top:0,right:0,background:"none",padding:0,margin:0,outline:0,borderRadius:"$2",color:"$hiContrast",border:"2px solid transparent",backgroundClip:"padding-box","@hover":{"&:hover":{bc:"$grayA4"}},"&:active":{bc:"$grayA5"},"&:focus":{borderColor:"$slate8"},"&:focus:not(:focus-visible)":{borderColor:"transparent"}});import{jsx as
|
1
|
+
import{a as u}from"../../chunk-3B3LQGIC.js";import{a as P}from"../../chunk-7ALJGZ2Q.js";import{a as d}from"../../chunk-6ZXOPKG4.js";import{a}from"../../chunk-BKPZHMDL.js";import{a as p}from"../../chunk-MVW3QBXV.js";import{h as e}from"../../chunk-PG2YH4JF.js";import{jsx as b}from"react/jsx-runtime";var T=e("div",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",bc:"$loContrast",br:"$4",py:10,px:10,marginTop:-15,boxShadow:"0px 5px 30px -5px rgba(0, 0, 0, 0.1)","& ::selection":{backgroundColor:"$blueA5"}}),K="Lorem ipsum dolor sit.";function k(){return b(T,{children:b(p,{css:{height:"100%",my:"0"},children:b(d,{size:"2",css:{lineHeight:"1.5",mb:"$2"},children:K})})})}import H from"next/legacy/image";import{jsx as h}from"react/jsx-runtime";var L={meta:{base64:"data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAEAAQDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAeEAABBAIDAQAAAAAAAAAAAAABAAMEBQIGEyIxYf/EABUBAQEAAAAAAAAAAAAAAAAAAAEF/8QAGREBAQEBAQEAAAAAAAAAAAAAAQIDABGR/9oADAMBAAIRAxEAPwCfGlwqbX9eZZoaWSXq1mQ47LjczmWeYJPYnz4iIquet1ItPDlA+Enzv//Z",img:{src:"https://i.scdn.co/image/ab67616d0000b273a33ac83de4bc24bbf75c8b60",width:640,height:640,type:"jpg"},slug:"httpsiscdncoimageab67616d0000b273a33ac83de4bc24bbf75c8b60",url:"https://i.scdn.co/image/ab67616d0000b273a33ac83de4bc24bbf75c8b60"}},Q=e("div",{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%","& ::selection":{backgroundColor:"$blueA5"}});function F({alt:l="",meta:m=L.meta}){let{base64:A,img:f}=m;return h(Q,{children:h(p,{css:{height:"100%",my:"0"},children:h(H,{alt:l,blurDataURL:A,layout:"responsive",loading:"lazy",placeholder:"blur",priority:!1,quality:100,sizes:"(min-width: 1280) 80vh, 60vh",...f})})})}import*as i from"@radix-ui/react-dialog";import{useRef as O}from"react";var B=e("button",{boxSizing:"border-box",position:"absolute",display:"inline-flex",jc:"center",ai:"center",width:25,height:25,top:0,right:0,background:"none",padding:0,margin:0,outline:0,borderRadius:"$2",color:"$hiContrast",border:"2px solid transparent",backgroundClip:"padding-box","@hover":{"&:hover":{bc:"$grayA4"}},"&:active":{bc:"$grayA5"},"&:focus":{borderColor:"$slate8"},"&:focus:not(:focus-visible)":{borderColor:"transparent"}});import{jsx as n,jsxs as D}from"react/jsx-runtime";var Y=e(i.Content,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",bc:"$loContrast",br:"$2",py:10,px:10,marginTop:-15,boxShadow:"0px 5px 30px -5px rgba(0, 0, 0, 0.1)","& ::selection":{backgroundColor:"$blueA5"}});function G(){let l=O(!1);return D(i.Root,{modal:!1,defaultOpen:!0,children:[n(i.Trigger,{asChild:!0,children:n(u,{children:"Open Dialog"})}),D(Y,{onInteractOutside:m=>m.preventDefault(),onOpenAutoFocus:m=>{l.current===!1&&(m.preventDefault(),l.current=!0)},children:[n(i.Title,{asChild:!0,children:n(d,{as:"h2",size:"4",css:{fontWeight:"500",mb:"$2",lineHeight:1.2},children:"Dialog"})}),n(d,{size:"2",css:{lineHeight:1.5,mb:"$2"},children:"Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts."}),D(P,{justify:"end",gap:"2",children:[n(i.Close,{asChild:!0,children:n(u,{variant:"gray",children:"OK"})}),n(i.Close,{asChild:!0,children:n(u,{variant:"gray",children:"Cancel"})}),n(i.Close,{asChild:!0,children:n(B,{children:n(a.Cross2,{})})})]})]})]})}import*as o from"@radix-ui/react-dropdown-menu";import{useRef as C,useState as w}from"react";import{jsx as t,jsxs as r}from"react/jsx-runtime";var z=e(o.Arrow,{fill:"$loContrast"}),U=e(o.Content,{bc:"$loContrast",br:"$2",p:"$1",boxShadow:"0px 5px 30px -5px rgba(0, 0, 0, 0.1), 0 1px 3px -1px rgba(0, 0, 0, 0.2)"}),$=e(o.Separator,{bc:"$slate4",height:1,my:"$1",ml:"$5",mr:"$1"}),x={display:"flex",alignItems:"center",fontFamily:"$sans",fontSize:"$1",fontVariantNumeric:"tabular-nums",lineHeight:"1",cursor:"default",userSelect:"none",whiteSpace:"nowrap",height:"$5",color:"$hiContrast",minWidth:90,pl:"$5",pr:"$4",br:"$1",'&[data-state="open"]':{backgroundColor:"$slate3"},"&:focus, &:active":{outline:0,backgroundColor:"$indigo9",color:"white"}},g=e(o.Item,x),W=e(o.Sub,{}),j=e(o.SubContent,{}),q=e(o.SubTrigger,x),S=e(o.CheckboxItem,x);function N(){let l=C(!1),[m,A]=w(!0),[f,E]=w(!1),M=C(null),v=C(null),[R,I]=w(!0);return r(o.Root,{modal:!1,open:R,onOpenChange:I,children:[t(o.Trigger,{asChild:!0,children:r(u,{ref:M,css:{marginBottom:120,gap:3},children:["Options ",t(a.CaretDown,{style:{marginRight:-5}})]})}),t(p,{css:{"[data-radix-popper-content-wrapper]":{left:"50% !important",transform:"translate(-50%, 155px) !important"}},children:r(U,{ref:v,sideOffset:5,portalled:!1,avoidCollisions:!1,onEscapeKeyDown:s=>{var y;s.preventDefault(),s.target instanceof HTMLElement&&((y=v.current)==null?void 0:y.contains(s.target))&&I(!1)},onInteractOutside:s=>{s.target!==M.current&&s.preventDefault()},onOpenAutoFocus:s=>{l.current===!1&&(s.preventDefault(),l.current=!0)},children:[t(z,{}),t(g,{children:"New Tab"}),t(g,{children:"New Window"}),t($,{}),t(o.Root,{children:r(W,{children:[r(q,{children:["Favorites",t(a.CaretRight,{style:{marginLeft:"auto",marginRight:-5}})]}),r(j,{children:[r(g,{children:[t(a.GitHubLogo,{style:{marginLeft:-15,marginRight:10}}),"GitHub"]}),r(g,{children:[t(a.TwitterLogo,{style:{marginLeft:-15,marginRight:10}}),"Twitter"]}),r(g,{children:[t(a.InstagramLogo,{style:{marginLeft:-15,marginRight:10}}),"Instagram"]})]})]})}),t(g,{children:"Downloads"}),t($,{}),r(S,{checked:m,onCheckedChange:A,children:[t(o.ItemIndicator,{children:t(a.Check,{style:{marginLeft:-18,marginRight:0}})}),"Show Toolbar"]}),r(S,{checked:f,onCheckedChange:E,children:[t(o.ItemIndicator,{children:t(a.Check,{style:{marginLeft:-18,marginRight:0}})}),"Show Full URLs"]})]})})]})}export{k as Empty,F as HeroImage,G as MainHeroDialog,N as MainHeroDropdownMenu};
|
package/index.d.ts
CHANGED
@@ -32,7 +32,7 @@ export { CSS, config, createTheme, css, darkTheme, getCssText, globalCss, keyfra
|
|
32
32
|
export { I as IconButton } from './IconButton-61b70df5.js';
|
33
33
|
export { I as Image } from './Image-7a9c2ac8.js';
|
34
34
|
export { K as Kbd } from './Kbd-ee11e8ee.js';
|
35
|
-
export { L as Label } from './Label-
|
35
|
+
export { L as Label } from './Label-62941c9d.js';
|
36
36
|
export { L as Link } from './Link-9d116ca4.js';
|
37
37
|
export { L as LoadingDots } from './LoadingDots-b37f3f06.js';
|
38
38
|
export { M as Menu, a as MenuCheckboxItem, b as MenuGroup, c as MenuItem, d as MenuLabel, e as MenuRadioGroup, f as MenuRadioItem, g as MenuSeparator } from './Menu-6ad1af6d.js';
|
@@ -53,7 +53,7 @@ export { S as Select, d as SelectContent, f as SelectGroup, c as SelectIcon, g a
|
|
53
53
|
export { S as Separator } from './Separator-190f52e3.js';
|
54
54
|
export { S as Sheet, a as SheetClose, b as SheetContent, c as SheetDescription, d as SheetPortal, e as SheetTitle, f as SheetTrigger, g as StyledCloseButton, h as StyledContent, i as StyledOverlay } from './Sheet-147a6bea.js';
|
55
55
|
export { S as Skeleton } from './Skeleton-b7ef8d20.js';
|
56
|
-
export { a as Slider, S as StyledSlider } from './Slider-
|
56
|
+
export { a as Slider, S as StyledSlider } from './Slider-0f202bd6.js';
|
57
57
|
export { S as Spacer } from './Spacer-180a9f56.js';
|
58
58
|
export { S as Status } from './Status-d976a923.js';
|
59
59
|
export { S as Sub } from './Sub-cd08549a.js';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"private": false,
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "4.1.
|
4
|
+
"version": "4.1.5",
|
5
5
|
"name": "@jeromefitz/design-system",
|
6
6
|
"description": "Design System for JeromeFitzgerald.com (Radix UI)",
|
7
7
|
"author": {
|
@@ -42,58 +42,58 @@
|
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
44
|
"@radix-ui/primitive": "1.0.0",
|
45
|
-
"@radix-ui/react-accessible-icon": "1.0.
|
46
|
-
"@radix-ui/react-accordion": "1.0.
|
47
|
-
"@radix-ui/react-alert-dialog": "1.0.
|
48
|
-
"@radix-ui/react-announce": "0.1.
|
49
|
-
"@radix-ui/react-arrow": "1.0.
|
50
|
-
"@radix-ui/react-aspect-ratio": "1.0.
|
51
|
-
"@radix-ui/react-avatar": "1.0.
|
52
|
-
"@radix-ui/react-checkbox": "1.0.
|
53
|
-
"@radix-ui/react-collapsible": "1.0.
|
54
|
-
"@radix-ui/react-collection": "1.0.
|
45
|
+
"@radix-ui/react-accessible-icon": "1.0.1",
|
46
|
+
"@radix-ui/react-accordion": "1.0.1",
|
47
|
+
"@radix-ui/react-alert-dialog": "1.0.2",
|
48
|
+
"@radix-ui/react-announce": "0.1.6",
|
49
|
+
"@radix-ui/react-arrow": "1.0.1",
|
50
|
+
"@radix-ui/react-aspect-ratio": "1.0.1",
|
51
|
+
"@radix-ui/react-avatar": "1.0.1",
|
52
|
+
"@radix-ui/react-checkbox": "1.0.1",
|
53
|
+
"@radix-ui/react-collapsible": "1.0.1",
|
54
|
+
"@radix-ui/react-collection": "1.0.1",
|
55
55
|
"@radix-ui/react-compose-refs": "1.0.0",
|
56
56
|
"@radix-ui/react-context": "1.0.0",
|
57
|
-
"@radix-ui/react-context-menu": "
|
58
|
-
"@radix-ui/react-dialog": "1.0.
|
57
|
+
"@radix-ui/react-context-menu": "2.0.1",
|
58
|
+
"@radix-ui/react-dialog": "1.0.2",
|
59
59
|
"@radix-ui/react-direction": "1.0.0",
|
60
|
-
"@radix-ui/react-dismissable-layer": "1.0.
|
61
|
-
"@radix-ui/react-dropdown-menu": "
|
60
|
+
"@radix-ui/react-dismissable-layer": "1.0.2",
|
61
|
+
"@radix-ui/react-dropdown-menu": "2.0.1",
|
62
62
|
"@radix-ui/react-focus-guards": "1.0.0",
|
63
|
-
"@radix-ui/react-focus-scope": "1.0.
|
64
|
-
"@radix-ui/react-hover-card": "1.0.
|
63
|
+
"@radix-ui/react-focus-scope": "1.0.1",
|
64
|
+
"@radix-ui/react-hover-card": "1.0.2",
|
65
65
|
"@radix-ui/react-id": "1.0.0",
|
66
|
-
"@radix-ui/react-label": "
|
67
|
-
"@radix-ui/react-menu": "
|
68
|
-
"@radix-ui/react-navigation-menu": "1.
|
69
|
-
"@radix-ui/react-popover": "1.0.
|
70
|
-
"@radix-ui/react-popper": "1.0.
|
71
|
-
"@radix-ui/react-portal": "1.0.
|
66
|
+
"@radix-ui/react-label": "2.0.0",
|
67
|
+
"@radix-ui/react-menu": "2.0.1",
|
68
|
+
"@radix-ui/react-navigation-menu": "1.1.1",
|
69
|
+
"@radix-ui/react-popover": "1.0.2",
|
70
|
+
"@radix-ui/react-popper": "1.0.1",
|
71
|
+
"@radix-ui/react-portal": "1.0.1",
|
72
72
|
"@radix-ui/react-presence": "1.0.0",
|
73
|
-
"@radix-ui/react-primitive": "1.0.
|
74
|
-
"@radix-ui/react-progress": "1.0.
|
75
|
-
"@radix-ui/react-radio-group": "1.
|
76
|
-
"@radix-ui/react-roving-focus": "1.0.
|
77
|
-
"@radix-ui/react-scroll-area": "1.0.
|
78
|
-
"@radix-ui/react-select": "1.
|
79
|
-
"@radix-ui/react-separator": "1.0.
|
80
|
-
"@radix-ui/react-slider": "1.
|
81
|
-
"@radix-ui/react-slot": "1.0.
|
82
|
-
"@radix-ui/react-switch": "1.0.
|
83
|
-
"@radix-ui/react-tabs": "1.0.
|
84
|
-
"@radix-ui/react-toast": "1.
|
85
|
-
"@radix-ui/react-toggle": "1.0.
|
86
|
-
"@radix-ui/react-toggle-group": "1.0.
|
87
|
-
"@radix-ui/react-toolbar": "1.0.
|
88
|
-
"@radix-ui/react-tooltip": "1.0.
|
73
|
+
"@radix-ui/react-primitive": "1.0.1",
|
74
|
+
"@radix-ui/react-progress": "1.0.1",
|
75
|
+
"@radix-ui/react-radio-group": "1.1.0",
|
76
|
+
"@radix-ui/react-roving-focus": "1.0.1",
|
77
|
+
"@radix-ui/react-scroll-area": "1.0.1",
|
78
|
+
"@radix-ui/react-select": "1.1.1",
|
79
|
+
"@radix-ui/react-separator": "1.0.1",
|
80
|
+
"@radix-ui/react-slider": "1.1.0",
|
81
|
+
"@radix-ui/react-slot": "1.0.1",
|
82
|
+
"@radix-ui/react-switch": "1.0.1",
|
83
|
+
"@radix-ui/react-tabs": "1.0.1",
|
84
|
+
"@radix-ui/react-toast": "1.1.1",
|
85
|
+
"@radix-ui/react-toggle": "1.0.1",
|
86
|
+
"@radix-ui/react-toggle-group": "1.0.1",
|
87
|
+
"@radix-ui/react-toolbar": "1.0.1",
|
88
|
+
"@radix-ui/react-tooltip": "1.0.2",
|
89
89
|
"@radix-ui/react-use-callback-ref": "1.0.0",
|
90
90
|
"@radix-ui/react-use-controllable-state": "1.0.0",
|
91
|
-
"@radix-ui/react-use-escape-keydown": "1.0.
|
91
|
+
"@radix-ui/react-use-escape-keydown": "1.0.2",
|
92
92
|
"@radix-ui/react-use-layout-effect": "1.0.0",
|
93
93
|
"@radix-ui/react-use-previous": "1.0.0",
|
94
94
|
"@radix-ui/react-use-rect": "1.0.0",
|
95
95
|
"@radix-ui/react-use-size": "1.0.0",
|
96
|
-
"@radix-ui/react-visually-hidden": "1.0.
|
96
|
+
"@radix-ui/react-visually-hidden": "1.0.1",
|
97
97
|
"@stitches/react": "1.2.8",
|
98
98
|
"emoji-regex": "10.2.1",
|
99
99
|
"node-emoji": "1.11.0",
|