@accelint/design-toolkit 2.4.3 → 2.5.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/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/accordion/styles.d.ts +1 -5
- package/dist/components/accordion/styles.js +1 -1
- package/dist/components/accordion/styles.js.map +1 -1
- package/dist/components/accordion/types.d.ts +9 -10
- package/dist/components/avatar/index.d.ts +4 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.js.map +1 -1
- package/dist/components/avatar/styles.d.ts +16 -15
- package/dist/components/avatar/styles.js +1 -1
- package/dist/components/avatar/styles.js.map +1 -1
- package/dist/components/avatar/types.d.ts +7 -7
- package/dist/components/badge/index.d.ts +3 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/index.js.map +1 -1
- package/dist/components/badge/styles.js +1 -1
- package/dist/components/badge/styles.js.map +1 -1
- package/dist/components/badge/types.d.ts +3 -4
- package/dist/components/box/index.js +1 -1
- package/dist/components/box/index.js.map +1 -1
- package/dist/components/button/index.d.ts +6 -4
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/button/styles.d.ts +25 -24
- package/dist/components/button/styles.js +1 -1
- package/dist/components/button/styles.js.map +1 -1
- package/dist/components/button/types.d.ts +3 -5
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/styles.d.ts +19 -18
- package/dist/components/checkbox/styles.js +1 -1
- package/dist/components/checkbox/styles.js.map +1 -1
- package/dist/components/chip/index.d.ts +4 -2
- package/dist/components/chip/index.js +1 -1
- package/dist/components/chip/index.js.map +1 -1
- package/dist/components/chip/styles.d.ts +70 -69
- package/dist/components/chip/styles.js +1 -1
- package/dist/components/chip/styles.js.map +1 -1
- package/dist/components/chip/types.d.ts +5 -5
- package/dist/components/classification-badge/index.d.ts +3 -2
- package/dist/components/classification-badge/index.js +1 -1
- package/dist/components/classification-badge/index.js.map +1 -1
- package/dist/components/classification-badge/styles.js +1 -1
- package/dist/components/classification-badge/styles.js.map +1 -1
- package/dist/components/classification-badge/types.d.ts +3 -4
- package/dist/components/classification-banner/index.d.ts +3 -2
- package/dist/components/classification-banner/index.js +1 -1
- package/dist/components/classification-banner/index.js.map +1 -1
- package/dist/components/classification-banner/styles.js +1 -1
- package/dist/components/classification-banner/styles.js.map +1 -1
- package/dist/components/classification-banner/types.d.ts +3 -4
- package/dist/components/color-picker/index.d.ts +45 -15
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.js.map +1 -1
- package/dist/components/color-picker/styles.d.ts +42 -0
- package/dist/components/color-picker/styles.js +2 -0
- package/dist/components/color-picker/styles.js.map +1 -0
- package/dist/components/color-picker/types.d.ts +13 -0
- package/dist/components/color-picker/types.js +2 -0
- package/dist/components/color-picker/types.js.map +1 -0
- package/dist/components/combobox/index.d.ts +9 -14
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/combobox/index.js.map +1 -1
- package/dist/components/date-field/index.d.ts +8 -24
- package/dist/components/date-field/index.js +1 -1
- package/dist/components/date-field/index.js.map +1 -1
- package/dist/components/date-field/styles.d.ts +69 -0
- package/dist/components/date-field/styles.js +2 -0
- package/dist/components/date-field/styles.js.map +1 -0
- package/dist/components/date-field/types.d.ts +29 -0
- package/dist/components/date-field/types.js +2 -0
- package/dist/components/date-field/types.js.map +1 -0
- package/dist/components/details-list/index.d.ts +59 -0
- package/dist/components/details-list/index.js +2 -0
- package/dist/components/details-list/index.js.map +1 -0
- package/dist/components/details-list/styles.d.ts +65 -0
- package/dist/components/details-list/styles.js +2 -0
- package/dist/components/details-list/styles.js.map +1 -0
- package/dist/components/details-list/types.d.ts +16 -0
- package/dist/components/details-list/types.js +2 -0
- package/dist/components/details-list/types.js.map +1 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/drawer/context.d.ts +13 -0
- package/dist/components/drawer/context.js +2 -0
- package/dist/components/drawer/context.js.map +1 -0
- package/dist/components/drawer/index.d.ts +48 -0
- package/dist/components/drawer/index.js +2 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/drawer/state.d.ts +26 -0
- package/dist/components/drawer/state.js +2 -0
- package/dist/components/drawer/state.js.map +1 -0
- package/dist/components/drawer/styles.d.ts +118 -0
- package/dist/components/drawer/styles.js +2 -0
- package/dist/components/drawer/styles.js.map +1 -0
- package/dist/components/drawer/types.d.ts +279 -0
- package/dist/components/drawer/types.js +2 -0
- package/dist/components/drawer/types.js.map +1 -0
- package/dist/components/hero/index.d.ts +45 -0
- package/dist/components/hero/index.js +2 -0
- package/dist/components/hero/index.js.map +1 -0
- package/dist/components/hero/styles.d.ts +48 -0
- package/dist/components/hero/styles.js +2 -0
- package/dist/components/hero/styles.js.map +1 -0
- package/dist/components/hero/types.d.ts +13 -0
- package/dist/components/hero/types.js +2 -0
- package/dist/components/hero/types.js.map +1 -0
- package/dist/components/icon/index.d.ts +3 -2
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/icon/styles.js +1 -1
- package/dist/components/icon/styles.js.map +1 -1
- package/dist/components/icon/types.d.ts +4 -5
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/input/styles.js +1 -1
- package/dist/components/input/styles.js.map +1 -1
- package/dist/components/input/types.d.ts +1 -0
- package/dist/components/label/index.d.ts +3 -2
- package/dist/components/label/index.js +1 -1
- package/dist/components/label/index.js.map +1 -1
- package/dist/components/label/styles.js +1 -1
- package/dist/components/label/styles.js.map +1 -1
- package/dist/components/label/types.d.ts +2 -3
- package/dist/components/menu/index.d.ts +16 -21
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/menu/styles.js +1 -1
- package/dist/components/menu/styles.js.map +1 -1
- package/dist/components/navigation-stack/index.d.ts +20 -0
- package/dist/components/navigation-stack/index.js +2 -0
- package/dist/components/navigation-stack/index.js.map +1 -0
- package/dist/components/navigation-stack/types.d.ts +31 -0
- package/dist/components/navigation-stack/types.js +2 -0
- package/dist/components/navigation-stack/types.js.map +1 -0
- package/dist/components/options/index.d.ts +28 -22
- package/dist/components/options/index.js +1 -1
- package/dist/components/options/index.js.map +1 -1
- package/dist/components/options/styles.d.ts +72 -0
- package/dist/components/options/styles.js +2 -0
- package/dist/components/options/styles.js.map +1 -0
- package/dist/components/options/types.d.ts +29 -0
- package/dist/components/options/types.js +2 -0
- package/dist/components/options/types.js.map +1 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/popover/styles.d.ts +16 -15
- package/dist/components/popover/styles.js +1 -1
- package/dist/components/popover/styles.js.map +1 -1
- package/dist/components/query-builder/action-element.js +1 -1
- package/dist/components/query-builder/action-element.js.map +1 -1
- package/dist/components/query-builder/constants.js +1 -1
- package/dist/components/query-builder/constants.js.map +1 -1
- package/dist/components/query-builder/group.js +1 -1
- package/dist/components/query-builder/group.js.map +1 -1
- package/dist/components/query-builder/index.d.ts +5 -20
- package/dist/components/query-builder/index.js +1 -1
- package/dist/components/query-builder/index.js.map +1 -1
- package/dist/components/query-builder/rule.js +1 -1
- package/dist/components/query-builder/rule.js.map +1 -1
- package/dist/components/query-builder/types.d.ts +22 -0
- package/dist/components/query-builder/types.js +2 -0
- package/dist/components/query-builder/types.js.map +1 -0
- package/dist/components/query-builder/utils.js +1 -1
- package/dist/components/query-builder/utils.js.map +1 -1
- package/dist/components/query-builder/value-editor.js +1 -1
- package/dist/components/query-builder/value-editor.js.map +1 -1
- package/dist/components/query-builder/value-selector.js +1 -1
- package/dist/components/query-builder/value-selector.js.map +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.js.map +1 -1
- package/dist/components/radio/styles.d.ts +19 -18
- package/dist/components/radio/styles.js +1 -1
- package/dist/components/radio/styles.js.map +1 -1
- package/dist/components/radio/types.d.ts +2 -3
- package/dist/components/search-field/index.d.ts +56 -15
- package/dist/components/search-field/index.js +1 -1
- package/dist/components/search-field/index.js.map +1 -1
- package/dist/components/search-field/styles.d.ts +53 -0
- package/dist/components/search-field/styles.js +2 -0
- package/dist/components/search-field/styles.js.map +1 -0
- package/dist/components/search-field/types.d.ts +25 -0
- package/dist/components/search-field/types.js +2 -0
- package/dist/components/search-field/types.js.map +1 -0
- package/dist/components/skeleton/index.d.ts +42 -0
- package/dist/components/skeleton/index.js +2 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/styles.d.ts +23 -0
- package/dist/components/skeleton/styles.js +2 -0
- package/dist/components/skeleton/styles.js.map +1 -0
- package/dist/components/skeleton/types.d.ts +8 -0
- package/dist/components/skeleton/types.js +2 -0
- package/dist/components/skeleton/types.js.map +1 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.js.map +1 -1
- package/dist/components/switch/index.d.ts +3 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.js.map +1 -1
- package/dist/components/switch/styles.d.ts +13 -12
- package/dist/components/switch/styles.js +1 -1
- package/dist/components/switch/styles.js.map +1 -1
- package/dist/components/switch/types.d.ts +2 -3
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.js.map +1 -1
- package/dist/components/text-area-field/index.d.ts +4 -3
- package/dist/components/text-area-field/index.js +1 -1
- package/dist/components/text-area-field/index.js.map +1 -1
- package/dist/components/text-area-field/styles.d.ts +19 -18
- package/dist/components/text-area-field/styles.js +1 -1
- package/dist/components/text-area-field/styles.js.map +1 -1
- package/dist/components/text-area-field/types.d.ts +2 -3
- package/dist/components/text-field/index.d.ts +4 -2
- package/dist/components/text-field/index.js +1 -1
- package/dist/components/text-field/index.js.map +1 -1
- package/dist/components/text-field/styles.d.ts +19 -18
- package/dist/components/text-field/styles.js +1 -1
- package/dist/components/text-field/styles.js.map +1 -1
- package/dist/components/text-field/types.d.ts +4 -4
- package/dist/components/tooltip/index.d.ts +14 -28
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.js.map +1 -1
- package/dist/components/tooltip/styles.d.ts +5 -0
- package/dist/components/tooltip/styles.js +2 -0
- package/dist/components/tooltip/styles.js.map +1 -0
- package/dist/components/tooltip/types.d.ts +8 -0
- package/dist/components/tooltip/types.js +2 -0
- package/dist/components/tooltip/types.js.map +1 -0
- package/dist/icons/catalog.js +1 -1
- package/dist/index.d.ts +54 -28
- package/dist/index.js +1 -1
- package/dist/lib/react.d.ts +13 -12
- package/dist/lib/react.js +4 -4
- package/dist/lib/react.js.map +1 -1
- package/dist/lib/types.d.ts +6 -2
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/styles.css +1341 -278
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.js.map +1 -1
- package/dist/variants/variants.css +6 -0
- package/package.json +79 -56
- package/dist/components/options-item/index.d.ts +0 -30
- package/dist/components/options-item/index.js +0 -2
- package/dist/components/options-item/index.js.map +0 -1
- package/dist/components/query-builder/example-configuration.d.ts +0 -30
- package/dist/components/query-builder/example-configuration.js +0 -2
- package/dist/components/query-builder/example-configuration.js.map +0 -1
package/dist/tokens/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
const o=[11,11,11,1],t=[34,34,34,1],r=[47,47,49,1],e=[0,0,0,.4],p=[255,255,255,.08],c=[86,86,86,1],n=[230,230,230,1],s=[255,255,255,1],a=[137,137,137,1],l=[47,47,49,1],i=[56,56,56,1],x=[56,56,56,1],y=[34,34,34,1],g=[40,245,190,1],B=[40,245,190,1],h=[24,147,114,1],S=[10,61,48,1],C=[104,104,104,1],d=[104,104,104,1],R=[66,66,68,1],A=[34,34,34,1],G=[98,166,255,1],H=[98,166,255,1],u=[58,100,153,1],v=[20,33,51,1],f=[48,210,126,1],X=[48,210,126,1],b=[28,126,76,1],z=[10,42,25,1],L=[252,164,0,1],M=[252,164,0,1],D=[151,98,1,1],m=[50,33,0,1],I=[212,35,29,1],N=[212,35,29,1],k=[127,21,17,1],T=[42,7,6,1],w=[255,255,255,1],E=[137,137,137,1],O=[56,56,56,1],F=[34,34,34,1],P=[86,86,86,1],U=[11,11,11,1],j=[0,122,51,1],q=[80,43,133,1],J=[0,51,160,1],K=[200,16,46,1],Q=[255,140,0,1],V=[252,232,58,1],W=32,Y=40,Z=0,_=24,$=28,oo=.18,to=20,ro=24,eo=.18,po=14,co=20,no=.25,so=12,ao=16,lo=.4,io=10,xo=12,yo=.25,go=16,Bo=24,ho=.5,So=14,Co=20,Ro=.25,Ao=12,Go=16,Ho=.4,uo=10,vo=12,fo=.5,Xo=9,bo=12,zo=.25,Lo=16,Mo=24,Do=.5,mo=14,Io=20,No=.25,ko=12,To=16,wo=.4,Eo=10,Oo=12,Fo=.5,Po=0,Uo="unset",jo=2,qo=4,Jo=8,Ko=12,Qo=16,Vo=24,Wo=40,Yo=80,Zo=0,_o=2,$o=4,ot=8,tt=80,rt="initial",et="0 8px 10px 0 rgba(0 0 0 / 0.2), 0 6px 30px 0 rgba(0 0 0 / 0.12), 0 16px 24px 0 rgba(0 0 0 / 0.14)",pt="0 5px 5px 0 rgba(0 0 0 / 0.2), 0 3px 14px 0 rgba(0 0 0 / 0.12), 0 8px 10px 0 rgba(0 0 0 / 0.14)",ct='"Roboto Flex", sans-serif',nt='"Roboto Mono", monospace',st=24,at=20,lt=16,it=12;export{G as colorAdvisory,H as colorAdvisoryBold,u as colorAdvisoryHover,v as colorAdvisorySubtle,J as colorClassificationConfidential,q as colorClassificationCui,U as colorClassificationMissing,K as colorClassificationSecret,Q as colorClassificationTopSecret,V as colorClassificationTsSci,j as colorClassificationUnclass,I as colorCritical,N as colorCriticalBold,k as colorCriticalHover,T as colorCriticalSubtle,E as colorDefaultDark,w as colorDefaultLight,P as colorDisabled,g as colorHighlight,B as colorHighlightBold,h as colorHighlightHover,S as colorHighlightSubtle,C as colorInfo,d as colorInfoBold,R as colorInfoHover,A as colorInfoSubtle,c as colorInteractive,n as colorInteractiveDefault,i as colorInteractiveDisabled,s as colorInteractiveHover,l as colorInteractiveHoverDark,a as colorInteractiveHoverLight,O as colorInverseDark,F as colorInverseLight,f as colorNormal,X as colorNormalBold,b as colorNormalHover,z as colorNormalSubtle,L as colorSerious,M as colorSeriousBold,D as colorSeriousHover,m as colorSeriousSubtle,y as colorStaticDark,x as colorStaticLight,o as colorSurfaceDefault,r as colorSurfaceOverlay,t as colorSurfaceRaised,e as colorTransparentDark,p as colorTransparentLight,nt as fontDisplay,ct as fontPrimary,st as iconSizeL,at as iconSizeM,lt as iconSizeS,it as iconSizeXs,ot as radiusLarge,$o as radiusMedium,Zo as radiusNone,tt as radiusRound,_o as radiusSmall,rt as shadowElevationDefault,et as shadowElevationOverlay,pt as shadowElevationRaised,Po as spacing0,Qo as spacingL,Ko as spacingM,Uo as spacingNone,Yo as spacingOversized,Jo as spacingS,Vo as spacingXl,qo as spacingXs,Wo as spacingXxl,jo as spacingXxs,Bo as typographyBodyLHeight,go as typographyBodyLSize,ho as typographyBodyLSpacing,Co as typographyBodyMHeight,So as typographyBodyMSize,Ro as typographyBodyMSpacing,Go as typographyBodySHeight,Ao as typographyBodySSize,Ho as typographyBodySSpacing,vo as typographyBodyXsHeight,uo as typographyBodyXsSize,fo as typographyBodyXsSpacing,bo as typographyBodyXxsHeight,Xo as typographyBodyXxsSize,zo as typographyBodyXxsSpacing,Mo as typographyButtonLHeight,Lo as typographyButtonLSize,Do as typographyButtonLSpacing,Io as typographyButtonMHeight,mo as typographyButtonMSize,No as typographyButtonMSpacing,To as typographyButtonSHeight,ko as typographyButtonSSize,wo as typographyButtonSSpacing,Oo as typographyButtonXsHeight,Eo as typographyButtonXsSize,Fo as typographyButtonXsSpacing,ro as typographyHeaderLHeight,to as typographyHeaderLSize,eo as typographyHeaderLSpacing,co as typographyHeaderMHeight,po as typographyHeaderMSize,no as typographyHeaderMSpacing,ao as typographyHeaderSHeight,so as typographyHeaderSSize,lo as typographyHeaderSSpacing,$ as typographyHeaderXlHeight,_ as typographyHeaderXlSize,oo as typographyHeaderXlSpacing,xo as typographyHeaderXsHeight,io as typographyHeaderXsSize,yo as typographyHeaderXsSpacing,Y as typographyHeaderXxlHeight,W as typographyHeaderXxlSize,Z as typographyHeaderXxlSpacing};//# sourceMappingURL=index.js.map
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/tokens/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../src/tokens/index.ts"],"names":["colorSurfaceDefault","colorSurfaceRaised","colorSurfaceOverlay","colorTransparentDark","colorTransparentLight","colorInteractive","colorInteractiveDefault","colorInteractiveHover","colorInteractiveHoverLight","colorInteractiveHoverDark","colorInteractiveDisabled","colorStaticLight","colorStaticDark","colorHighlight","colorHighlightBold","colorHighlightHover","colorHighlightSubtle","colorInfo","colorInfoBold","colorInfoHover","colorInfoSubtle","colorAdvisory","colorAdvisoryBold","colorAdvisoryHover","colorAdvisorySubtle","colorNormal","colorNormalBold","colorNormalHover","colorNormalSubtle","colorSerious","colorSeriousBold","colorSeriousHover","colorSeriousSubtle","colorCritical","colorCriticalBold","colorCriticalHover","colorCriticalSubtle","colorDefaultLight","colorDefaultDark","colorInverseDark","colorInverseLight","colorDisabled","colorClassificationMissing","colorClassificationUnclass","colorClassificationCui","colorClassificationConfidential","colorClassificationSecret","colorClassificationTopSecret","colorClassificationTsSci","typographyHeaderXxlSize","typographyHeaderXxlHeight","typographyHeaderXxlSpacing","typographyHeaderXlSize","typographyHeaderXlHeight","typographyHeaderXlSpacing","typographyHeaderLSize","typographyHeaderLHeight","typographyHeaderLSpacing","typographyHeaderMSize","typographyHeaderMHeight","typographyHeaderMSpacing","typographyHeaderSSize","typographyHeaderSHeight","typographyHeaderSSpacing","typographyHeaderXsSize","typographyHeaderXsHeight","typographyHeaderXsSpacing","typographyBodyLSize","typographyBodyLHeight","typographyBodyLSpacing","typographyBodyMSize","typographyBodyMHeight","typographyBodyMSpacing","typographyBodySSize","typographyBodySHeight","typographyBodySSpacing","typographyBodyXsSize","typographyBodyXsHeight","typographyBodyXsSpacing","typographyBodyXxsSize","typographyBodyXxsHeight","typographyBodyXxsSpacing","typographyButtonLSize","typographyButtonLHeight","typographyButtonLSpacing","typographyButtonMSize","typographyButtonMHeight","typographyButtonMSpacing","typographyButtonSSize","typographyButtonSHeight","typographyButtonSSpacing","typographyButtonXsSize","typographyButtonXsHeight","typographyButtonXsSpacing","spacing0","spacingNone","spacingXxs","spacingXs","spacingS","spacingM","spacingL","spacingXl","spacingXxl","spacingOversized","radiusNone","radiusSmall","radiusMedium","radiusLarge","radiusRound","shadowElevationDefault","shadowElevationOverlay","shadowElevationRaised","fontPrimary","fontDisplay","iconSizeL","iconSizeM","iconSizeS","iconSizeXs"],"mappings":"AAIO,IAAMA,CAAAA,CAAiC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC/CC,CAAAA,CAAgC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,EAC9CC,CAAAA,CAAiC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC/CC,CAAAA,CAAkC,CAAC,CAAA,CAAG,CAAA,CAAG,CAAA,CAAG,EAAG,CAAA,CAC/CC,EAAmC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,GAAI,CAAA,CACvDC,CAAAA,CAA8B,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC5CC,CAAAA,CAAqC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,CAAC,CAAA,CACtDC,CAAAA,CAAmC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,CAAC,CAA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GBAColor = [number, number, number, number];\n\n/** Semantic Colors **/\nexport const colorSurfaceDefault: RGBAColor = [11, 11, 11, 1];\nexport const colorSurfaceRaised: RGBAColor = [34, 34, 34, 1];\nexport const colorSurfaceOverlay: RGBAColor = [47, 47, 49, 1];\nexport const colorTransparentDark: RGBAColor = [0, 0, 0, 0.4];\nexport const colorTransparentLight: RGBAColor = [255, 255, 255, 0.08];\nexport const colorInteractive: RGBAColor = [86, 86, 86, 1];\nexport const colorInteractiveDefault: RGBAColor = [230, 230, 230, 1];\nexport const colorInteractiveHover: RGBAColor = [255, 255, 255, 1];\nexport const colorInteractiveHoverLight: RGBAColor = [137, 137, 137, 1];\nexport const colorInteractiveHoverDark: RGBAColor = [47, 47, 49, 1];\nexport const colorInteractiveDisabled: RGBAColor = [56, 56, 56, 1];\nexport const colorStaticLight: RGBAColor = [56, 56, 56, 1];\nexport const colorStaticDark: RGBAColor = [34, 34, 34, 1];\nexport const colorHighlight: RGBAColor = [40, 245, 190, 1];\nexport const colorHighlightBold: RGBAColor = [40, 245, 190, 1];\nexport const colorHighlightHover: RGBAColor = [24, 147, 114, 1];\nexport const colorHighlightSubtle: RGBAColor = [10, 61, 48, 1];\nexport const colorInfo: RGBAColor = [104, 104, 104, 1];\nexport const colorInfoBold: RGBAColor = [104, 104, 104, 1];\nexport const colorInfoHover: RGBAColor = [66, 66, 68, 1];\nexport const colorInfoSubtle: RGBAColor = [34, 34, 34, 1];\nexport const colorAdvisory: RGBAColor = [98, 166, 255, 1];\nexport const colorAdvisoryBold: RGBAColor = [98, 166, 255, 1];\nexport const colorAdvisoryHover: RGBAColor = [58, 100, 153, 1];\nexport const colorAdvisorySubtle: RGBAColor = [20, 33, 51, 1];\nexport const colorNormal: RGBAColor = [48, 210, 126, 1];\nexport const colorNormalBold: RGBAColor = [48, 210, 126, 1];\nexport const colorNormalHover: RGBAColor = [28, 126, 76, 1];\nexport const colorNormalSubtle: RGBAColor = [10, 42, 25, 1];\nexport const colorSerious: RGBAColor = [252, 164, 0, 1];\nexport const colorSeriousBold: RGBAColor = [252, 164, 0, 1];\nexport const colorSeriousHover: RGBAColor = [151, 98, 1, 1];\nexport const colorSeriousSubtle: RGBAColor = [50, 33, 0, 1];\nexport const colorCritical: RGBAColor = [212, 35, 29, 1];\nexport const colorCriticalBold: RGBAColor = [212, 35, 29, 1];\nexport const colorCriticalHover: RGBAColor = [127, 21, 17, 1];\nexport const colorCriticalSubtle: RGBAColor = [42, 7, 6, 1];\nexport const colorDefaultLight: RGBAColor = [255, 255, 255, 1];\nexport const colorDefaultDark: RGBAColor = [137, 137, 137, 1];\nexport const colorInverseDark: RGBAColor = [56, 56, 56, 1];\nexport const colorInverseLight: RGBAColor = [34, 34, 34, 1];\nexport const colorDisabled: RGBAColor = [86, 86, 86, 1];\nexport const colorClassificationMissing: RGBAColor = [11, 11, 11, 1];\nexport const colorClassificationUnclass: RGBAColor = [0, 122, 51, 1];\nexport const colorClassificationCui: RGBAColor = [80, 43, 133, 1];\nexport const colorClassificationConfidential: RGBAColor = [0, 51, 160, 1];\nexport const colorClassificationSecret: RGBAColor = [200, 16, 46, 1];\nexport const colorClassificationTopSecret: RGBAColor = [255, 140, 0, 1];\nexport const colorClassificationTsSci: RGBAColor = [252, 232, 58, 1];\n/** Other Design Tokens **/\nexport const typographyHeaderXxlSize = 32;\nexport const typographyHeaderXxlHeight = 40;\nexport const typographyHeaderXxlSpacing = 0;\nexport const typographyHeaderXlSize = 24;\nexport const typographyHeaderXlHeight = 28;\nexport const typographyHeaderXlSpacing = 0.18;\nexport const typographyHeaderLSize = 20;\nexport const typographyHeaderLHeight = 24;\nexport const typographyHeaderLSpacing = 0.18;\nexport const typographyHeaderMSize = 14;\nexport const typographyHeaderMHeight = 20;\nexport const typographyHeaderMSpacing = 0.25;\nexport const typographyHeaderSSize = 12;\nexport const typographyHeaderSHeight = 16;\nexport const typographyHeaderSSpacing = 0.4;\nexport const typographyHeaderXsSize = 10;\nexport const typographyHeaderXsHeight = 12;\nexport const typographyHeaderXsSpacing = 0.25;\nexport const typographyBodyLSize = 16;\nexport const typographyBodyLHeight = 24;\nexport const typographyBodyLSpacing = 0.5;\nexport const typographyBodyMSize = 14;\nexport const typographyBodyMHeight = 20;\nexport const typographyBodyMSpacing = 0.25;\nexport const typographyBodySSize = 12;\nexport const typographyBodySHeight = 16;\nexport const typographyBodySSpacing = 0.4;\nexport const typographyBodyXsSize = 10;\nexport const typographyBodyXsHeight = 12;\nexport const typographyBodyXsSpacing = 0.5;\nexport const typographyBodyXxsSize = 9;\nexport const typographyBodyXxsHeight = 12;\nexport const typographyBodyXxsSpacing = 0.25;\nexport const typographyButtonLSize = 16;\nexport const typographyButtonLHeight = 24;\nexport const typographyButtonLSpacing = 0.5;\nexport const typographyButtonMSize = 14;\nexport const typographyButtonMHeight = 20;\nexport const typographyButtonMSpacing = 0.25;\nexport const typographyButtonSSize = 12;\nexport const typographyButtonSHeight = 16;\nexport const typographyButtonSSpacing = 0.4;\nexport const typographyButtonXsSize = 10;\nexport const typographyButtonXsHeight = 12;\nexport const typographyButtonXsSpacing = 0.5;\nexport const spacing0 = 0;\nexport const spacingNone = 'unset';\nexport const spacingXxs = 2;\nexport const spacingXs = 4;\nexport const spacingS = 8;\nexport const spacingM = 12;\nexport const spacingL = 16;\nexport const spacingXl = 24;\nexport const spacingXxl = 40;\nexport const spacingOversized = 80;\nexport const radiusNone = 0;\nexport const radiusSmall = 2;\nexport const radiusMedium = 4;\nexport const radiusLarge = 8;\nexport const radiusRound = 80;\nexport const shadowElevationDefault = 'initial';\nexport const shadowElevationOverlay = '0 8px 10px 0 rgba(0 0 0 / 0.2), 0 6px 30px 0 rgba(0 0 0 / 0.12), 0 16px 24px 0 rgba(0 0 0 / 0.14)';\nexport const shadowElevationRaised = '0 5px 5px 0 rgba(0 0 0 / 0.2), 0 3px 14px 0 rgba(0 0 0 / 0.12), 0 8px 10px 0 rgba(0 0 0 / 0.14)';\nexport const fontPrimary = '\"Roboto Flex\", sans-serif';\nexport const fontDisplay = '\"Roboto Mono\", monospace';\nexport const iconSizeL = 24;\nexport const iconSizeM = 20;\nexport const iconSizeS = 16;\nexport const iconSizeXs = 12;"]}
|
1
|
+
{"version":3,"sources":["../../src/tokens/index.ts"],"names":["colorSurfaceDefault","colorSurfaceRaised","colorSurfaceOverlay","colorTransparentDark","colorTransparentLight","colorInteractive","colorInteractiveDefault","colorInteractiveHover","colorInteractiveHoverLight","colorInteractiveHoverDark","colorInteractiveDisabled","colorStaticLight","colorStaticDark","colorHighlight","colorHighlightBold","colorHighlightHover","colorHighlightSubtle","colorInfo","colorInfoBold","colorInfoHover","colorInfoSubtle","colorAdvisory","colorAdvisoryBold","colorAdvisoryHover","colorAdvisorySubtle","colorNormal","colorNormalBold","colorNormalHover","colorNormalSubtle","colorSerious","colorSeriousBold","colorSeriousHover","colorSeriousSubtle","colorCritical","colorCriticalBold","colorCriticalHover","colorCriticalSubtle","colorDefaultLight","colorDefaultDark","colorInverseDark","colorInverseLight","colorDisabled","colorClassificationMissing","colorClassificationUnclass","colorClassificationCui","colorClassificationConfidential","colorClassificationSecret","colorClassificationTopSecret","colorClassificationTsSci","typographyHeaderXxlSize","typographyHeaderXxlHeight","typographyHeaderXxlSpacing","typographyHeaderXlSize","typographyHeaderXlHeight","typographyHeaderXlSpacing","typographyHeaderLSize","typographyHeaderLHeight","typographyHeaderLSpacing","typographyHeaderMSize","typographyHeaderMHeight","typographyHeaderMSpacing","typographyHeaderSSize","typographyHeaderSHeight","typographyHeaderSSpacing","typographyHeaderXsSize","typographyHeaderXsHeight","typographyHeaderXsSpacing","typographyBodyLSize","typographyBodyLHeight","typographyBodyLSpacing","typographyBodyMSize","typographyBodyMHeight","typographyBodyMSpacing","typographyBodySSize","typographyBodySHeight","typographyBodySSpacing","typographyBodyXsSize","typographyBodyXsHeight","typographyBodyXsSpacing","typographyBodyXxsSize","typographyBodyXxsHeight","typographyBodyXxsSpacing","typographyButtonLSize","typographyButtonLHeight","typographyButtonLSpacing","typographyButtonMSize","typographyButtonMHeight","typographyButtonMSpacing","typographyButtonSSize","typographyButtonSHeight","typographyButtonSSpacing","typographyButtonXsSize","typographyButtonXsHeight","typographyButtonXsSpacing","spacing0","spacingNone","spacingXxs","spacingXs","spacingS","spacingM","spacingL","spacingXl","spacingXxl","spacingOversized","radiusNone","radiusSmall","radiusMedium","radiusLarge","radiusRound","shadowElevationDefault","shadowElevationOverlay","shadowElevationRaised","fontPrimary","fontDisplay","iconSizeL","iconSizeM","iconSizeS","iconSizeXs"],"mappings":"AAIO,MAAMA,CAAAA,CAAiC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC/CC,CAAAA,CAAgC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,EAC9CC,CAAAA,CAAiC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC/CC,CAAAA,CAAkC,CAAC,CAAA,CAAG,CAAA,CAAG,CAAA,CAAG,EAAG,CAAA,CAC/CC,EAAmC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,GAAI,CAAA,CACvDC,CAAAA,CAA8B,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC5CC,CAAAA,CAAqC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,CAAC,CAAA,CACtDC,CAAAA,CAAmC,CAAC,GAAA,CAAK,GAAA,CAAK,GAAA,CAAK,CAAC,CAAA,CACpDC,CAAAA,CAAwC,CAAC,IAAK,GAAA,CAAK,GAAA,CAAK,CAAC,CAAA,CACzDC,CAAAA,CAAuC,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CACrDC,CAAAA,CAAsC,CAAC,EAAA,CAAI,GAAI,EAAA,CAAI,CAAC,CAAA,CACpDC,CAAAA,CAA8B,CAAC,EAAA,CAAI,EAAA,CAAI,EAAA,CAAI,CAAC,CAAA,CAC5CC,CAA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AAA,CAA0B,EAAA,CAC1BC,EAAAA,CAA2B,EAAA,CAC3BC,EAAAA,CAAwB,EAAA,CACxBC,EAAAA,CAA0B,EAAA,CAC1BC,EAAAA,CAA2B,IAC3BC,EAAAA,CAAwB,EAAA,CACxBC,EAAAA,CAA0B,EAAA,CAC1BC,EAAAA,CAA2B,EAAA,CAC3BC,EAAAA,CAAyB,EAAA,CACzBC,EAAAA,CAA2B,EAAA,CAC3BC,EAAAA,CAA4B,EAAA,CAC5BC,EAAAA,CAAW,CAAA,CACXC,GAAc,OAAA,CACdC,EAAAA,CAAa,CAAA,CACbC,EAAAA,CAAY,CAAA,CACZC,EAAAA,CAAW,CAAA,CACXC,EAAAA,CAAW,EAAA,CACXC,EAAAA,CAAW,EAAA,CACXC,EAAAA,CAAY,EAAA,CACZC,EAAAA,CAAa,GACbC,EAAAA,CAAmB,EAAA,CACnBC,EAAAA,CAAa,CAAA,CACbC,EAAAA,CAAc,CAAA,CACdC,EAAAA,CAAe,CAAA,CACfC,EAAAA,CAAc,CAAA,CACdC,EAAAA,CAAc,EAAA,CACdC,EAAAA,CAAyB,SAAA,CACzBC,EAAAA,CAAyB,mGAAA,CACzBC,EAAAA,CAAwB,iGAAA,CACxBC,EAAAA,CAAc,2BAAA,CACdC,EAAAA,CAAc,0BAAA,CACdC,EAAAA,CAAY,EAAA,CACZC,EAAAA,CAAY,EAAA,CACZC,EAAAA,CAAY,EAAA,CACZC,EAAAA,CAAa","file":"index.js","sourcesContent":["\nexport type RGBAColor = [number, number, number, number];\n\n/** Semantic Colors **/\nexport const colorSurfaceDefault: RGBAColor = [11, 11, 11, 1];\nexport const colorSurfaceRaised: RGBAColor = [34, 34, 34, 1];\nexport const colorSurfaceOverlay: RGBAColor = [47, 47, 49, 1];\nexport const colorTransparentDark: RGBAColor = [0, 0, 0, 0.4];\nexport const colorTransparentLight: RGBAColor = [255, 255, 255, 0.08];\nexport const colorInteractive: RGBAColor = [86, 86, 86, 1];\nexport const colorInteractiveDefault: RGBAColor = [230, 230, 230, 1];\nexport const colorInteractiveHover: RGBAColor = [255, 255, 255, 1];\nexport const colorInteractiveHoverLight: RGBAColor = [137, 137, 137, 1];\nexport const colorInteractiveHoverDark: RGBAColor = [47, 47, 49, 1];\nexport const colorInteractiveDisabled: RGBAColor = [56, 56, 56, 1];\nexport const colorStaticLight: RGBAColor = [56, 56, 56, 1];\nexport const colorStaticDark: RGBAColor = [34, 34, 34, 1];\nexport const colorHighlight: RGBAColor = [40, 245, 190, 1];\nexport const colorHighlightBold: RGBAColor = [40, 245, 190, 1];\nexport const colorHighlightHover: RGBAColor = [24, 147, 114, 1];\nexport const colorHighlightSubtle: RGBAColor = [10, 61, 48, 1];\nexport const colorInfo: RGBAColor = [104, 104, 104, 1];\nexport const colorInfoBold: RGBAColor = [104, 104, 104, 1];\nexport const colorInfoHover: RGBAColor = [66, 66, 68, 1];\nexport const colorInfoSubtle: RGBAColor = [34, 34, 34, 1];\nexport const colorAdvisory: RGBAColor = [98, 166, 255, 1];\nexport const colorAdvisoryBold: RGBAColor = [98, 166, 255, 1];\nexport const colorAdvisoryHover: RGBAColor = [58, 100, 153, 1];\nexport const colorAdvisorySubtle: RGBAColor = [20, 33, 51, 1];\nexport const colorNormal: RGBAColor = [48, 210, 126, 1];\nexport const colorNormalBold: RGBAColor = [48, 210, 126, 1];\nexport const colorNormalHover: RGBAColor = [28, 126, 76, 1];\nexport const colorNormalSubtle: RGBAColor = [10, 42, 25, 1];\nexport const colorSerious: RGBAColor = [252, 164, 0, 1];\nexport const colorSeriousBold: RGBAColor = [252, 164, 0, 1];\nexport const colorSeriousHover: RGBAColor = [151, 98, 1, 1];\nexport const colorSeriousSubtle: RGBAColor = [50, 33, 0, 1];\nexport const colorCritical: RGBAColor = [212, 35, 29, 1];\nexport const colorCriticalBold: RGBAColor = [212, 35, 29, 1];\nexport const colorCriticalHover: RGBAColor = [127, 21, 17, 1];\nexport const colorCriticalSubtle: RGBAColor = [42, 7, 6, 1];\nexport const colorDefaultLight: RGBAColor = [255, 255, 255, 1];\nexport const colorDefaultDark: RGBAColor = [137, 137, 137, 1];\nexport const colorInverseDark: RGBAColor = [56, 56, 56, 1];\nexport const colorInverseLight: RGBAColor = [34, 34, 34, 1];\nexport const colorDisabled: RGBAColor = [86, 86, 86, 1];\nexport const colorClassificationMissing: RGBAColor = [11, 11, 11, 1];\nexport const colorClassificationUnclass: RGBAColor = [0, 122, 51, 1];\nexport const colorClassificationCui: RGBAColor = [80, 43, 133, 1];\nexport const colorClassificationConfidential: RGBAColor = [0, 51, 160, 1];\nexport const colorClassificationSecret: RGBAColor = [200, 16, 46, 1];\nexport const colorClassificationTopSecret: RGBAColor = [255, 140, 0, 1];\nexport const colorClassificationTsSci: RGBAColor = [252, 232, 58, 1];\n/** Other Design Tokens **/\nexport const typographyHeaderXxlSize = 32;\nexport const typographyHeaderXxlHeight = 40;\nexport const typographyHeaderXxlSpacing = 0;\nexport const typographyHeaderXlSize = 24;\nexport const typographyHeaderXlHeight = 28;\nexport const typographyHeaderXlSpacing = 0.18;\nexport const typographyHeaderLSize = 20;\nexport const typographyHeaderLHeight = 24;\nexport const typographyHeaderLSpacing = 0.18;\nexport const typographyHeaderMSize = 14;\nexport const typographyHeaderMHeight = 20;\nexport const typographyHeaderMSpacing = 0.25;\nexport const typographyHeaderSSize = 12;\nexport const typographyHeaderSHeight = 16;\nexport const typographyHeaderSSpacing = 0.4;\nexport const typographyHeaderXsSize = 10;\nexport const typographyHeaderXsHeight = 12;\nexport const typographyHeaderXsSpacing = 0.25;\nexport const typographyBodyLSize = 16;\nexport const typographyBodyLHeight = 24;\nexport const typographyBodyLSpacing = 0.5;\nexport const typographyBodyMSize = 14;\nexport const typographyBodyMHeight = 20;\nexport const typographyBodyMSpacing = 0.25;\nexport const typographyBodySSize = 12;\nexport const typographyBodySHeight = 16;\nexport const typographyBodySSpacing = 0.4;\nexport const typographyBodyXsSize = 10;\nexport const typographyBodyXsHeight = 12;\nexport const typographyBodyXsSpacing = 0.5;\nexport const typographyBodyXxsSize = 9;\nexport const typographyBodyXxsHeight = 12;\nexport const typographyBodyXxsSpacing = 0.25;\nexport const typographyButtonLSize = 16;\nexport const typographyButtonLHeight = 24;\nexport const typographyButtonLSpacing = 0.5;\nexport const typographyButtonMSize = 14;\nexport const typographyButtonMHeight = 20;\nexport const typographyButtonMSpacing = 0.25;\nexport const typographyButtonSSize = 12;\nexport const typographyButtonSHeight = 16;\nexport const typographyButtonSSpacing = 0.4;\nexport const typographyButtonXsSize = 10;\nexport const typographyButtonXsHeight = 12;\nexport const typographyButtonXsSpacing = 0.5;\nexport const spacing0 = 0;\nexport const spacingNone = 'unset';\nexport const spacingXxs = 2;\nexport const spacingXs = 4;\nexport const spacingS = 8;\nexport const spacingM = 12;\nexport const spacingL = 16;\nexport const spacingXl = 24;\nexport const spacingXxl = 40;\nexport const spacingOversized = 80;\nexport const radiusNone = 0;\nexport const radiusSmall = 2;\nexport const radiusMedium = 4;\nexport const radiusLarge = 8;\nexport const radiusRound = 80;\nexport const shadowElevationDefault = 'initial';\nexport const shadowElevationOverlay = '0 8px 10px 0 rgba(0 0 0 / 0.2), 0 6px 30px 0 rgba(0 0 0 / 0.12), 0 16px 24px 0 rgba(0 0 0 / 0.14)';\nexport const shadowElevationRaised = '0 5px 5px 0 rgba(0 0 0 / 0.2), 0 3px 14px 0 rgba(0 0 0 / 0.12), 0 8px 10px 0 rgba(0 0 0 / 0.14)';\nexport const fontPrimary = '\"Roboto Flex\", sans-serif';\nexport const fontDisplay = '\"Roboto Mono\", monospace';\nexport const iconSizeL = 24;\nexport const iconSizeM = 20;\nexport const iconSizeS = 16;\nexport const iconSizeXs = 12;"]}
|
@@ -1,3 +1,8 @@
|
|
1
|
+
@custom-variant color-info (&:where([data-color~="info"]));
|
2
|
+
@custom-variant color-advisory (&:where([data-color~="advisory"]));
|
3
|
+
@custom-variant color-normal (&:where([data-color~="normal"]));
|
4
|
+
@custom-variant color-serious (&:where([data-color~="serious"]));
|
5
|
+
@custom-variant color-critical (&:where([data-color~="critical"]));
|
1
6
|
@custom-variant placement-left (&:where([data-placement~="left"]));
|
2
7
|
@custom-variant placement-right (&:where([data-placement~="right"]));
|
3
8
|
@custom-variant placement-top (&:where([data-placement~="top"]));
|
@@ -29,6 +34,7 @@
|
|
29
34
|
@custom-variant has-child-items (&:where([data-has-child-items]));
|
30
35
|
@custom-variant enabled (&:where(:not([disabled], [data-disabled]), :enabled));
|
31
36
|
@custom-variant open (&:where([open], [data-open], :open));
|
37
|
+
@custom-variant closed (&:where(:not([open], [data-open], :open)));
|
32
38
|
@custom-variant expanded (&:where([expanded], [data-expanded]));
|
33
39
|
@custom-variant entering (&:where([data-entering]));
|
34
40
|
@custom-variant exiting (&:where([data-exiting]));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@accelint/design-toolkit",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.5.0",
|
4
4
|
"private": false,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"repository": {
|
@@ -49,68 +49,90 @@
|
|
49
49
|
}
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
|
-
"@accelint/icons": "^2.0.
|
53
|
-
"@fontsource/roboto-flex": "^5.
|
54
|
-
"@fontsource/roboto-mono": "^5.
|
55
|
-
"@internationalized/date": "^3.8.
|
56
|
-
"@radix-ui/react-avatar": "^1.1.
|
57
|
-
"@react-aria/
|
58
|
-
"@react-
|
59
|
-
"@react-stately/
|
60
|
-
"@react-stately/
|
61
|
-
"@react-
|
62
|
-
"@react-types/
|
63
|
-
"@react-types/
|
52
|
+
"@accelint/icons": "^2.0.2",
|
53
|
+
"@fontsource/roboto-flex": "^5.2.6",
|
54
|
+
"@fontsource/roboto-mono": "^5.2.6",
|
55
|
+
"@internationalized/date": "^3.8.2",
|
56
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
57
|
+
"@react-aria/ssr": "^3.9.10",
|
58
|
+
"@react-aria/utils": "^3.30.0",
|
59
|
+
"@react-stately/color": "^3.9.0",
|
60
|
+
"@react-stately/datepicker": "^3.15.0",
|
61
|
+
"@react-stately/utils": "^3.10.8",
|
62
|
+
"@react-types/overlays": "^3.9.0",
|
63
|
+
"@react-types/shared": "^3.31.0",
|
64
|
+
"@react-aria/interactions": "^3.25.3",
|
65
|
+
"class-variance-authority": "^0.7.1",
|
66
|
+
"client-only": "^0.0.1",
|
67
|
+
"clsx": "^2.1.1",
|
68
|
+
"lodash": "^4.17.21",
|
64
69
|
"react": "^19.0.0",
|
65
|
-
"react-aria-components": "^1.
|
70
|
+
"react-aria-components": "^1.11.0",
|
66
71
|
"react-dom": "^19.0.0",
|
67
|
-
"react-querybuilder": "^8.
|
68
|
-
"tailwind-
|
69
|
-
"
|
72
|
+
"react-querybuilder": "^8.8.1",
|
73
|
+
"tailwind-merge": "^3.3.1",
|
74
|
+
"tailwind-variants": "^2.0.1",
|
75
|
+
"tailwindcss": "^4.1.11",
|
76
|
+
"zod": "^4.0.13"
|
70
77
|
},
|
71
|
-
"
|
72
|
-
"
|
78
|
+
"devDependencies": {
|
79
|
+
"@fontsource/roboto-flex": "^5.2.6",
|
80
|
+
"@fontsource/roboto-mono": "^5.2.6",
|
81
|
+
"@internationalized/date": "^3.8.2",
|
82
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
83
|
+
"@react-aria/ssr": "^3.9.10",
|
84
|
+
"@react-aria/utils": "^3.30.0",
|
85
|
+
"@react-stately/color": "^3.9.0",
|
86
|
+
"@react-stately/datepicker": "^3.15.0",
|
87
|
+
"@react-stately/utils": "^3.10.8",
|
88
|
+
"@react-types/overlays": "^3.9.0",
|
89
|
+
"@react-types/shared": "^3.31.0",
|
90
|
+
"@storybook/addon-actions": "^8.6.14",
|
91
|
+
"@storybook/addon-essentials": "^8.6.14",
|
92
|
+
"@storybook/addon-storysource": "^8.6.14",
|
93
|
+
"@storybook/blocks": "^8.6.14",
|
94
|
+
"@storybook/builder-vite": "^8.6.14",
|
95
|
+
"@storybook/manager-api": "^8.6.14",
|
96
|
+
"@storybook/react": "^8.6.14",
|
97
|
+
"@storybook/react-vite": "^8.6.14",
|
98
|
+
"@storybook/theming": "^8.6.14",
|
99
|
+
"@tailwindcss/cli": "^4.1.11",
|
100
|
+
"@tailwindcss/vite": "^4.1.11",
|
101
|
+
"@testing-library/dom": "^10.4.1",
|
102
|
+
"@testing-library/jest-dom": "^6.6.4",
|
103
|
+
"@testing-library/react": "^16.3.0",
|
104
|
+
"@testing-library/user-event": "^14.6.1",
|
105
|
+
"@types/lodash": "^4.17.20",
|
106
|
+
"@react-aria/interactions": "^3.25.3",
|
107
|
+
"@types/node": "^24.1.0",
|
108
|
+
"@types/react": "^19.1.9",
|
109
|
+
"@types/react-dom": "^19.1.7",
|
110
|
+
"autoprefixer": "^10.4.21",
|
111
|
+
"class-variance-authority": "^0.7.1",
|
112
|
+
"client-only": "^0.0.1",
|
73
113
|
"clsx": "^2.1.1",
|
74
|
-
"
|
75
|
-
"
|
114
|
+
"esbuild-fix-imports-plugin": "^1.0.21",
|
115
|
+
"jsdom": "^26.1.0",
|
116
|
+
"lodash": "^4.17.21",
|
117
|
+
"postcss": "^8.5.6",
|
76
118
|
"react": "^19.0.0",
|
119
|
+
"react-aria-components": "^1.11.0",
|
77
120
|
"react-dom": "^19.0.0",
|
78
|
-
"
|
79
|
-
"
|
80
|
-
"
|
81
|
-
"
|
82
|
-
|
83
|
-
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
"
|
89
|
-
"
|
90
|
-
"@storybook/react-vite": "^8.6.12",
|
91
|
-
"@storybook/theming": "8.6.12",
|
92
|
-
"@tailwindcss/cli": "4.1.4",
|
93
|
-
"@tailwindcss/vite": "^4.1.4",
|
94
|
-
"@testing-library/dom": "10.4.0",
|
95
|
-
"@testing-library/jest-dom": "6.5.0",
|
96
|
-
"@testing-library/react": "16.3.0",
|
97
|
-
"@testing-library/user-event": "14.5.2",
|
98
|
-
"@types/lodash": "4.17.10",
|
99
|
-
"@types/react": "^19.0.10",
|
100
|
-
"@types/react-dom": "^19.0.4",
|
101
|
-
"autoprefixer": "10.4.20",
|
102
|
-
"esbuild-fix-imports-plugin": "1.0.19",
|
103
|
-
"esbuild-plugin-file-path-extensions": "2.1.3",
|
104
|
-
"jsdom": "25.0.1",
|
105
|
-
"postcss": "8.4.47",
|
106
|
-
"storybook": "^8.6.12",
|
107
|
-
"tsup": "8.4.0",
|
108
|
-
"type-fest": "4.26.1",
|
109
|
-
"typescript": "~5.7.2",
|
110
|
-
"vite": "5.4.18",
|
111
|
-
"vite-tsconfig-paths": "5.0.1",
|
112
|
-
"vitest": "^3.1.1",
|
121
|
+
"react-querybuilder": "^8.8.1",
|
122
|
+
"storybook": "^8.6.14",
|
123
|
+
"tailwind-merge": "^3.3.1",
|
124
|
+
"tailwind-variants": "^2.0.1",
|
125
|
+
"tailwindcss": "^4.1.11",
|
126
|
+
"tsup": "^8.5.0",
|
127
|
+
"type-fest": "^4.41.0",
|
128
|
+
"typescript": "^5.8.3",
|
129
|
+
"vite": "^5.4.9",
|
130
|
+
"vite-tsconfig-paths": "^5.1.4",
|
131
|
+
"vitest": "^2.1.3",
|
132
|
+
"zod": "^4.0.13",
|
113
133
|
"@accelint/biome-config": "0.1.2",
|
134
|
+
"@accelint/core": "0.2.2",
|
135
|
+
"@accelint/icons": "2.0.2",
|
114
136
|
"@accelint/typescript-config": "0.1.2",
|
115
137
|
"@accelint/vitest-config": "0.1.3"
|
116
138
|
},
|
@@ -131,6 +153,7 @@
|
|
131
153
|
"preview": "pnpm storybook dev -p 6006",
|
132
154
|
"preview:docs": "pnpm storybook dev --docs -p 6006",
|
133
155
|
"test": "pnpm vitest --dir=src",
|
156
|
+
"test:watch": "pnpm vitest --dir=src --watch",
|
134
157
|
"build-storybook": "pnpm storybook build"
|
135
158
|
}
|
136
159
|
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import * as cva_types from 'cva/types';
|
3
|
-
import { VariantProps } from 'cva';
|
4
|
-
import { ReactNode } from 'react';
|
5
|
-
import { ListBoxItemProps } from 'react-aria-components';
|
6
|
-
|
7
|
-
declare const optionsItemStyles: (props?: ({
|
8
|
-
type?: "default" | "destructive" | null | undefined;
|
9
|
-
size?: "small" | "large" | null | undefined;
|
10
|
-
} & cva_types.ClassProp) | undefined) => string;
|
11
|
-
interface IOptionsItem {
|
12
|
-
children?: IOptionsItem[];
|
13
|
-
description?: string;
|
14
|
-
prefixIcon?: ReactNode;
|
15
|
-
suffixIcon?: ReactNode;
|
16
|
-
id?: string | number;
|
17
|
-
name: string;
|
18
|
-
}
|
19
|
-
interface OptionsItemProps<T extends IOptionsItem> extends VariantProps<typeof optionsItemStyles>, ListBoxItemProps<T> {
|
20
|
-
description?: string;
|
21
|
-
prefixIcon?: ReactNode;
|
22
|
-
suffixIcon?: ReactNode;
|
23
|
-
name: string;
|
24
|
-
}
|
25
|
-
declare function OptionsItem<T extends IOptionsItem>({ children, className, description, prefixIcon, suffixIcon, name, type: typeProp, size: sizeProp, ...props }: OptionsItemProps<T>): react_jsx_runtime.JSX.Element;
|
26
|
-
declare namespace OptionsItem {
|
27
|
-
var displayName: string;
|
28
|
-
}
|
29
|
-
|
30
|
-
export { type IOptionsItem, OptionsItem, type OptionsItemProps };
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import {mergeProps}from'@react-aria/utils';import'client-only';import {cva}from'cva';import {useContext,useMemo}from'react';import {ListBoxItem,Text}from'react-aria-components';import {Icon}from'../icon/index.js';import {OptionsContext}from'../options/index.js';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var O=cva(["fg-default-light flex items-center gap-s p-s text-body-s ","**:data-[slot=description]:fg-default-dark **:data-[slot=description]:text-body-xs","hover:fg-inverse-light hover:**:data-[slot=description]:fg-inverse-light","focus:fg-inverse-light focus:**:data-[slot=description]:fg-inverse-light ","disabled:fg-disabled disabled:**:data-[slot=description]:fg-disabled disabled:bg-transparent","hover:bg-highlight-bold focus:bg-highlight-bold"],{variants:{type:{destructive:"hover:bg-serious-bold focus:bg-serious-bold",default:"hover:bg-highlight-bold focus:bg-highlight-bold"},size:{large:"pt-s pb-s",small:"pt-xs pb-xs"}},defaultVariants:{size:"large"}});function T({children:e,className:c,description:s,prefixIcon:i,suffixIcon:o,name:a,type:r,size:n,...f}){let p=useContext(OptionsContext)??{},{size:g,type:x}=useMemo(()=>mergeProps(p,{size:n,type:r}),[p,n,r]);return jsx(ListBoxItem,{textValue:a,...f,className:O({type:x,size:g,className:c}),children:u=>typeof e=="function"?e(u):jsxs(Fragment,{children:[i&&jsx("span",{className:"flex w-[16px] items-center",children:jsx(Icon,{children:i})}),jsxs("div",{className:"flex min-w-0 flex-auto flex-col gap-xxs",children:[jsx(Text,{className:"truncate",slot:"label",children:a}),s&&jsx(Text,{className:"truncate","data-slot":"description",slot:"description",children:s})]}),o&&jsx("span",{className:"flex w-[16px] items-center",children:jsx(Icon,{size:"small",children:o})})]})})}T.displayName="OptionsItem";export{T as OptionsItem};//# sourceMappingURL=index.js.map
|
2
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/options-item/index.tsx"],"names":["cva","b","children","className","prefixIcon","suffixIcon","name","typeProp","sizeProp","useContext","OptionsContext","N","size","useMemo","v","optionsContext","AriaListBoxItem","y","optionsItemStyles","type","renderProps","jsxs","Fragment","A","jsx","t","Icon","d","m","AriaText","l","description","OptionsItem"],"mappings":"wTAyBA,IAA0BA,CAAAA,CACxBC,GACE,CAAA,CAAA,2DACA,CAAA,oFACA,CAAA,0EACA,CAAA,2EACA,CAAA,8FACA,CAAA,iDAEF,CACE,CAAA,CAAA,QACE,CAAA,CAAA,IACE,CAAA,CAAA,yDACA,CAAA,OAAS,CAAA,iDAEX,CAAA,CAAA,IACE,OAAO,CAAA,WACP,CAAA,KAAO,CAAA,aAEX,CACA,CAAA,CAAA,eACE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A,CAAA,SAAU,CAAA,UACV,CAAA,yBACA,CAAA,IAAK,CAAA,aAEJ,CAAA,QAAAC,CACH,CAAA,CAAA,CAEJ,CAAA,CACC1B,GACCmB,EAACC,GAAA,CAAA,MAAK,CAAA,CAAA,SAAU,CAAA,4BACd,CAAA,QAAAD,CAACE,IAAAC,IAAK,CAAA,CAAA,IAAK,CAAA,OAAS,CAAA,QAAAtB,CAAW,CAAA,CACjC,GAEJ,CAAA,CAGN,CAEJ,CACA2B,CAAAA,CAAY,CAAA,CAAA,WAAc,CAAA,aAAA","file":"index.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\nimport { mergeProps } from '@react-aria/utils';\nimport 'client-only';\nimport { type VariantProps, cva } from 'cva';\nimport { type ReactNode, useContext, useMemo } from 'react';\nimport {\n ListBoxItem as AriaListBoxItem,\n type ListBoxItemProps as AriaListBoxItemProps,\n Text as AriaText,\n} from 'react-aria-components';\nimport { Icon } from '../icon';\nimport { OptionsContext } from '../options';\n\nconst optionsItemStyles = cva(\n [\n 'fg-default-light flex items-center gap-s p-s text-body-s ',\n '**:data-[slot=description]:fg-default-dark **:data-[slot=description]:text-body-xs',\n 'hover:fg-inverse-light hover:**:data-[slot=description]:fg-inverse-light',\n 'focus:fg-inverse-light focus:**:data-[slot=description]:fg-inverse-light ',\n 'disabled:fg-disabled disabled:**:data-[slot=description]:fg-disabled disabled:bg-transparent',\n 'hover:bg-highlight-bold focus:bg-highlight-bold',\n ],\n {\n variants: {\n type: {\n destructive: 'hover:bg-serious-bold focus:bg-serious-bold',\n default: 'hover:bg-highlight-bold focus:bg-highlight-bold',\n },\n size: {\n large: 'pt-s pb-s',\n small: 'pt-xs pb-xs',\n },\n },\n defaultVariants: {\n size: 'large',\n },\n },\n);\n\nexport interface IOptionsItem {\n children?: IOptionsItem[];\n description?: string;\n prefixIcon?: ReactNode;\n suffixIcon?: ReactNode;\n id?: string | number;\n name: string;\n}\n\nexport interface OptionsItemProps<T extends IOptionsItem>\n extends VariantProps<typeof optionsItemStyles>,\n AriaListBoxItemProps<T> {\n description?: string;\n prefixIcon?: ReactNode;\n suffixIcon?: ReactNode;\n name: string;\n}\n\nexport function OptionsItem<T extends IOptionsItem>({\n children,\n className,\n description,\n prefixIcon,\n suffixIcon,\n name,\n type: typeProp,\n size: sizeProp,\n ...props\n}: OptionsItemProps<T>) {\n const optionsContext = useContext(OptionsContext) ?? {};\n\n const { size, type } = useMemo(\n () =>\n mergeProps(optionsContext, {\n size: sizeProp,\n type: typeProp,\n }),\n [optionsContext, sizeProp, typeProp],\n );\n\n return (\n <AriaListBoxItem<T>\n textValue={name}\n {...props}\n className={optionsItemStyles({ type, size, className })}\n >\n {(renderProps) => {\n if (typeof children === 'function') {\n return children(renderProps);\n }\n\n return (\n <>\n {prefixIcon && (\n <span className='flex w-[16px] items-center'>\n <Icon>{prefixIcon}</Icon>\n </span>\n )}\n <div className='flex min-w-0 flex-auto flex-col gap-xxs'>\n <AriaText className='truncate' slot='label'>\n {name}\n </AriaText>\n {description && (\n <AriaText\n className='truncate'\n data-slot='description'\n slot='description'\n >\n {description}\n </AriaText>\n )}\n </div>\n {suffixIcon && (\n <span className='flex w-[16px] items-center'>\n <Icon size='small'>{suffixIcon}</Icon>\n </span>\n )}\n </>\n );\n }}\n </AriaListBoxItem>\n );\n}\nOptionsItem.displayName = 'OptionsItem';\n"]}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { Field } from 'react-querybuilder';
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Represents sample field types and data for building a query.
|
5
|
-
* These fields and their validators are for demonstration of capability and are not required for implementation.
|
6
|
-
*
|
7
|
-
*/
|
8
|
-
declare const fields: Field[];
|
9
|
-
/**
|
10
|
-
* Represents an initial query to populate the rulesets
|
11
|
-
* to illustrate examples.
|
12
|
-
*/
|
13
|
-
declare const defaultQuery: {
|
14
|
-
combinator: string;
|
15
|
-
rules: ({
|
16
|
-
field: string;
|
17
|
-
operator: string;
|
18
|
-
value: string;
|
19
|
-
} | {
|
20
|
-
field: string;
|
21
|
-
operator: string;
|
22
|
-
value: string[];
|
23
|
-
} | {
|
24
|
-
field: string;
|
25
|
-
operator: string;
|
26
|
-
value: boolean;
|
27
|
-
})[];
|
28
|
-
};
|
29
|
-
|
30
|
-
export { defaultQuery, fields };
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import {z}from'zod';var n=[{name:"AK_HIGH",label:"AK High",type:"i32",inputType:"number",operators:[{name:"=",value:"=",label:"is"},{name:"<",value:"<",label:"less than"},{name:">",value:">",label:"greater than"},{name:"<=",value:"<=",label:"less than equal"},{name:">=",value:">=",label:"greater than equal"},{name:"between",value:"between",label:"between"},{name:"in",value:"in",label:"in"}],validator:a=>({valid:z.union([z.coerce.number().int().gte(-2147483648).lte(2147483647),z.tuple([z.coerce.number().int().gte(-2147483648).lte(2147483647),z.coerce.number().int().gte(-2147483648).lte(2147483647)])]).safeParse(a.value).success,reasons:["Number must be in range."]})},{name:"AK_LOW",label:"AK Low",type:"i32",inputType:"number",operators:[{name:"=",value:"=",label:"is"},{name:"<",value:"<",label:"less than"},{name:">",value:">",label:"greater than"},{name:"<=",value:"<=",label:"less than equal"},{name:">=",value:">=",label:"greater than equal"},{name:"between",value:"between",label:"between"},{name:"in",value:"in",label:"in"}],validator:a=>({valid:z.union([z.coerce.number().int().gte(-2147483648).lte(2147483647),z.tuple([z.coerce.number().int().gte(-2147483648).lte(2147483647),z.coerce.number().int().gte(-2147483648).lte(2147483647)])]).safeParse(a.value).success,reasons:["Number must be in range."]})},{name:"COUNTRY",label:"Country",type:"str",operators:[{name:"=",value:"=",label:"is"},{name:"like",value:"like",label:"like"},{name:"in",value:"in",label:"in"}],inputType:"text",validator:a=>({valid:z.string().min(1).safeParse(a.value).success,reasons:["At least one character is required."]})},{name:"NOTES",label:"Operator Notes",type:"str",valueEditorType:"textarea"},{name:"OPERSTATUS",label:"Is Operational",type:"bool",defaultValue:false,operators:[{name:"=",value:"=",label:"is"}],valueEditorType:"checkbox"},{name:"DONUTS",label:"Has Donuts",type:"bool",operators:[{name:"=",value:"=",label:"is"}],valueEditorType:"switch"},{name:"SERVCITY",label:"Service City",valueEditorType:"select",values:[{name:"Anchorage",label:"Anchorage",value:"Anchorage"},{name:"Juneau",label:"Juneau",value:"Juneau"},{name:"Fairbanks",label:"Fairbanks",value:"Fairbanks"},{name:"Sitka",label:"Sitka",value:"Sitka"},{name:"Montgomery",label:"Montgomery",value:"Montgomery"},{name:"Birmingham",label:"Birmingham",value:"Birmingham"},{name:"Huntsville",label:"Huntsville",value:"Huntsville"},{name:"Mobile",label:"Mobile",value:"Mobile"}],type:"str",operators:[{name:"=",value:"=",label:"is"},{name:"like",value:"like",label:"like"},{name:"in",value:"in",label:"in"},{name:"between",value:"between",label:"between"}]},{name:"TYPE_CODE",label:"Type Code",type:"str",operators:[{name:"=",value:"=",label:"is"}],valueEditorType:"radio",values:[{name:"Heliport",label:"Heliport",value:"Heliport"},{name:"Aerodrome",label:"Aerodrome",value:"Aerodrome"},{name:"Unknown",label:"Unknown",value:"Unknown"}],defaultValue:"Aerodrome"},{name:"ESTABLISHED",label:"Established",type:"date",operators:[{name:"equals",value:"tequals",label:"is"},{name:"during",value:"during",label:"occurs between"},{name:"before",value:"before",label:"ends before"},{name:"after",value:"after",label:"starts after"},{name:"overlapped",value:"overlappedby",label:"starts during"},{name:"overlaps",value:"toverlaps",label:"ends during"}],inputType:"date",validator:a=>({valid:z.union([z.string().min(1),z.tuple([z.string().min(1),z.string().min(1)])]).safeParse(a.value).success,reasons:["At least one character is required."]})},{name:"MAINTENANCE",label:"Maintenance",type:"datetime",operators:[{name:"equals",value:"tequals",label:"is"},{name:"during",value:"during",label:"occurs between"},{name:"before",value:"before",label:"ends before"},{name:"after",value:"after",label:"starts after"},{name:"overlapped",value:"overlappedby",label:"starts during"},{name:"overlaps",value:"toverlaps",label:"ends during"}],inputType:"datetime-local",validator:a=>({valid:z.union([z.string().min(1),z.tuple([z.string().min(1),z.string().min(1)])]).safeParse(a.value).success,reasons:["At least one character is required."]})},{name:"PEAK_TRAFFIC",label:"Peak Traffic",type:"time",operators:[{name:"equals",value:"tequals",label:"is"},{name:"during",value:"during",label:"occurs between"},{name:"before",value:"before",label:"ends before"},{name:"after",value:"after",label:"starts after"},{name:"overlapped",value:"overlappedby",label:"starts during"},{name:"overlaps",value:"toverlaps",label:"ends during"}],inputType:"time",validator:a=>({valid:z.union([z.string().min(1),z.tuple([z.string().min(1),z.string().min(1)])]).safeParse(a.value).success,reasons:["At least one character is required."]})}],t={combinator:"AND",rules:[{field:"AK_HIGH",operator:">",value:"10000"},{field:"AK_LOW",operator:"between",value:["1000","5000"]},{field:"COUNTRY",operator:"like",value:"Canada"},{field:"NOTES",operator:"contains",value:"Clear skies..."},{field:"SERVCITY",operator:"like",value:"Anchorage"},{field:"OPERSTATUS",operator:"=",value:false},{field:"DONUTS",operator:"=",value:true},{field:"TYPE_CODE",operator:"=",value:"Aerodrome"},{field:"ESTABLISHED",operator:"during",value:["2024-10-01","2024-11-01"]},{field:"PEAK_TRAFFIC",operator:"overlaps",value:["18:22:54","19:22:54"]},{field:"MAINTENANCE",operator:"overlapped",value:["2024-10-01T18:22:54","2024-11-01T18:22:54"]}]};export{t as defaultQuery,n as fields};//# sourceMappingURL=example-configuration.js.map
|
2
|
-
//# sourceMappingURL=example-configuration.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/query-builder/example-configuration.ts"],"names":["fields","rule","z","defaultQuery"],"mappings":"oBAqBO,IAAMA,CA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A,CAAO,CAAC,MAAA,CAAQ,MAAM,CAAE,CAAA,CAChE,CAAE,KAAA,CAAO,SAAA,CAAW,QAAA,CAAU,MAAA,CAAQ,KAAA,CAAO,QAAS,CAAA,CACtD,CAAE,KAAA,CAAO,OAAA,CAAS,QAAA,CAAU,UAAA,CAAY,KAAA,CAAO,gBAAiB,CAAA,CAChE,CAAE,KAAA,CAAO,UAAA,CAAY,QAAA,CAAU,MAAA,CAAQ,KAAA,CAAO,WAAY,EAC1D,CAAE,KAAA,CAAO,YAAA,CAAc,QAAA,CAAU,GAAA,CAAK,KAAA,CAAO,KAAM,CAAA,CACnD,CAAE,KAAA,CAAO,QAAA,CAAU,QAAA,CAAU,GAAA,CAAK,KAAA,CAAO,IAAK,CAAA,CAC9C,CAAE,KAAA,CAAO,WAAA,CAAa,QAAA,CAAU,GAAA,CAAK,KAAA,CAAO,WAAY,CAAA,CACxD,CACE,KAAA,CAAO,aAAA,CACP,QAAA,CAAU,QAAA,CACV,MAAO,CAAC,YAAA,CAAc,YAAY,CACpC,CAAA,CACA,CACE,KAAA,CAAO,cAAA,CACP,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,CAAC,UAAA,CAAY,UAAU,CAChC,CAAA,CACA,CACE,KAAA,CAAO,aAAA,CACP,QAAA,CAAU,YAAA,CACV,KAAA,CAAO,CAAC,qBAAA,CAAuB,qBAAqB,CACtD,CACF,CACF","file":"example-configuration.js","sourcesContent":["// __private-exports\n/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport type { Field } from 'react-querybuilder';\nimport { z } from 'zod';\n\n/**\n * Represents sample field types and data for building a query.\n * These fields and their validators are for demonstration of capability and are not required for implementation.\n *\n */\nexport const fields: Field[] = [\n {\n name: 'AK_HIGH',\n label: 'AK High',\n type: 'i32',\n inputType: 'number', // as in HTML input type <input type=\"number\">\n operators: [\n { name: '=', value: '=', label: 'is' } as const,\n { name: '<', value: '<', label: 'less than' } as const,\n { name: '>', value: '>', label: 'greater than' } as const,\n { name: '<=', value: '<=', label: 'less than equal' } as const,\n { name: '>=', value: '>=', label: 'greater than equal' } as const,\n { name: 'between', value: 'between', label: 'between' } as const,\n { name: 'in', value: 'in', label: 'in' } as const,\n ],\n validator: (rule) => ({\n valid: z\n .union([\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n z.tuple([\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n ]),\n ])\n .safeParse(rule.value).success,\n reasons: ['Number must be in range.'],\n }),\n },\n {\n name: 'AK_LOW',\n label: 'AK Low',\n type: 'i32',\n inputType: 'number', // as in HTML input type <input type=\"number\">\n operators: [\n { name: '=', value: '=', label: 'is' } as const,\n { name: '<', value: '<', label: 'less than' } as const,\n { name: '>', value: '>', label: 'greater than' } as const,\n { name: '<=', value: '<=', label: 'less than equal' } as const,\n { name: '>=', value: '>=', label: 'greater than equal' } as const,\n { name: 'between', value: 'between', label: 'between' } as const,\n { name: 'in', value: 'in', label: 'in' } as const,\n ],\n validator: (rule) => ({\n valid: z\n .union([\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n z.tuple([\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n z.coerce.number().int().gte(-2_147_483_648).lte(2_147_483_647),\n ]),\n ])\n .safeParse(rule.value).success,\n reasons: ['Number must be in range.'],\n }),\n },\n {\n name: 'COUNTRY',\n label: 'Country',\n type: 'str',\n operators: [\n { name: '=', value: '=', label: 'is' } as const,\n { name: 'like', value: 'like', label: 'like' } as const,\n { name: 'in', value: 'in', label: 'in' } as const,\n ],\n inputType: 'text',\n validator: (rule) => ({\n valid: z.string().min(1).safeParse(rule.value).success,\n reasons: ['At least one character is required.'],\n }),\n },\n {\n name: 'NOTES',\n label: 'Operator Notes',\n type: 'str',\n valueEditorType: 'textarea',\n },\n {\n name: 'OPERSTATUS',\n label: 'Is Operational',\n type: 'bool',\n defaultValue: false,\n operators: [{ name: '=', value: '=', label: 'is' } as const],\n valueEditorType: 'checkbox',\n },\n {\n name: 'DONUTS',\n label: 'Has Donuts',\n type: 'bool',\n operators: [{ name: '=', value: '=', label: 'is' } as const],\n valueEditorType: 'switch',\n },\n {\n name: 'SERVCITY',\n label: 'Service City',\n valueEditorType: 'select',\n values: [\n { name: 'Anchorage', label: 'Anchorage', value: 'Anchorage' },\n { name: 'Juneau', label: 'Juneau', value: 'Juneau' },\n {\n name: 'Fairbanks',\n label: 'Fairbanks',\n value: 'Fairbanks',\n },\n { name: 'Sitka', label: 'Sitka', value: 'Sitka' },\n { name: 'Montgomery', label: 'Montgomery', value: 'Montgomery' },\n { name: 'Birmingham', label: 'Birmingham', value: 'Birmingham' },\n {\n name: 'Huntsville',\n label: 'Huntsville',\n value: 'Huntsville',\n },\n { name: 'Mobile', label: 'Mobile', value: 'Mobile' },\n ],\n type: 'str',\n operators: [\n { name: '=', value: '=', label: 'is' } as const,\n { name: 'like', value: 'like', label: 'like' } as const,\n { name: 'in', value: 'in', label: 'in' } as const,\n { name: 'between', value: 'between', label: 'between' } as const,\n ],\n },\n {\n name: 'TYPE_CODE',\n label: 'Type Code',\n type: 'str',\n operators: [{ name: '=', value: '=', label: 'is' } as const],\n valueEditorType: 'radio',\n values: [\n { name: 'Heliport', label: 'Heliport', value: 'Heliport' },\n { name: 'Aerodrome', label: 'Aerodrome', value: 'Aerodrome' },\n { name: 'Unknown', label: 'Unknown', value: 'Unknown' },\n ],\n defaultValue: 'Aerodrome',\n },\n {\n name: 'ESTABLISHED',\n label: 'Established',\n type: 'date',\n operators: [\n { name: 'equals', value: 'tequals', label: 'is' } as const,\n { name: 'during', value: 'during', label: 'occurs between' } as const,\n { name: 'before', value: 'before', label: 'ends before' } as const,\n { name: 'after', value: 'after', label: 'starts after' } as const,\n {\n name: 'overlapped',\n value: 'overlappedby',\n label: 'starts during',\n } as const,\n { name: 'overlaps', value: 'toverlaps', label: 'ends during' } as const,\n ],\n inputType: 'date',\n validator: (rule) => ({\n valid: z\n .union([\n z.string().min(1),\n z.tuple([z.string().min(1), z.string().min(1)]),\n ])\n .safeParse(rule.value).success,\n reasons: ['At least one character is required.'],\n }),\n },\n {\n name: 'MAINTENANCE',\n label: 'Maintenance',\n type: 'datetime',\n operators: [\n { name: 'equals', value: 'tequals', label: 'is' } as const,\n { name: 'during', value: 'during', label: 'occurs between' } as const,\n { name: 'before', value: 'before', label: 'ends before' } as const,\n { name: 'after', value: 'after', label: 'starts after' } as const,\n {\n name: 'overlapped',\n value: 'overlappedby',\n label: 'starts during',\n } as const,\n { name: 'overlaps', value: 'toverlaps', label: 'ends during' } as const,\n ],\n inputType: 'datetime-local', // mm/dd/yyyy hh:mm a\n validator: (rule) => ({\n valid: z\n .union([\n z.string().min(1),\n z.tuple([z.string().min(1), z.string().min(1)]),\n ])\n .safeParse(rule.value).success,\n reasons: ['At least one character is required.'],\n }),\n },\n {\n name: 'PEAK_TRAFFIC',\n label: 'Peak Traffic',\n type: 'time',\n operators: [\n { name: 'equals', value: 'tequals', label: 'is' } as const,\n { name: 'during', value: 'during', label: 'occurs between' } as const,\n { name: 'before', value: 'before', label: 'ends before' } as const,\n { name: 'after', value: 'after', label: 'starts after' } as const,\n {\n name: 'overlapped',\n value: 'overlappedby',\n label: 'starts during',\n } as const,\n { name: 'overlaps', value: 'toverlaps', label: 'ends during' } as const,\n ],\n inputType: 'time', // hh:mm a\n validator: (rule) => ({\n valid: z\n .union([\n z.string().min(1),\n z.tuple([z.string().min(1), z.string().min(1)]),\n ])\n .safeParse(rule.value).success,\n reasons: ['At least one character is required.'],\n }),\n },\n] satisfies Field[];\n\n/**\n * Represents an initial query to populate the rulesets\n * to illustrate examples.\n */\nexport const defaultQuery = {\n combinator: 'AND',\n rules: [\n { field: 'AK_HIGH', operator: '>', value: '10000' }, // i32\n { field: 'AK_LOW', operator: 'between', value: ['1000', '5000'] }, // between\n { field: 'COUNTRY', operator: 'like', value: 'Canada' }, //text\n { field: 'NOTES', operator: 'contains', value: 'Clear skies...' }, // textarea\n { field: 'SERVCITY', operator: 'like', value: 'Anchorage' }, // options with headers\n { field: 'OPERSTATUS', operator: '=', value: false }, // bool\n { field: 'DONUTS', operator: '=', value: true }, // switch\n { field: 'TYPE_CODE', operator: '=', value: 'Aerodrome' }, // radio\n {\n field: 'ESTABLISHED',\n operator: 'during',\n value: ['2024-10-01', '2024-11-01'],\n }, // date\n {\n field: 'PEAK_TRAFFIC',\n operator: 'overlaps',\n value: ['18:22:54', '19:22:54'],\n }, // time\n {\n field: 'MAINTENANCE',\n operator: 'overlapped',\n value: ['2024-10-01T18:22:54', '2024-11-01T18:22:54'],\n }, // datetime\n ],\n};\n"]}
|