@accelint/design-toolkit 2.0.0 → 2.2.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.
Files changed (97) hide show
  1. package/README.md +16 -7
  2. package/dist/components/accordion/index.d.ts +21 -30
  3. package/dist/components/accordion/index.js +1 -1
  4. package/dist/components/accordion/index.js.map +1 -1
  5. package/dist/components/accordion/styles.d.ts +96 -0
  6. package/dist/components/accordion/styles.js +2 -0
  7. package/dist/components/accordion/styles.js.map +1 -0
  8. package/dist/components/accordion/types.d.ts +20 -0
  9. package/dist/components/avatar/index.js.map +1 -1
  10. package/dist/components/badge/index.js.map +1 -1
  11. package/dist/components/box/index.js.map +1 -1
  12. package/dist/components/button/index.js +1 -1
  13. package/dist/components/button/index.js.map +1 -1
  14. package/dist/components/checkbox/index.js +1 -1
  15. package/dist/components/checkbox/index.js.map +1 -1
  16. package/dist/components/chip/index.js +1 -1
  17. package/dist/components/chip/index.js.map +1 -1
  18. package/dist/components/classification-badge/index.js.map +1 -1
  19. package/dist/components/classification-banner/index.js.map +1 -1
  20. package/dist/components/color-picker/index.js.map +1 -1
  21. package/dist/components/combobox/index.d.ts +7 -16
  22. package/dist/components/combobox/index.js +1 -1
  23. package/dist/components/combobox/index.js.map +1 -1
  24. package/dist/components/date-field/index.js.map +1 -1
  25. package/dist/components/dialog/index.js +1 -1
  26. package/dist/components/dialog/index.js.map +1 -1
  27. package/dist/components/floating-button/index.js.map +1 -1
  28. package/dist/components/icon/index.d.ts +15 -15
  29. package/dist/components/icon/index.js +1 -1
  30. package/dist/components/icon/index.js.map +1 -1
  31. package/dist/components/icon/styles.d.ts +34 -0
  32. package/dist/components/icon/styles.js +2 -0
  33. package/dist/components/icon/styles.js.map +1 -0
  34. package/dist/components/icon/types.d.ts +10 -0
  35. package/dist/components/icon/types.js +2 -0
  36. package/dist/components/icon/types.js.map +1 -0
  37. package/dist/components/icon-button/index.js +1 -1
  38. package/dist/components/icon-button/index.js.map +1 -1
  39. package/dist/components/label/index.js.map +1 -1
  40. package/dist/components/options/index.d.ts +32 -0
  41. package/dist/components/options/index.js +2 -0
  42. package/dist/components/options/index.js.map +1 -0
  43. package/dist/components/options-item/index.d.ts +30 -0
  44. package/dist/components/options-item/index.js +2 -0
  45. package/dist/components/options-item/index.js.map +1 -0
  46. package/dist/components/popover/index.d.ts +32 -0
  47. package/dist/components/popover/index.js +2 -0
  48. package/dist/components/popover/index.js.map +1 -0
  49. package/dist/components/popover/styles.d.ts +47 -0
  50. package/dist/components/popover/styles.js +2 -0
  51. package/dist/components/popover/styles.js.map +1 -0
  52. package/dist/components/popover/types.d.ts +24 -0
  53. package/dist/components/popover/types.js +2 -0
  54. package/dist/components/popover/types.js.map +1 -0
  55. package/dist/components/query-builder/action-element.js.map +1 -1
  56. package/dist/components/query-builder/constants.js.map +1 -1
  57. package/dist/components/query-builder/example-configuration.js.map +1 -1
  58. package/dist/components/query-builder/group.js.map +1 -1
  59. package/dist/components/query-builder/index.js.map +1 -1
  60. package/dist/components/query-builder/rule.js.map +1 -1
  61. package/dist/components/query-builder/utils.js.map +1 -1
  62. package/dist/components/query-builder/value-editor.js.map +1 -1
  63. package/dist/components/query-builder/value-selector.js.map +1 -1
  64. package/dist/components/radio/index.js +1 -1
  65. package/dist/components/radio/index.js.map +1 -1
  66. package/dist/components/search-field/index.js +1 -1
  67. package/dist/components/search-field/index.js.map +1 -1
  68. package/dist/components/slider/index.d.ts +23 -0
  69. package/dist/components/slider/index.js +2 -0
  70. package/dist/components/slider/index.js.map +1 -0
  71. package/dist/components/switch/index.js +1 -1
  72. package/dist/components/switch/index.js.map +1 -1
  73. package/dist/components/tabs/index.js +1 -1
  74. package/dist/components/tabs/index.js.map +1 -1
  75. package/dist/components/text-area/index.js.map +1 -1
  76. package/dist/components/text-field/index.js +1 -1
  77. package/dist/components/text-field/index.js.map +1 -1
  78. package/dist/components/toggle-icon-button/index.js +1 -1
  79. package/dist/components/toggle-icon-button/index.js.map +1 -1
  80. package/dist/components/tooltip/index.js.map +1 -1
  81. package/dist/icons/catalog.js.map +1 -1
  82. package/dist/index.css +10 -6
  83. package/dist/index.d.ts +17 -6
  84. package/dist/index.js +1 -1
  85. package/dist/lib/react.js.map +1 -1
  86. package/dist/lib/types.d.ts +29 -0
  87. package/dist/lib/types.js +2 -0
  88. package/dist/lib/types.js.map +1 -0
  89. package/dist/lib/utils.d.ts +15 -1
  90. package/dist/lib/utils.js +1 -1
  91. package/dist/lib/utils.js.map +1 -1
  92. package/dist/metafile-esm.json +1 -1
  93. package/dist/styles.css +331 -158
  94. package/package.json +16 -13
  95. package/dist/types/types.d.ts +0 -11
  96. /package/dist/{types → components/accordion}/types.js +0 -0
  97. /package/dist/{types → components/accordion}/types.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/text-area/index.tsx"],"names":["g","ref","size","props","TextAreaContext","jsx","cn","T","e","isInvalid","textAreaStyles","n","className","Input","TextArea","description","errorMessage","label","placeholder","isSmall","shouldShowDescription","isDisabled","shouldShowError","isReadOnly","jsxs","b","Label","a","AriaText","x"],"mappings":"2PA6BE,IAAC,CAAA,CAAAA,GAAA,CAAA,CAAA,0EAEC,CAAA,CAAA,CAAA,QACE,CAAA,CAAA,UACQ,CAAA,CAAA,IAAA,CAAA,sEAEJ,CAAA,KAAA,CAAA,0GAEO,CAAA,CAAA,SACH,CAAA,CAAA,IAAA,CAAA,iBAEI,CAAA,CAAA,UACJ,CAAA,CAAA,IAAA,CAAA,+BAGN,CAAQ,CAAA,IAAA,CAAA,CAAA,MAAA,CAAA,aAEV,CAAA,KAAA,CAAA,cACa,CAAA,CAAA,WAEX,CAAA,CAAA,IAAA,CAAA,EACF,CAAA,KAEgB,CAAA,EAAA,CAAA,CAAA,CAAA,gBAEd,CAAA,CAAA,CAAA,UACW,CAAA,IAAA,CAAA,SACA,CAAA,IAAA,CAAA,SAAA,CAAA,8BAGX,CAAA,CAAA,CAAA,WACA,CAAA,IAAA,CAAA,UACM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,CAAAA,WACAC,CAAAA,CAAAA,CAAAA,yBAEA,CAAA,CAAA,CAAA,SACA,CAAA,CAAA,CAAA,UACAC,CAAAA,CAAAA,CACA,KAAAC,CAAAA,CAAAA,CAAAA,WACAhB,CAAO,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,QAGP,CAAA,GAAMiB,EAAUjB,CAAS,CAAA,IAAA,CAAA,CAAA,CAAA,GACnBkB,OAAqCX,CAAcY,CAAAA,CAAAA,EAAAA,CACnDC,EAAkBb,CAAa,CAAA,EAACY,CAAc,CAAA,CAAA,CAACE,GAGnDC,CAAAA,CAAAA,EAAAA,CAAAA,CAAAA,CAAAA,OACOrB,IACL,CAAAsB,SAAA,CAAA,CAAA,GAAA,CAAA,CAAA,UACA,CAAA,CAAA,CAAA,SACYF,CAAAA,CAAAA,CAAAA,UACD,CAAA,CAAA,CAAA,SAAA,CAAA,+BAGRG,CAAA,CAAA,CACC,uBACA,CAAA,cAAA,CAAA,UACA,CAAA,CAAA,CAAA,UAAmB,CAAA,CAAA,CAAA,CAAA,UAElBT,CAAAA,QAGJJ,CAAA,CAAM,CAAA,CAAA,CAAAc,GAAA,CAAA,CAAA,CAAA,CAAA,SAAmCT,CAAAA,CAAAA,CAAAA,WAAmBhB,CAAAA,CAAM,KAEjEG,CAAAA,CAACuB,CAAA,CAAA,CACC,sBAEEP,CAAAA,EAAAA,CAAAA,CAAAA,4DAEG,CAAA,CAAA,CAAA,IAAA,CAAA,sBAMPhB,CAAAA,CAACuB,EAAA,CACC,CAAA,EAAAD,GAAA,CAAAE,IAAA,CAAA,CAAA,SACA,CAAA,0DAECb,CAAAA,QAMXF,EAAS,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,WAAA,CAAA,UAAA","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\nimport 'client-only';\nimport {\n Text as AriaText,\n TextArea as AriaTextArea,\n type TextAreaProps as AriaTextAreaProps,\n TextField as AriaTextField,\n type TextFieldProps as AriaTextFieldProps,\n TextAreaContext,\n useContextProps,\n} from 'react-aria-components';\n\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\nimport type { ForwardedRef } from 'react';\nimport { Label } from '../label';\n\nconst textAreaStyles = cva(\n ['block w-full rounded-medium p-s font-display outline outline-interactive'],\n {\n variants: {\n isDisabled: {\n true: 'text-disabled outline-interactive-disabled placeholder:text-disabled',\n false:\n 'text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight',\n },\n isInvalid: {\n true: 'outline-serious',\n },\n isReadOnly: {\n true: 'rounded-none p-0 outline-none',\n },\n size: {\n medium: 'text-body-s',\n small: 'text-body-xs',\n },\n isClearable: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n isDisabled: true,\n isInvalid: true,\n className: 'outline-interactive-disabled',\n },\n {\n isClearable: true,\n isDisabled: false,\n size: 'medium',\n className: 'pr-xl',\n },\n ],\n defaultVariants: {\n isClearable: false,\n size: 'medium',\n },\n },\n);\n\ninterface InputProps\n extends VariantProps<typeof textAreaStyles>,\n Omit<AriaTextAreaProps, 'size'> {\n selectOnFocus?: boolean;\n ref?: ForwardedRef<HTMLTextAreaElement>;\n}\n\nconst Input = ({\n className,\n ref = null,\n selectOnFocus = false,\n size = 'medium',\n ...props\n}: InputProps) => {\n [props, ref] = useContextProps(props, ref, TextAreaContext);\n\n if (props.readOnly) {\n return (\n <span\n className={cn(\n textAreaStyles({\n isDisabled: false,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )}\n >\n {props.value || '\\u00A0'}\n </span>\n );\n }\n\n return (\n <div className='relative flex items-center'>\n <AriaTextArea\n {...props}\n onFocus={(e) => {\n if (selectOnFocus) {\n ref.current?.select();\n }\n\n props.onFocus?.(e);\n }}\n ref={ref}\n className={({ isDisabled, isInvalid }) =>\n cn(\n textAreaStyles({\n isDisabled,\n isInvalid,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )\n }\n />\n </div>\n );\n};\nInput.displayName = 'TextArea.Input';\n\nexport interface TextAreaProps\n extends Omit<\n VariantProps<typeof textAreaStyles>,\n 'isDisabled' | 'isInvalid' | 'isReadOnly'\n >,\n Omit<AriaTextFieldProps, 'className'>,\n Omit<InputProps, keyof AriaTextFieldProps> {\n className?: string;\n description?: string;\n errorMessage?: string;\n label?: string;\n placeholder?: string;\n}\n\nexport function TextArea({\n className,\n description,\n errorMessage,\n isDisabled,\n isInvalid,\n isReadOnly,\n label,\n placeholder,\n size = 'medium',\n ...props\n}: TextAreaProps) {\n const isSmall = size === 'small';\n const shouldShowDescription = !(isSmall || isInvalid) || isDisabled;\n const shouldShowError = isInvalid && !isDisabled && !isReadOnly;\n\n return (\n <AriaTextField\n {...(props as AriaTextFieldProps)}\n isDisabled={isDisabled}\n isInvalid={isInvalid}\n isReadOnly={isReadOnly}\n className={'flex flex-col gap-xs'}\n >\n {!isSmall && (\n <Label\n className='empty:hidden'\n isDisabled={isDisabled}\n isOptional={!props.isRequired}\n >\n {label}\n </Label>\n )}\n <Input className={className} placeholder={placeholder} size={size} />\n {shouldShowDescription && (\n <AriaText\n className={cn([\n 'fg-default-dark text-body-xs empty:hidden',\n isDisabled && 'fg-disabled',\n ])}\n slot='description'\n >\n {description}\n </AriaText>\n )}\n {shouldShowError && (\n <AriaText\n className='fg-serious text-body-xs empty:hidden'\n slot='errorMessage'\n >\n {errorMessage}\n </AriaText>\n )}\n </AriaTextField>\n );\n}\nTextArea.displayName = 'TextArea';\n"]}
1
+ {"version":3,"sources":["../../../src/components/text-area/index.tsx"],"names":["g","ref","size","props","TextAreaContext","P","h","T","e","textAreaStyles","n","Input","label","isSmall","shouldShowDescription","isInvalid","isDisabled","shouldShowError","isReadOnly","jsxs","b","Label","a","jsx","AriaText","x","TextArea"],"mappings":"2PA6BE,IAAC,CAAA,CAAAA,GAAA,CAAA,CAAA,0EAEC,CAAA,CAAA,CAAA,QACE,CAAA,CAAA,UACQ,CAAA,CAAA,IAAA,CAAA,sEAEJ,CAAA,KAAA,CAAA,0GAEJ,CAAA,CAAA,SACQ,CAAA,CAAA,IAAA,CAAA,iBAER,CAAA,CAAA,UACQ,CAAA,CAAA,IAAA,CAAA,+BAGN,CAAA,CAAA,IAAA,CAAQ,CAAA,MAAA,CAAA,aACD,CAAA,KAAA,CAAA,cAET,CAAA,CAAA,WACQ,CAAA,CACN,IAAA,CAAA,EAAO,CACT,KAEF,CAAA,EAAA,CAAA,CAAA,CAAA,gBAEI,CAAA,CAAA,CAAA,UACA,CAAA,IAAA,CAAA,SACA,CAAA,IAAA,CAAA,SAAW,CAAA,8BAGX,CAAA,CAAA,CAAA,WACA,CAAA,IAAA,CAAA,UACA,CAAM,KAAA,CAAA,IAAA,CAAA,QACN,CAAA,SACF,CACF,OACA,CAAA,CAAA,CAAA,eACE,CAAA,CAAA,WACA,CAAM,KAAA,CAAA,IAAA,CACR,QAYF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,SACAC,CAAM,CAAA,CAAA,GACN,CAAA,CAAA,CAAA,IAAA,CAAA,aACA,CAAA,CAAA,CAAAC,KAAO,CAAA,IAAA,CAAA,CAAA,CAAA,QAET,CAAA,GACGC,CAAOF,CAAG,IAAoBE,CAAAA,CAAOF,CAAAA,CAAKG,CAAe,CAAAC,eAEtDF,CAAAA,CAAM,CAAA,CAAA,CAAAG,eAAA,CAAA,CAAA,CAAA,CAAA,aAGJ,MAAA,CAAA,CAAA,0BAGI,CAAA,KAAA,CAAA,UAAkB,CAAA,CAAA,CAAA,QAElB,CAAA,IAA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AAA,UACA,CAAA,CAAA,CAAA,UAAmB,CAAA,CAAA,CAAA,CAAA,UAElB,CAAA,QAGJV,CAAA,CAAM,CAAA,CAAA,CAAAW,GAAA,CAAA,CAAA,CAAA,CAAA,SAAsB,CAAA,CAAA,CAAA,WAAgCpB,CAAAA,CAAM,KAEjEqB,CAAAA,CAACC,CAAAA,CAAA,CACC,sBACE,CAAAd,EAAA,CAAA,CAAA,4DAGG,CAAA,CAAA,CAAA,IAAA,CAAA,sBAMPa,CAAAA,CAACC,EAAA,CACC,CAAA,EAAAF,GAAA,CAAAG,IAAA,CAAA,CAAA,SAAU,CAAA,0DAGT,CAAA,QAMXC,EAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,WAAc,CAAA,UAAA","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\nimport 'client-only';\nimport {\n Text as AriaText,\n TextArea as AriaTextArea,\n type TextAreaProps as AriaTextAreaProps,\n TextField as AriaTextField,\n type TextFieldProps as AriaTextFieldProps,\n TextAreaContext,\n useContextProps,\n} from 'react-aria-components';\n\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\nimport type { ForwardedRef } from 'react';\nimport { Label } from '../label';\n\nconst textAreaStyles = cva(\n ['block w-full rounded-medium p-s font-display outline outline-interactive'],\n {\n variants: {\n isDisabled: {\n true: 'text-disabled outline-interactive-disabled placeholder:text-disabled',\n false:\n 'text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight',\n },\n isInvalid: {\n true: 'outline-serious',\n },\n isReadOnly: {\n true: 'rounded-none p-0 outline-none',\n },\n size: {\n medium: 'text-body-s',\n small: 'text-body-xs',\n },\n isClearable: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n isDisabled: true,\n isInvalid: true,\n className: 'outline-interactive-disabled',\n },\n {\n isClearable: true,\n isDisabled: false,\n size: 'medium',\n className: 'pr-xl',\n },\n ],\n defaultVariants: {\n isClearable: false,\n size: 'medium',\n },\n },\n);\n\ninterface InputProps\n extends VariantProps<typeof textAreaStyles>,\n Omit<AriaTextAreaProps, 'size'> {\n selectOnFocus?: boolean;\n ref?: ForwardedRef<HTMLTextAreaElement>;\n}\n\nconst Input = ({\n className,\n ref = null,\n selectOnFocus = false,\n size = 'medium',\n ...props\n}: InputProps) => {\n [props, ref] = useContextProps(props, ref, TextAreaContext);\n\n if (props.readOnly) {\n return (\n <span\n className={cn(\n textAreaStyles({\n isDisabled: false,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )}\n >\n {props.value || '\\u00A0'}\n </span>\n );\n }\n\n return (\n <div className='relative flex items-center'>\n <AriaTextArea\n {...props}\n onFocus={(e) => {\n if (selectOnFocus) {\n ref.current?.select();\n }\n\n props.onFocus?.(e);\n }}\n ref={ref}\n className={({ isDisabled, isInvalid }) =>\n cn(\n textAreaStyles({\n isDisabled,\n isInvalid,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )\n }\n />\n </div>\n );\n};\nInput.displayName = 'TextArea.Input';\n\nexport interface TextAreaProps\n extends Omit<\n VariantProps<typeof textAreaStyles>,\n 'isDisabled' | 'isInvalid' | 'isReadOnly'\n >,\n Omit<AriaTextFieldProps, 'className'>,\n Omit<InputProps, keyof AriaTextFieldProps> {\n className?: string;\n description?: string;\n errorMessage?: string;\n label?: string;\n placeholder?: string;\n}\n\nexport function TextArea({\n className,\n description,\n errorMessage,\n isDisabled,\n isInvalid,\n isReadOnly,\n label,\n placeholder,\n size = 'medium',\n ...props\n}: TextAreaProps) {\n const isSmall = size === 'small';\n const shouldShowDescription = !(isSmall || isInvalid) || isDisabled;\n const shouldShowError = isInvalid && !isDisabled && !isReadOnly;\n\n return (\n <AriaTextField\n {...(props as AriaTextFieldProps)}\n isDisabled={isDisabled}\n isInvalid={isInvalid}\n isReadOnly={isReadOnly}\n className={'flex flex-col gap-xs'}\n >\n {!isSmall && (\n <Label\n className='empty:hidden'\n isDisabled={isDisabled}\n isOptional={!props.isRequired}\n >\n {label}\n </Label>\n )}\n <Input className={className} placeholder={placeholder} size={size} />\n {shouldShowDescription && (\n <AriaText\n className={cn([\n 'fg-default-dark text-body-xs empty:hidden',\n isDisabled && 'fg-disabled',\n ])}\n slot='description'\n >\n {description}\n </AriaText>\n )}\n {shouldShowError && (\n <AriaText\n className='fg-serious text-body-xs empty:hidden'\n slot='errorMessage'\n >\n {errorMessage}\n </AriaText>\n )}\n </AriaTextField>\n );\n}\nTextArea.displayName = 'TextArea';\n"]}
@@ -1,2 +1,2 @@
1
- import'client-only';import {TextField,Text,useContextProps,InputContext,Input,Button}from'react-aria-components';import {cn}from'./../../lib/utils.js';import {CancelFill}from'@accelint/icons';import {cva}from'cva';import {useEffect}from'react';import {Icon}from'../icon/index.js';import {Label}from'../label/index.js';import {jsxs,jsx}from'react/jsx-runtime';var f=cva(["block w-full rounded-medium px-s py-xs font-display outline outline-interactive"],{variants:{isDisabled:{true:"text-disabled outline-interactive-disabled placeholder:text-disabled",false:"text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight"},isInvalid:{true:"outline-serious focus:outline-serious"},isReadOnly:{true:"rounded-none p-0 outline-none"},size:{medium:"text-body-s",small:"text-body-xs"},isClearable:{true:"",false:""}},compoundVariants:[{isDisabled:true,isInvalid:true,className:"outline-interactive-disabled"},{isClearable:true,isDisabled:false,size:"medium",className:"pr-xl"}],defaultVariants:{isClearable:false,size:"medium"}}),y={target:{value:""}},k=({className:r,isClearable:l=true,ref:t=null,selectOnFocus:o=false,size:a="medium",...e})=>{[e,t]=useContextProps(e,t,InputContext),useEffect(()=>{function i(n){l&&n.key==="Escape"&&e.onChange?.(y);}return t.current?.addEventListener("keydown",i),()=>t.current?.removeEventListener("keydown",i)},[l,e.onChange,t]);let d=!e.readOnly&&e.value&&a!=="small"&&l&&!e.disabled;return e.readOnly?jsx("span",{className:cn(f({isClearable:false,isDisabled:false,isReadOnly:e.readOnly,size:a,className:r})),children:e.value||"\xA0"}):jsxs("div",{className:"relative flex items-center",children:[jsx(Input,{onFocus:i=>{o&&t.current?.select(),e.onFocus?.(i);},ref:t,className:({isDisabled:i,isInvalid:n})=>cn(f({isClearable:l,isDisabled:i,isInvalid:n,isReadOnly:e.readOnly,size:a,className:r}))}),d&&jsx(Button,{className:"fg-default-dark icon-size-m hover:fg-interactive-hover absolute right-[5px] cursor-pointer",excludeFromTabOrder:true,onPress:()=>{e.onChange?.(y),t.current?.focus();},children:jsx(Icon,{children:jsx(CancelFill,{})})})]})};function M({className:r,isClearable:l=true,description:t,errorMessage:o,isDisabled:a,isInvalid:e,isReadOnly:d,label:i,placeholder:n,size:m="medium",...u}){let p=m==="small",b=t&&(!(p||e)||a),v=o&&e&&!a&&!d;return jsxs(TextField,{...u,isDisabled:a,isInvalid:e,isReadOnly:d,className:"flex flex-col gap-xs",children:[!p&&jsx(Label,{className:"empty:hidden",isDisabled:a,isOptional:!u.isRequired,children:i}),jsx(k,{className:r,isClearable:l,placeholder:n,size:m,...u}),b&&jsx(Text,{className:cn(["fg-default-dark text-body-xs empty:hidden",a&&"fg-disabled"]),slot:"description",children:t}),v&&jsx(Text,{className:"fg-serious text-body-xs empty:hidden",slot:"errorMessage",children:o})]})}export{M as TextField};//# sourceMappingURL=index.js.map
1
+ import'client-only';import {TextField,Text,useContextProps,InputContext,Input,Button}from'react-aria-components';import {cn}from'./../../lib/utils.js';import {CancelFill}from'@accelint/icons';import {cva}from'cva';import {useEffect}from'react';import {Icon}from'../icon/index.js';import {Label}from'../label/index.js';import {jsxs,jsx}from'react/jsx-runtime';var f=cva(["block w-full rounded-medium px-s py-xs font-display outline outline-interactive"],{variants:{isDisabled:{true:"text-disabled outline-interactive-disabled placeholder:text-disabled",false:"text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight"},isInvalid:{true:"outline-serious focus:outline-serious"},isReadOnly:{true:"rounded-none p-0 outline-none"},size:{medium:"text-body-s",small:"text-body-xs"},isClearable:{true:"",false:""}},compoundVariants:[{isDisabled:true,isInvalid:true,className:"outline-interactive-disabled"},{isClearable:true,isDisabled:false,size:"medium",className:"pr-xl"}],defaultVariants:{isClearable:false,size:"medium"}}),y={target:{value:""}},k=({className:r,isClearable:i=true,ref:t=null,selectOnFocus:o=false,size:a="medium",...e})=>{[e,t]=useContextProps(e,t,InputContext),useEffect(()=>{function l(n){i&&n.key==="Escape"&&e.onChange?.(y);}return t.current?.addEventListener("keydown",l),()=>t.current?.removeEventListener("keydown",l)},[i,e.onChange,t]);let d=!e.readOnly&&e.value&&a!=="small"&&i&&!e.disabled;return e.readOnly?jsx("span",{className:cn(f({isClearable:false,isDisabled:false,isReadOnly:e.readOnly,size:a,className:r})),children:e.value||"\xA0"}):jsxs("div",{className:"relative flex items-center",children:[jsx(Input,{onFocus:l=>{o&&t.current?.select(),e.onFocus?.(l);},ref:t,className:({isDisabled:l,isInvalid:n})=>cn(f({isClearable:i,isDisabled:l,isInvalid:n,isReadOnly:e.readOnly,size:a,className:r}))}),d&&jsx(Button,{className:"fg-default-dark hover:fg-interactive-hover absolute right-[5px] cursor-pointer",excludeFromTabOrder:true,onPress:()=>{e.onChange?.(y),t.current?.focus();},children:jsx(Icon,{size:"small",children:jsx(CancelFill,{})})})]})};function M({className:r,isClearable:i=true,description:t,errorMessage:o,isDisabled:a,isInvalid:e,isReadOnly:d,label:l,placeholder:n,size:m="medium",...u}){let p=m==="small",b=t&&(!(p||e)||a),v=o&&e&&!a&&!d;return jsxs(TextField,{...u,isDisabled:a,isInvalid:e,isReadOnly:d,className:"flex flex-col gap-xs",children:[!p&&jsx(Label,{className:"empty:hidden",isDisabled:a,isOptional:!u.isRequired,children:l}),jsx(k,{className:r,isClearable:i,placeholder:n,size:m,...u}),b&&jsx(Text,{className:cn(["fg-default-dark text-body-xs empty:hidden",a&&"fg-disabled"]),slot:"description",children:t}),v&&jsx(Text,{className:"fg-serious text-body-xs empty:hidden",slot:"errorMessage",children:o})]})}export{M as TextField};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/text-field/index.tsx"],"names":["C","isClearable","ref","size","props","InputContext","useEffect","I","handleKeyPressed","e","shouldShowClearButton","jsx","s","c","jsxs","h","isDisabled","isInvalid","Button","P","N","O","TextField","description","label","isSmall","shouldShowError","errorMessage","AriaTextField","isReadOnly","className","placeholder","shouldShowDescription","AriaText","x"],"mappings":"uWAiCI,IACF,CAAA,CAAAA,GAAA,CAAA,CAAA,iFAEE,CAAA,CAAA,CAAU,QACI,CAAA,CAAA,UAEV,CAAA,CAAA,IAAA,CAAA,uLAGF,CAAA,CAAA,SAEA,CAAA,CAAA,IAAA,CAAA,mDAGA,CAAA,CAAA,IAAA,CAAA,qCAEU,CACR,CAAA,MAAA,CAAA,aACF,CAAA,KAAA,CAAA,cACa,CAAA,CAAA,WAEX,CAAA,CAAA,IAAA,CAAO,EACT,CACF,KACA,CAAA,EAAA,CAAA,CAAA,CAAA,gBAEI,CAAA,CAAA,CAAA,UACA,CAAA,IAAA,CAAA,SACA,CAAA,IAAA,CAAA,wCAGa,CAAA,CAAA,CAAA,WACD,CAAA,IAAA,CAAA,UACN,CACN,KAAA,CAAA,IAAA,CAAA,QAAA,CAAA,SAEJ,CACA,OAAA,CAAA,CAAA,CAAA,eACe,CAAA,CAAA,WACP,CACR,KAAA,CAAA,IAAA,CACF,QAYA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAE,CAAA,OAAU,CACtB,KAEe,CACb,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CA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AA,sBAAA,CAAA,QACE,CAAA,CACC,wBACA,CAAA,cAAA,CAAA,UACY,CAAA,CAAA,CAAA,UAEX,CAAA,CAAA,CAAA,CAAA,UAAA,CAAAL,QAGJ,CACC,CAAWM,CAAAA,CAAAA,CAAAA,GAAAA,CAAAA,CAAAA,CAAAA,CAAAA,SACE7B,CAAAA,CAAAA,CAAAA,WACA8B,CAAAA,CAAAA,CAAAA,WAEZ,CAAA,CAAA,CAAA,IACH,CACCC,CACCrB,CAAAA,GAACsB,EAAA,CACC,CAAA,CAAA,EAAArB,GAAA,CAAAsB,IAAA,CAAA,CAAA,SAEElB,CAAAA,EAAAA,CAAAA,CAAAA,4DAEG,CAAA,CAAA,CAAA,IAAA,CAAA,aAEJO,CAAAA,QAIHZ,CAACsB,CAAA,CAAA,CACC,CAAU,CAAA,EAAArB,GAAA,CAAAsB,IAAA,CAAA,CAAA,SAAA,CAAA,sCAGT,CAAA,IAAA,CAAA,cAAA,CAAAP,QAKX,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","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\nimport 'client-only';\nimport {\n Input as AriaInput,\n type InputProps as AriaInputProps,\n Text as AriaText,\n TextField as AriaTextField,\n type TextFieldProps as AriaTextFieldProps,\n Button,\n InputContext,\n useContextProps,\n} from 'react-aria-components';\n\nimport { cn } from '@/lib/utils';\nimport { CancelFill } from '@accelint/icons';\nimport { type VariantProps, cva } from 'cva';\nimport { type ChangeEvent, type ForwardedRef, useEffect } from 'react';\nimport { Icon } from '../icon';\nimport { Label } from '../label';\n\nconst textFieldStyles = cva(\n [\n 'block w-full rounded-medium px-s py-xs font-display outline outline-interactive',\n ],\n {\n variants: {\n isDisabled: {\n true: 'text-disabled outline-interactive-disabled placeholder:text-disabled',\n false:\n 'text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight',\n },\n isInvalid: {\n true: 'outline-serious focus:outline-serious',\n },\n isReadOnly: {\n true: 'rounded-none p-0 outline-none',\n },\n size: {\n medium: 'text-body-s',\n small: 'text-body-xs',\n },\n isClearable: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n isDisabled: true,\n isInvalid: true,\n className: 'outline-interactive-disabled',\n },\n {\n isClearable: true,\n isDisabled: false,\n size: 'medium',\n className: 'pr-xl',\n },\n ],\n defaultVariants: {\n isClearable: false,\n size: 'medium',\n },\n },\n);\n\ninterface InputProps\n extends VariantProps<typeof textFieldStyles>,\n Omit<AriaInputProps, 'size'> {\n isClearable?: boolean;\n selectOnFocus?: boolean;\n ref?: ForwardedRef<HTMLInputElement>;\n}\n\nconst clearInputEvent = {\n target: { value: '' },\n} as ChangeEvent<HTMLInputElement>;\n\nconst Input = ({\n className,\n isClearable = true,\n ref = null,\n selectOnFocus = false,\n size = 'medium',\n ...props\n}: InputProps) => {\n [props, ref] = useContextProps(props, ref, InputContext);\n\n useEffect(() => {\n function handleKeyPressed(e: KeyboardEvent) {\n if (isClearable && e.key === 'Escape') {\n props.onChange?.(clearInputEvent);\n }\n }\n\n ref.current?.addEventListener('keydown', handleKeyPressed);\n\n return () => ref.current?.removeEventListener('keydown', handleKeyPressed);\n }, [isClearable, props.onChange, ref]);\n\n const shouldShowClearButton =\n !props.readOnly &&\n props.value &&\n size !== 'small' &&\n isClearable &&\n !props.disabled;\n\n if (props.readOnly) {\n return (\n <span\n className={cn(\n textFieldStyles({\n isClearable: false,\n isDisabled: false,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )}\n >\n {props.value || '\\u00A0'}\n </span>\n );\n }\n\n return (\n <div className='relative flex items-center'>\n <AriaInput\n onFocus={(e) => {\n if (selectOnFocus) {\n ref.current?.select();\n }\n\n props.onFocus?.(e);\n }}\n ref={ref}\n className={({ isDisabled, isInvalid }) =>\n cn(\n textFieldStyles({\n isClearable,\n isDisabled,\n isInvalid,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )\n }\n />\n {shouldShowClearButton && (\n <Button\n className='fg-default-dark icon-size-m hover:fg-interactive-hover absolute right-[5px] cursor-pointer'\n excludeFromTabOrder\n onPress={() => {\n props.onChange?.(clearInputEvent);\n ref.current?.focus();\n }}\n >\n <Icon>\n <CancelFill />\n </Icon>\n </Button>\n )}\n </div>\n );\n};\n\nexport interface TextFieldProps\n extends Omit<\n VariantProps<typeof textFieldStyles>,\n 'isDisabled' | 'isInvalid' | 'isReadOnly'\n >,\n Omit<AriaTextFieldProps, 'className'>,\n Omit<InputProps, keyof AriaTextFieldProps> {\n className?: string;\n isClearable?: boolean;\n description?: string;\n errorMessage?: string;\n label?: string;\n placeholder?: string;\n}\n\nexport function TextField({\n className,\n isClearable = true,\n description,\n errorMessage,\n isDisabled,\n isInvalid,\n isReadOnly,\n label,\n placeholder,\n size = 'medium',\n ...props\n}: TextFieldProps) {\n const isSmall = size === 'small';\n const shouldShowDescription =\n description && (!(isSmall || isInvalid) || isDisabled);\n const shouldShowError =\n errorMessage && isInvalid && !isDisabled && !isReadOnly;\n\n return (\n <AriaTextField\n {...(props as TextFieldProps)}\n isDisabled={isDisabled}\n isInvalid={isInvalid}\n isReadOnly={isReadOnly}\n className={'flex flex-col gap-xs'}\n >\n {!isSmall && (\n <Label\n className='empty:hidden'\n isDisabled={isDisabled}\n isOptional={!props.isRequired}\n >\n {label}\n </Label>\n )}\n <Input\n className={className}\n isClearable={isClearable}\n placeholder={placeholder}\n size={size}\n {...(props as InputProps)}\n />\n {shouldShowDescription && (\n <AriaText\n className={cn([\n 'fg-default-dark text-body-xs empty:hidden',\n isDisabled && 'fg-disabled',\n ])}\n slot='description'\n >\n {description}\n </AriaText>\n )}\n {shouldShowError && (\n <AriaText\n className='fg-serious text-body-xs empty:hidden'\n slot='errorMessage'\n >\n {errorMessage}\n </AriaText>\n )}\n </AriaTextField>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/text-field/index.tsx"],"names":["C","ref","size","props","InputContext","useEffect","I","handleKeyPressed","e","shouldShowClearButton","isClearable","jsx","s","c","jsxs","h","g","textFieldStyles","Button","P","N","O","TextField","label","shouldShowDescription","isSmall","isInvalid","isDisabled","shouldShowError","errorMessage","isReadOnly","AriaTextField","F","Label","AriaText","x","description"],"mappings":"uWAiCI,IAAA,CAAA,CAAAA,GAAA,CAAA,CAAA,iFAGA,CAAA,CAAA,CAAU,iGAIJ,CAAA,KAAA,CAAA,0GAEJ,CAAA,CAAA,SACQ,CAAA,CAAA,IAAA,CAAA,uCAER,CAAA,CAAA,UACQ,CAAA,CAAA,IAAA,CAAA,+BAGN,CAAA,CAAA,IAAQ,sBACD,CAAA,KAAA,CAAA,cAET,CAAA,CAAA,YAEE,CAAA,IAAA,CAAO,EACT,CACF,KACA,CAAA,EAAA,CAAA,CAAA,CAAA,gBAEI,CAAA,CAAA,CAAA,UACA,CAAA,IAAA,CAAA,SACA,CAAA,IAAA,CAAA,SAAW,CAAA,8BAGX,CAAA,CAAA,CAAA,WACA,CAAA,IAAA,CAAA,UACM,YACN,QAAA,CAAA,SAEJ,CAAA,OACA,CAAA,CAAA,CAAA,4BAEQ,WACR,CACF,QAYA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAE,CAAA,MAAO,CAAG,CACtB,KAEe,CACb,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,uBAEA,CAAAC,CAAAA,CAAM,IAAA,CAAA,GACN,CAAA,CAAA,CAAA,IAAA,CAAA,aACA,CAAA,CAAAC,CAAAA,KAAO,CAAA,IAAA,CAAA,CAAA,CACP,QACgB,CAChB,GAAQD,CAAG,CAAA,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SACA,CAAA,CAAA,CAAA,WACA,CAAA,CAAA,CAAA,WACMV,CACL,CAAA,CAAA,IACH,CACCsB,CAAAA,CAAAA,GACEU,EAAA,CACC,CAAA,CAAA,EAAAtB,GAAA,CAAAuB,IAAA,CAAA,CAAA,SACE,CAAAtB,EAAA,CAAA,CAAA,4DAGG,CAAA,CAAA,CAAA,IAAA,CAAA,aAEJ,CAAAuB,QAIHzB,CAACuB,CAAAA,CAAA,CACC,CAAA,CAAA,EAAAtB,GAAA,CAAAuB,IAAA,CAAA,CAAA,SAAU,CAAA,sCACL,CAAA,IAAA,CAAA,cAEJ,CAAAN,QAKX,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","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\nimport 'client-only';\nimport {\n Input as AriaInput,\n type InputProps as AriaInputProps,\n Text as AriaText,\n TextField as AriaTextField,\n type TextFieldProps as AriaTextFieldProps,\n Button,\n InputContext,\n useContextProps,\n} from 'react-aria-components';\n\nimport { cn } from '@/lib/utils';\nimport { CancelFill } from '@accelint/icons';\nimport { type VariantProps, cva } from 'cva';\nimport { type ChangeEvent, type ForwardedRef, useEffect } from 'react';\nimport { Icon } from '../icon';\nimport { Label } from '../label';\n\nconst textFieldStyles = cva(\n [\n 'block w-full rounded-medium px-s py-xs font-display outline outline-interactive',\n ],\n {\n variants: {\n isDisabled: {\n true: 'text-disabled outline-interactive-disabled placeholder:text-disabled',\n false:\n 'text-default-light placeholder:text-default-dark hover:outline-interactive-hover focus:outline-highlight',\n },\n isInvalid: {\n true: 'outline-serious focus:outline-serious',\n },\n isReadOnly: {\n true: 'rounded-none p-0 outline-none',\n },\n size: {\n medium: 'text-body-s',\n small: 'text-body-xs',\n },\n isClearable: {\n true: '',\n false: '',\n },\n },\n compoundVariants: [\n {\n isDisabled: true,\n isInvalid: true,\n className: 'outline-interactive-disabled',\n },\n {\n isClearable: true,\n isDisabled: false,\n size: 'medium',\n className: 'pr-xl',\n },\n ],\n defaultVariants: {\n isClearable: false,\n size: 'medium',\n },\n },\n);\n\ninterface InputProps\n extends VariantProps<typeof textFieldStyles>,\n Omit<AriaInputProps, 'size'> {\n isClearable?: boolean;\n selectOnFocus?: boolean;\n ref?: ForwardedRef<HTMLInputElement>;\n}\n\nconst clearInputEvent = {\n target: { value: '' },\n} as ChangeEvent<HTMLInputElement>;\n\nconst Input = ({\n className,\n isClearable = true,\n ref = null,\n selectOnFocus = false,\n size = 'medium',\n ...props\n}: InputProps) => {\n [props, ref] = useContextProps(props, ref, InputContext);\n\n useEffect(() => {\n function handleKeyPressed(e: KeyboardEvent) {\n if (isClearable && e.key === 'Escape') {\n props.onChange?.(clearInputEvent);\n }\n }\n\n ref.current?.addEventListener('keydown', handleKeyPressed);\n\n return () => ref.current?.removeEventListener('keydown', handleKeyPressed);\n }, [isClearable, props.onChange, ref]);\n\n const shouldShowClearButton =\n !props.readOnly &&\n props.value &&\n size !== 'small' &&\n isClearable &&\n !props.disabled;\n\n if (props.readOnly) {\n return (\n <span\n className={cn(\n textFieldStyles({\n isClearable: false,\n isDisabled: false,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )}\n >\n {props.value || '\\u00A0'}\n </span>\n );\n }\n\n return (\n <div className='relative flex items-center'>\n <AriaInput\n onFocus={(e) => {\n if (selectOnFocus) {\n ref.current?.select();\n }\n\n props.onFocus?.(e);\n }}\n ref={ref}\n className={({ isDisabled, isInvalid }) =>\n cn(\n textFieldStyles({\n isClearable,\n isDisabled,\n isInvalid,\n isReadOnly: props.readOnly,\n size,\n className,\n }),\n )\n }\n />\n {shouldShowClearButton && (\n <Button\n className='fg-default-dark hover:fg-interactive-hover absolute right-[5px] cursor-pointer'\n excludeFromTabOrder\n onPress={() => {\n props.onChange?.(clearInputEvent);\n ref.current?.focus();\n }}\n >\n <Icon size='small'>\n <CancelFill />\n </Icon>\n </Button>\n )}\n </div>\n );\n};\n\nexport interface TextFieldProps\n extends Omit<\n VariantProps<typeof textFieldStyles>,\n 'isDisabled' | 'isInvalid' | 'isReadOnly'\n >,\n Omit<AriaTextFieldProps, 'className'>,\n Omit<InputProps, keyof AriaTextFieldProps> {\n className?: string;\n isClearable?: boolean;\n description?: string;\n errorMessage?: string;\n label?: string;\n placeholder?: string;\n}\n\nexport function TextField({\n className,\n isClearable = true,\n description,\n errorMessage,\n isDisabled,\n isInvalid,\n isReadOnly,\n label,\n placeholder,\n size = 'medium',\n ...props\n}: TextFieldProps) {\n const isSmall = size === 'small';\n const shouldShowDescription =\n description && (!(isSmall || isInvalid) || isDisabled);\n const shouldShowError =\n errorMessage && isInvalid && !isDisabled && !isReadOnly;\n\n return (\n <AriaTextField\n {...(props as TextFieldProps)}\n isDisabled={isDisabled}\n isInvalid={isInvalid}\n isReadOnly={isReadOnly}\n className={'flex flex-col gap-xs'}\n >\n {!isSmall && (\n <Label\n className='empty:hidden'\n isDisabled={isDisabled}\n isOptional={!props.isRequired}\n >\n {label}\n </Label>\n )}\n <Input\n className={className}\n isClearable={isClearable}\n placeholder={placeholder}\n size={size}\n {...(props as InputProps)}\n />\n {shouldShowDescription && (\n <AriaText\n className={cn([\n 'fg-default-dark text-body-xs empty:hidden',\n isDisabled && 'fg-disabled',\n ])}\n slot='description'\n >\n {description}\n </AriaText>\n )}\n {shouldShowError && (\n <AriaText\n className='fg-serious text-body-xs empty:hidden'\n slot='errorMessage'\n >\n {errorMessage}\n </AriaText>\n )}\n </AriaTextField>\n );\n}\n"]}
@@ -1,2 +1,2 @@
1
- import {expectsIconWrapper}from'./../../lib/react.js';import {cn}from'./../../lib/utils.js';import {cva}from'cva';import {ToggleButton,composeRenderProps}from'react-aria-components';import {jsx}from'react/jsx-runtime';var n=cva("inline-flex cursor-pointer items-center justify-center bg-transparent outline-none hover:bg-interactive-hover-dark focus:bg-interactive-hover-dark",{variants:{variant:{primary:"icon-default-light ai-selected:icon-highlight ai-selected:hover:bg-highlight-subtle ai-selected:focus:bg-highlight-subtle",secondary:"icon-default-dark hover:icon-default-light focus:icon-default-light ai-selected:icon-highlight ai-selected:hover:bg-highlight-subtle ai-selected:focus:bg-highlight-subtle"},size:{medium:"size-[28px] rounded-medium [--icon-size:var(--spacing-xl)]",small:"size-[20px] rounded-small [--icon-size:var(--spacing-l)]"},isDisabled:{true:"not-ai-selected:icon-disabled ai-selected:cursor-default not-ai-selected:cursor-not-allowed not-ai-selected:bg-interactive-disabled ai-selected:hover:bg-transparent not-ai-selected:hover:bg-interactive-disabled ai-selected:focus:bg-transparent not-ai-selected:focus:bg-interactive-disabled",false:""}},defaultVariants:{isDisabled:false,size:"medium",variant:"primary"}}),i=({className:e,size:t="medium",variant:r="secondary",isDisabled:o,...a})=>(expectsIconWrapper({children:a.children,componentName:i.displayName}),jsx(ToggleButton,{className:composeRenderProps(e,l=>cn(n({isDisabled:o,size:t,variant:r,className:l}))),isDisabled:o,...a}));i.displayName="ToggleIconButton";i.as=(e,t)=>cn(n({...e,className:t}));export{i as ToggleIconButton};//# sourceMappingURL=index.js.map
1
+ import {expectsIconWrapper}from'./../../lib/react.js';import {cn}from'./../../lib/utils.js';import {cva}from'cva';import {ToggleButton,composeRenderProps}from'react-aria-components';import {jsx}from'react/jsx-runtime';var r=cva("inline-flex cursor-pointer items-center justify-center bg-transparent outline-none hover:bg-interactive-hover-dark focus:bg-interactive-hover-dark",{variants:{variant:{primary:"icon-default-light dtk-selected:icon-highlight dtk-selected:hover:bg-highlight-subtle dtk-selected:focus:bg-highlight-subtle",secondary:"icon-default-dark hover:icon-default-light focus:icon-default-light dtk-selected:icon-highlight dtk-selected:hover:bg-highlight-subtle dtk-selected:focus:bg-highlight-subtle"},size:{medium:"size-[28px] rounded-medium [--icon-size:var(--spacing-xl)]",small:"size-[20px] rounded-small [--icon-size:var(--spacing-l)]"},isDisabled:{true:"not-dtk-selected:icon-disabled dtk-selected:cursor-default not-dtk-selected:cursor-not-allowed not-dtk-selected:bg-interactive-disabled dtk-selected:hover:bg-transparent not-dtk-selected:hover:bg-interactive-disabled dtk-selected:focus:bg-transparent not-dtk-selected:focus:bg-interactive-disabled",false:""}},defaultVariants:{isDisabled:false,size:"medium",variant:"primary"}}),o=({className:e,size:t="medium",variant:l="secondary",isDisabled:i,...s})=>(expectsIconWrapper({children:s.children,componentName:o.displayName}),jsx(ToggleButton,{className:composeRenderProps(e,a=>cn(r({isDisabled:i,size:t,variant:l,className:a}))),isDisabled:i,...s}));o.displayName="ToggleIconButton";o.as=(e,t)=>cn(r({...e,className:t}));export{o as ToggleIconButton};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/toggle-icon-button/index.tsx"],"names":["g","ToggleIconButton","className","variant","props","c","jsx","p","composeRenderProps","u","s","isDisabled","cn","toggleIconButtonStyles"],"mappings":"0NAsBE,IAAA,CAAA,CAAAA,GAAA,CAAA,oJAGI,CAAA,CAAA,QAEI,CAAA,CAAA,OAAA,CAAA,CAAA,OAAA,CAAA,2HAEA,CAAA,SAAA,CAAA,4KAGF,CAAQ,CACR,IAAA,CAAA,CAAA,MAAA,CAAA,4DACF,CAAA,KAAA,CAAA,0DAEE,CAAM,CAAA,UAAA,CAAA,CAAA,IAAA,CAAA,mSAIO,CAAA,KAAA,CAAA,EAAA,CAAA,CAAA,CAAA,eACH,CAAA,CACZ,UAAM,CAAA,KAAA,CACN,IAAS,CAAA,QAAA,CAAA,OAWFC,CAAAA,SACX,CAAA,CAAA,CAAA,CAAAC,CACA,CAAA,CAAA,CAAA,SAAO,CAAA,CAAA,CAAA,IACPC,CAAAA,CAAAA,CAAAA,QACA,CAAA,OAAA,CAAA,CAAA,CAAA,WACA,CAAA,UAEmB,CACjB,CAAUC,CAAAA,GAAAA,CAAAA,CAAAA,IAAMC,kBAChB,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,QAAA,CAAeJ,aACjB,CAAC,CAAA,CAGCK,WACE,CAAA,CAAA,CAAAC,GAAWC,CAAmBN,YAAAA,CAAAA,CAAYA,SAGpC,CAAAO,kBAAA,CAAA,CAAA,CAAA,CAAA,EAAAC,EAAA,CAAAC,CACA,CAAA,CAAA,UACA,CAAA,CAAA,CAAA,IACA,CAAA,CAAA,CAAA,OACF,CAAC,CACH,CACF,SACA,CAAA,CAAA,CAAA,CAAYA,CACX,CAAA,CAAA,UAIwB,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,WAAA,CAAA,kBAI1BC,CAAGC,CAAuB,CAAA,EAAKT,CAAAA,CAAAA,CAAAA,CAAO,CAAAF,GAAAA,EAAAA,CAAAA,CAAAA,CAAAA,CAAAA,GAAW,CAAC,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA,CAAA","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\nimport { expectsIconWrapper } from '@/lib/react';\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\nimport {\n ToggleButton as AriaToggleButton,\n type ToggleButtonProps as AriaToggleButtonProps,\n composeRenderProps,\n} from 'react-aria-components';\n\nconst toggleIconButtonStyles = cva(\n 'inline-flex cursor-pointer items-center justify-center bg-transparent outline-none hover:bg-interactive-hover-dark focus:bg-interactive-hover-dark',\n {\n variants: {\n variant: {\n primary:\n 'icon-default-light ai-selected:icon-highlight ai-selected:hover:bg-highlight-subtle ai-selected:focus:bg-highlight-subtle',\n secondary:\n 'icon-default-dark hover:icon-default-light focus:icon-default-light ai-selected:icon-highlight ai-selected:hover:bg-highlight-subtle ai-selected:focus:bg-highlight-subtle',\n },\n size: {\n medium: 'size-[28px] rounded-medium [--icon-size:var(--spacing-xl)]',\n small: 'size-[20px] rounded-small [--icon-size:var(--spacing-l)]',\n },\n isDisabled: {\n true: 'not-ai-selected:icon-disabled ai-selected:cursor-default not-ai-selected:cursor-not-allowed not-ai-selected:bg-interactive-disabled ai-selected:hover:bg-transparent not-ai-selected:hover:bg-interactive-disabled ai-selected:focus:bg-transparent not-ai-selected:focus:bg-interactive-disabled',\n false: '',\n },\n },\n defaultVariants: {\n isDisabled: false,\n size: 'medium',\n variant: 'primary',\n },\n },\n);\n\nexport interface ToggleIconButtonProps\n extends Omit<AriaToggleButtonProps, 'isDisabled'>,\n VariantProps<typeof toggleIconButtonStyles> {\n isDisabled?: boolean;\n}\n\nexport const ToggleIconButton = ({\n className,\n size = 'medium',\n variant = 'secondary',\n isDisabled,\n ...props\n}: ToggleIconButtonProps) => {\n expectsIconWrapper({\n children: props.children,\n componentName: ToggleIconButton.displayName,\n });\n\n return (\n <AriaToggleButton\n className={composeRenderProps(className, (className) =>\n cn(\n toggleIconButtonStyles({\n isDisabled,\n size,\n variant,\n className,\n }),\n ),\n )}\n isDisabled={isDisabled}\n {...props}\n />\n );\n};\nToggleIconButton.displayName = 'ToggleIconButton';\nToggleIconButton.as = (\n props: VariantProps<typeof toggleIconButtonStyles>,\n className?: string | string[],\n) => cn(toggleIconButtonStyles({ ...props, className }));\n"]}
1
+ {"version":3,"sources":["../../../src/components/toggle-icon-button/index.tsx"],"names":["c","ToggleIconButton","className","d","jsx","p","composeRenderProps","u","n","isDisabled","cn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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 { expectsIconWrapper } from '@/lib/react';\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\nimport {\n ToggleButton as AriaToggleButton,\n type ToggleButtonProps as AriaToggleButtonProps,\n composeRenderProps,\n} from 'react-aria-components';\n\nconst toggleIconButtonStyles = cva(\n 'inline-flex cursor-pointer items-center justify-center bg-transparent outline-none hover:bg-interactive-hover-dark focus:bg-interactive-hover-dark',\n {\n variants: {\n variant: {\n primary:\n 'icon-default-light dtk-selected:icon-highlight dtk-selected:hover:bg-highlight-subtle dtk-selected:focus:bg-highlight-subtle',\n secondary:\n 'icon-default-dark hover:icon-default-light focus:icon-default-light dtk-selected:icon-highlight dtk-selected:hover:bg-highlight-subtle dtk-selected:focus:bg-highlight-subtle',\n },\n size: {\n medium: 'size-[28px] rounded-medium [--icon-size:var(--spacing-xl)]',\n small: 'size-[20px] rounded-small [--icon-size:var(--spacing-l)]',\n },\n isDisabled: {\n true: 'not-dtk-selected:icon-disabled dtk-selected:cursor-default not-dtk-selected:cursor-not-allowed not-dtk-selected:bg-interactive-disabled dtk-selected:hover:bg-transparent not-dtk-selected:hover:bg-interactive-disabled dtk-selected:focus:bg-transparent not-dtk-selected:focus:bg-interactive-disabled',\n false: '',\n },\n },\n defaultVariants: {\n isDisabled: false,\n size: 'medium',\n variant: 'primary',\n },\n },\n);\n\nexport interface ToggleIconButtonProps\n extends Omit<AriaToggleButtonProps, 'isDisabled'>,\n VariantProps<typeof toggleIconButtonStyles> {\n isDisabled?: boolean;\n}\n\nexport const ToggleIconButton = ({\n className,\n size = 'medium',\n variant = 'secondary',\n isDisabled,\n ...props\n}: ToggleIconButtonProps) => {\n expectsIconWrapper({\n children: props.children,\n componentName: ToggleIconButton.displayName,\n });\n\n return (\n <AriaToggleButton\n className={composeRenderProps(className, (className) =>\n cn(\n toggleIconButtonStyles({\n isDisabled,\n size,\n variant,\n className,\n }),\n ),\n )}\n isDisabled={isDisabled}\n {...props}\n />\n );\n};\nToggleIconButton.displayName = 'ToggleIconButton';\nToggleIconButton.as = (\n props: VariantProps<typeof toggleIconButtonStyles>,\n className?: string | string[],\n) => cn(toggleIconButtonStyles({ ...props, className }));\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/tooltip/index.tsx"],"names":["y","children","closeDelay","containsExactChildren","m","Tooltip","TooltipBody","jsx","RACTooltipTrigger","l","delay","props","tooltipStyles","TooltipTrigger","className","placement","a","offset"],"mappings":"8NAyBA,IAAA,CAAA,CAAAA,GAAA,CAAA,2KAKE,CAAAC,CAAAA,SACA,WAAAC,CAAa,CAAA,CAAA,UACL,CAAA,CAAA,CACR,OAEA,CAAA,CAAA,CAAA,GAAA,CAAAC,GACE,CAAA,CAAA,CAAA,CAAA,OACAC,qBAAeC,CAAAA,CAAAA,QAAAA,CAAAA,CAAAA,CAAAA,cACf,CAAc,CAAA,WAAA,CACZ,cAA2B,CAAG,CAAA,CAAE,WAAe,EAC/C,CAACC,GAAY,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAW,EAAG,CAAE,WAAe,EAEhD,CAAC,GAGCC,CAACC,EAAA,GAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAAC,GAAA,CAAYP,eAAY,CAAOQ,UAAWC,CAC1D,CAAA,CAAA,KAAA,CAAA,CAAA,CAAAV,GAGP,CACAI,CAAQ,QAAA,CAAA,CAAA,CAAA,CAAA,CAAc,aACd,CAAA,SAGAO,CAAAA,CAAAA,CAAc,EAAKD,CAAAA,CAAAA,CAAAA,CAAO,aAAW,CAAC,CAKvC,SAA0B,CAAAV,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAU,GAAGU,QACpC,CAAA,CAAW,CAAGA,GAAAA,CAAQ,mBAAAV,GAAS,CAEzCY,SAA6B,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,WAAA,CAAA,iBAK3B,CAAAZ,KACA,CAAAa,CAAAA,CAAAA,QAAAA,CACA,WACA,UAAAC,CAAY,CAAA,CAAA,CAAA,SACTJ,CAAAA,CACL,SAGO,CAAGA,GAAAA,CACJ,oBAAcC,CAAAA,CAAc,SAAE,CAAAI,EAAAF,CAAU,CAAC,CAAC,UAClCG,CACR,WAEC,CAAA,CAAA,CAAA,SACH,CAAA,CAGJX,SAA0B,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,WAAA,CAAA,eAGlB,CAAOA,CAAAA,OAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,CAAAA","file":"index.js","sourcesContent":["import { containsExactChildren } from '@/lib/react';\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\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 */\nimport type React from 'react';\nimport {\n Focusable,\n Tooltip as RACTooltip,\n type TooltipProps as RACTooltipProps,\n TooltipTrigger as RACTooltipTrigger,\n type TooltipTriggerComponentProps,\n} from 'react-aria-components';\n\nconst tooltipStyles = cva(\n 'fg-default-light flex max-w-[160px] items-center justify-center break-words rounded-small bg-surface-overlay px-s py-xs text-center text-body-xs shadow-elevation-overlay',\n);\n\nexport interface TooltipProps extends TooltipTriggerComponentProps {}\n\nexport function Tooltip({\n children,\n closeDelay = 0,\n delay = 400,\n ...props\n}: TooltipProps) {\n containsExactChildren({\n children,\n componentName: Tooltip.displayName,\n restrictions: {\n [TooltipTrigger.displayName]: { min: 1, max: 1 },\n [TooltipBody.displayName]: { min: 1, max: 1 },\n },\n });\n\n return (\n <RACTooltipTrigger closeDelay={closeDelay} delay={delay} {...props}>\n {children}\n </RACTooltipTrigger>\n );\n}\nTooltip.displayName = 'Tooltip';\nTooltip.as = (\n props: VariantProps<typeof tooltipStyles>,\n className?: string | string[],\n) => cn(tooltipStyles({ ...props, className }));\n\nexport interface TooltipTriggerProps\n extends React.ComponentProps<typeof Focusable> {}\n\nexport const TooltipTrigger = ({ children, ...props }: TooltipTriggerProps) => {\n return <Focusable {...props}>{children}</Focusable>;\n};\nTooltipTrigger.displayName = 'Tooltip.Trigger';\n\nexport interface TooltipBodyProps extends RACTooltipProps {}\n\nexport const TooltipBody = ({\n children,\n className,\n offset = 5,\n placement = 'bottom',\n ...props\n}: TooltipBodyProps) => {\n return (\n <RACTooltip\n {...props}\n className={cn(tooltipStyles({ className }))}\n offset={offset}\n placement={placement}\n >\n {children}\n </RACTooltip>\n );\n};\nTooltipBody.displayName = 'Tooltip.Body';\n\nTooltip.Trigger = TooltipTrigger;\nTooltip.Body = TooltipBody;\n"]}
1
+ {"version":3,"sources":["../../../src/components/tooltip/index.tsx"],"names":["y","closeDelay","containsExactChildren","m","Tooltip","TooltipBody","jsx","RACTooltipTrigger","l","props","children","cn","tooltipStyles","Focusable","TooltipTrigger","className","placement","a","offset"],"mappings":"8NAwBE,IAAA,CAAA,CAAAA,GAAA,CAAA,2KAMA,CAAA,CAAA,SACA,WAAAC,CAAAA,CAAa,CAAA,UACL,CAAA,CAAA,CACR,OAEA,CAAA,CAAA,CAAA,GAAA,CAAAC,GACE,CAAA,CAAA,CAAA,CAAA,OACAC,qBAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAeC,cACf,CAAA,CAAA,WAAc,CACZ,cAA2B,CAAA,CAAG,CAAE,WAAe,EAC/C,CAACC,GAAY,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAW,EAAG,CAAE,WAAe,EAEhD,CAAC,GAGCC,CAACC,EAAA,GAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAAC,GAAA,CAAYP,eAAY,CAAA,UAAkBQ,CAAAA,CAC1D,CAAA,KAAA,CAAA,CAAA,CAAAC,GAGP,CACAN,CAAAA,QAAQ,CAAA,CAAA,CAAA,CAAA,CAAc,aACd,CAAA,SAGHO,CAAGC,CAAAA,CAAc,EAAE,CAAA,CAAGH,CAAAA,CAAO,aAAW,CAAC,CAAA,SAKb,CAAA,CAAA,CAAA,CAAA,CAAA,CAAAC,IAAAA,CAAU,GAAGD,QACpCI,CAAA,CAAW,CAAA,GAAGJ,CAAQ,mBAAAC,GAAS,CAEzCI,SAAe,CAAA,CAAA,CAAA,EAAc,CAAA,CAAA,WAAA,CAAA,iBAK3B,CAAAJ,KACA,CAAA,CAAA,CAAA,QAAAK,CACA,WACA,UAAAC,CAAAA,CAAY,CAAA,CAAA,SACZ,CAAGP,CACL,SAGO,CAAA,GAAGA,CACJ,oBAAcG,CAAAA,CAAc,SAAE,CAAAK,EAAAF,CAAU,CAAC,CAAC,UAClCG,CACR,WAAWF,CAEV,CAAA,CAAA,SACH,CAAA,CAGJX,SAAY,CAAA,CAAA,CAAA,EAAc,CAAA,CAAA,WAAA,CAAA,eAGlB,CAAA,CAAA,OAAOA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,CAAAA","file":"index.js","sourcesContent":["import { containsExactChildren } from '@/lib/react';\nimport { cn } from '@/lib/utils';\nimport { type VariantProps, cva } from 'cva';\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 */\nimport type React from 'react';\nimport {\n Focusable,\n Tooltip as RACTooltip,\n type TooltipProps as RACTooltipProps,\n TooltipTrigger as RACTooltipTrigger,\n type TooltipTriggerComponentProps,\n} from 'react-aria-components';\n\nconst tooltipStyles = cva(\n 'fg-default-light flex max-w-[160px] items-center justify-center break-words rounded-small bg-surface-overlay px-s py-xs text-center text-body-xs shadow-elevation-overlay',\n);\n\nexport interface TooltipProps extends TooltipTriggerComponentProps {}\n\nexport function Tooltip({\n children,\n closeDelay = 0,\n delay = 400,\n ...props\n}: TooltipProps) {\n containsExactChildren({\n children,\n componentName: Tooltip.displayName,\n restrictions: {\n [TooltipTrigger.displayName]: { min: 1, max: 1 },\n [TooltipBody.displayName]: { min: 1, max: 1 },\n },\n });\n\n return (\n <RACTooltipTrigger closeDelay={closeDelay} delay={delay} {...props}>\n {children}\n </RACTooltipTrigger>\n );\n}\nTooltip.displayName = 'Tooltip';\nTooltip.as = (\n props: VariantProps<typeof tooltipStyles>,\n className?: string | string[],\n) => cn(tooltipStyles({ ...props, className }));\n\nexport interface TooltipTriggerProps\n extends React.ComponentProps<typeof Focusable> {}\n\nexport const TooltipTrigger = ({ children, ...props }: TooltipTriggerProps) => {\n return <Focusable {...props}>{children}</Focusable>;\n};\nTooltipTrigger.displayName = 'Tooltip.Trigger';\n\nexport interface TooltipBodyProps extends RACTooltipProps {}\n\nexport const TooltipBody = ({\n children,\n className,\n offset = 5,\n placement = 'bottom',\n ...props\n}: TooltipBodyProps) => {\n return (\n <RACTooltip\n {...props}\n className={cn(tooltipStyles({ className }))}\n offset={offset}\n placement={placement}\n >\n {children}\n </RACTooltip>\n );\n};\nTooltipBody.displayName = 'Tooltip.Body';\n\nTooltip.Trigger = TooltipTrigger;\nTooltip.Body = TooltipBody;\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/icons/catalog.tsx"],"names":["catalog_default","jsx","AddFill","AddToList","Add","ArrangeTable","AttachFile","Cancel","CancelFill","CenterOn","Check","CollapseWindow","CollapseAll","Condense","CopyToClipboard","CreateCoa","Delete","DragHorz","DragVert","Duplicate","Edit","ExpandAll","ExpandLeft","ExpandRight","ExpandWindow","Expand","ExploreData","Filter","Flag","Focus","GlobalShare","Group","Hide","Import","InsertChart","JumpTo","Lasso","Link","LockFill","LockOutline","Login","Logout","Loop","Move","Mute","OpenContainer","PasteFromClipboard","Pause","Pin","Play","Playback","PolygonLasso","PopBackIn","PopOut","Record","RectangleSelect","RemoveFill","RemoveFromList","Remove","Reverse","Screenshot","Search","Share","Show","StackCards","Stack","Tether","TrackChanges","Undo","ZoomIn","ZoomOut","ZoomTo","Airspaces","Appearance","Arrow","Ascending","Assignment","Attributes","BoltNotVisible","Bolt","Brightness","BugReport","Calendar","ChartStackedBar","CircleTool","ColorPicker","CommonOperatingPic","Contrast","CopSettings","Coverage","Dashboard","Data","Descending","ElectromagneticSpectrum","Feed","FlightPlan","Gantt","Grid","Hamburger","Handover","Handshake","Help","InterceptPoint","Kebab","LayerGroup","Layers","LineTool","LocationFill","LocationStroke","Message","Mode","Newspaper","NonEditable","None","Note","Overlays","PanelClosed","PanelOpen","Person","Phone","Placeholder","Plots","PolygonTool","Radar","Radio","RectangleTool","Region","Sector","SelectionList","SensorHealth","Settings","Spotlight","ThreatAssess","Ticket","Time","Timer","TrackHistory","UnscheduledMaintenance","UserManual","WatchTower","Wind","ArrowDown","ArrowLeft","ArrowNortheast","ArrowNorthwest","ArrowRight","ArrowSoutheast","ArrowSouthwest","ArrowUp","ArrowKeys","CheckboxSelected","CheckboxSmallSelected","CheckboxUnselected","CheckboxSmallUnselected","CheckboxIndeterminate","ChevronDown","ChevronFillDown","ChevronUp","ChevronFillUp","ChevronLeft","ChevronFillLeft","ChevronRight","ChevronFillRight","CursorCrosshair","CursorDefault","CursorDrag","RadioSelected","RadioUnselected","TrackEta","MouseLeftClick","MouseMiddleClick","MouseRightClick","MouseScroll","ScrollClick","Bell","Information","Connection","Success","ConnectionLost","Warning","Live","Problem"],"mappings":"y3DAmMOA,IAAAA,EAAAA,CAAQ,CACb,OAAA,CAAS,CACP,WAAA,CACE,4EACF,CAAA,KAAA,CAAO,CACL,CAAE,IAAM,CAAA,UAAA,CAAY,IAAMC,CAAAA,GAAAA,CAACC,QAAA,EAAQ,CAAG,CACtC,CAAA,CAAE,IAAM,CAAA,aAAA,CAAe,IAAMD,CAAAA,GAAAA,CAACE,SAAA,CAAA,EAAU,CAAG,CAAA,CAC3C,CAAE,IAAA,CAAM,KAAO,CAAA,IAAA,CAAMF,GAACG,CAAAA,GAAAA,CAAA,EAAI,CAAG,CAC7B,CAAA,CAAE,IAAM,CAAA,eAAA,CAAiB,IAAMH,CAAAA,GAAAA,CAACI,YAAA,CAAA,EAAa,CAAG,CAAA,CAChD,CAAE,IAAA,CAAM,aAAe,CAAA,IAAA,CAAMJ,GAACK,CAAAA,UAAAA,CAAA,EAAW,CAAG,CAC5C,CAAA,CAAE,IAAM,CAAA,QAAA,CAAU,IAAML,CAAAA,GAAAA,CAACM,MAAA,CAAA,EAAO,CAAG,CAAA,CACnC,CAAE,IAAA,CAAM,aAAe,CAAA,IAAA,CAAMN,GAACO,CAAAA,UAAAA,CAAA,EAAW,CAAG,CAC5C,CAAA,CAAE,IAAM,CAAA,WAAA,CAAa,IAAMP,CAAAA,GAAAA,CAACQ,QAAA,CAAA,EAAS,CAAG,CAAA,CACxC,CAAE,IAAA,CAAM,OAAS,CAAA,IAAA,CAAMR,GAACS,CAAAA,KAAAA,CAAA,EAAM,CAAG,CACjC,CAAA,CAAE,IAAM,CAAA,iBAAA,CAAmB,IAAMT,CAAAA,GAAAA,CAACU,cAAA,CAAA,EAAe,CAAG,CAAA,CACpD,CAAE,IAAA,CA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AgB,CAAA,IAAA,CAAM3K,GAAC4K,CAAAA,WAAAA,CAAA,EAAY,CAAG,CAChD,CACF,CACA,CAAA,QAAA,CAAU,CACR,WAAA,CACE,sEACF,CAAA,KAAA,CAAO,CACL,CAAE,IAAM,CAAA,MAAA,CAAQ,IAAM5K,CAAAA,GAAAA,CAAC6K,IAAA,CAAA,EAAK,CAAG,CAAA,CAC/B,CAAE,IAAA,CAAM,aAAe,CAAA,IAAA,CAAM7K,GAAC8K,CAAAA,WAAAA,CAAA,EAAY,CAAG,CAC7C,CAAA,CAAE,IAAM,CAAA,YAAA,CAAc,IAAM9K,CAAAA,GAAAA,CAAC+K,UAAA,CAAA,EAAW,CAAG,CAAA,CAC3C,CAAE,IAAA,CAAM,SAAW,CAAA,IAAA,CAAM/K,GAACgL,CAAAA,OAAAA,CAAA,EAAQ,CAAG,CACrC,CAAA,CAAE,IAAM,CAAA,iBAAA,CAAmB,IAAMhL,CAAAA,GAAAA,CAACiL,cAAA,CAAA,EAAe,CAAG,CAAA,CACpD,CAAE,IAAA,CAAM,SAAW,CAAA,IAAA,CAAMjL,GAACkL,CAAAA,OAAAA,CAAA,EAAQ,CAAG,CACrC,CAAA,CAAE,IAAM,CAAA,MAAA,CAAQ,IAAMlL,CAAAA,GAAAA,CAACmL,IAAA,CAAA,EAAK,CAAG,CAAA,CAC/B,CAAE,IAAA,CAAM,SAAW,CAAA,IAAA,CAAMnL,GAACoL,CAAAA,OAAAA,CAAA,EAAQ,CAAG,CACvC,CACF,CACF","file":"catalog.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\nimport {\n Add,\n AddFill,\n AddToList,\n Airspaces,\n Appearance,\n ArrangeTable,\n Arrow,\n ArrowDown,\n ArrowKeys,\n ArrowLeft,\n ArrowNortheast,\n ArrowNorthwest,\n ArrowRight,\n ArrowSoutheast,\n ArrowSouthwest,\n ArrowUp,\n Ascending,\n Assignment,\n AttachFile,\n Attributes,\n Bell,\n Bolt,\n BoltNotVisible,\n Brightness,\n BugReport,\n Calendar,\n Cancel,\n CancelFill,\n CenterOn,\n ChartStackedBar,\n Check,\n CheckboxIndeterminate,\n CheckboxSelected,\n CheckboxSmallSelected,\n CheckboxSmallUnselected,\n CheckboxUnselected,\n ChevronDown,\n ChevronFillDown,\n ChevronFillLeft,\n ChevronFillRight,\n ChevronFillUp,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleTool,\n CollapseAll,\n CollapseWindow,\n ColorPicker,\n CommonOperatingPic,\n Condense,\n Connection,\n ConnectionLost,\n Contrast,\n CopSettings,\n CopyToClipboard,\n Coverage,\n CreateCoa,\n CursorCrosshair,\n CursorDefault,\n CursorDrag,\n Dashboard,\n Data,\n Delete,\n Descending,\n DragHorz,\n DragVert,\n Duplicate,\n Edit,\n ElectromagneticSpectrum,\n Expand,\n ExpandAll,\n ExpandLeft,\n ExpandRight,\n ExpandWindow,\n ExploreData,\n Feed,\n Filter,\n Flag,\n FlightPlan,\n Focus,\n Gantt,\n GlobalShare,\n Grid,\n Group,\n Hamburger,\n Handover,\n Handshake,\n Help,\n Hide,\n Import,\n Information,\n InsertChart,\n InterceptPoint,\n JumpTo,\n Kebab,\n Lasso,\n LayerGroup,\n Layers,\n LineTool,\n Link,\n Live,\n LocationFill,\n LocationStroke,\n LockFill,\n LockOutline,\n Login,\n Logout,\n Loop,\n Message,\n Mode,\n MouseLeftClick,\n MouseMiddleClick,\n MouseRightClick,\n MouseScroll,\n Move,\n Mute,\n Newspaper,\n NonEditable,\n None,\n Note,\n OpenContainer,\n Overlays,\n PanelClosed,\n PanelOpen,\n PasteFromClipboard,\n Pause,\n Person,\n Phone,\n Pin,\n Placeholder,\n Play,\n Playback,\n Plots,\n PolygonLasso,\n PolygonTool,\n PopBackIn,\n PopOut,\n Problem,\n Radar,\n Radio,\n RadioSelected,\n RadioUnselected,\n Record,\n RectangleSelect,\n RectangleTool,\n Region,\n Remove,\n RemoveFill,\n RemoveFromList,\n Reverse,\n Screenshot,\n ScrollClick,\n Search,\n Sector,\n SelectionList,\n SensorHealth,\n Settings,\n Share,\n Show,\n Spotlight,\n Stack,\n StackCards,\n Success,\n Tether,\n ThreatAssess,\n Ticket,\n Time,\n Timer,\n TrackChanges,\n TrackEta,\n TrackHistory,\n Undo,\n UnscheduledMaintenance,\n UserManual,\n Warning,\n WatchTower,\n Wind,\n ZoomIn,\n ZoomOut,\n ZoomTo,\n} from '@accelint/icons';\n\nexport default {\n actions: {\n description:\n 'These icons mainly represent an act a user can take in the user interface.',\n icons: [\n { name: 'add-fill', icon: <AddFill /> },\n { name: 'add-to-list', icon: <AddToList /> },\n { name: 'add', icon: <Add /> },\n { name: 'arrange-table', icon: <ArrangeTable /> },\n { name: 'attach-file', icon: <AttachFile /> },\n { name: 'cancel', icon: <Cancel /> },\n { name: 'cancel-fill', icon: <CancelFill /> },\n { name: 'center-on', icon: <CenterOn /> },\n { name: 'check', icon: <Check /> },\n { name: 'collapse-window', icon: <CollapseWindow /> },\n { name: 'collapse-all', icon: <CollapseAll /> },\n { name: 'condense', icon: <Condense /> },\n { name: 'copy-to-clipboard', icon: <CopyToClipboard /> },\n { name: 'create-coa', icon: <CreateCoa /> },\n { name: 'delete', icon: <Delete /> },\n { name: 'drag-horz', icon: <DragHorz /> },\n { name: 'drag-vert', icon: <DragVert /> },\n { name: 'duplicate', icon: <Duplicate /> },\n { name: 'edit', icon: <Edit /> },\n { name: 'expand-all', icon: <ExpandAll /> },\n { name: 'expand-left', icon: <ExpandLeft /> },\n { name: 'expand-right', icon: <ExpandRight /> },\n { name: 'expand-window', icon: <ExpandWindow /> },\n { name: 'expand', icon: <Expand /> },\n { name: 'explore-data', icon: <ExploreData /> },\n { name: 'filter', icon: <Filter /> },\n { name: 'flag', icon: <Flag /> },\n { name: 'focus', icon: <Focus /> },\n { name: 'global-share', icon: <GlobalShare /> },\n { name: 'group', icon: <Group /> },\n { name: 'hide', icon: <Hide /> },\n { name: 'import', icon: <Import /> },\n { name: 'insert-chart', icon: <InsertChart /> },\n { name: 'jump-to', icon: <JumpTo /> },\n { name: 'lasso', icon: <Lasso /> },\n { name: 'link', icon: <Link /> },\n { name: 'lock-fill', icon: <LockFill /> },\n { name: 'lock-outline', icon: <LockOutline /> },\n { name: 'login', icon: <Login /> },\n { name: 'logout', icon: <Logout /> },\n { name: 'loop', icon: <Loop /> },\n { name: 'move', icon: <Move /> },\n { name: 'mute', icon: <Mute /> },\n { name: 'open-container', icon: <OpenContainer /> },\n { name: 'paste-from-clipboard', icon: <PasteFromClipboard /> },\n { name: 'pause', icon: <Pause /> },\n { name: 'pin', icon: <Pin /> },\n { name: 'play', icon: <Play /> },\n { name: 'playback', icon: <Playback /> },\n { name: 'polygon-lasso', icon: <PolygonLasso /> },\n { name: 'pop-back-in', icon: <PopBackIn /> },\n { name: 'pop-out', icon: <PopOut /> },\n { name: 'record', icon: <Record /> },\n { name: 'rectangle-select', icon: <RectangleSelect /> },\n { name: 'remove-fill', icon: <RemoveFill /> },\n { name: 'remove-from-list', icon: <RemoveFromList /> },\n { name: 'remove', icon: <Remove /> },\n { name: 'reverse', icon: <Reverse /> },\n { name: 'screenshot', icon: <Screenshot /> },\n { name: 'search', icon: <Search /> },\n { name: 'share', icon: <Share /> },\n { name: 'show', icon: <Show /> },\n { name: 'stack-cards', icon: <StackCards /> },\n { name: 'stack', icon: <Stack /> },\n { name: 'tether', icon: <Tether /> },\n { name: 'track-changes', icon: <TrackChanges /> },\n { name: 'undo', icon: <Undo /> },\n { name: 'zoom-in', icon: <ZoomIn /> },\n { name: 'zoom-out', icon: <ZoomOut /> },\n { name: 'zoom-to', icon: <ZoomTo /> },\n ],\n },\n symbols: {\n description: 'These icons mainly represent an object or concept.',\n icons: [\n { name: 'airspaces', icon: <Airspaces /> },\n { name: 'appearance', icon: <Appearance /> },\n { name: 'arrow', icon: <Arrow /> },\n { name: 'ascending', icon: <Ascending /> },\n { name: 'assignment', icon: <Assignment /> },\n { name: 'attributes', icon: <Attributes /> },\n { name: 'bolt-not-visible', icon: <BoltNotVisible /> },\n { name: 'bolt', icon: <Bolt /> },\n { name: 'brightness', icon: <Brightness /> },\n { name: 'bug-report', icon: <BugReport /> },\n { name: 'calendar', icon: <Calendar /> },\n { name: 'chart-stacked-bar', icon: <ChartStackedBar /> },\n { name: 'circle-tool', icon: <CircleTool /> },\n { name: 'color-picker', icon: <ColorPicker /> },\n { name: 'common-operating-pic', icon: <CommonOperatingPic /> },\n { name: 'contrast', icon: <Contrast /> },\n { name: 'cop-settings', icon: <CopSettings /> },\n { name: 'coverage', icon: <Coverage /> },\n { name: 'dashboard', icon: <Dashboard /> },\n { name: 'data', icon: <Data /> },\n { name: 'descending', icon: <Descending /> },\n { name: 'electromagnetic-spectrum', icon: <ElectromagneticSpectrum /> },\n { name: 'feed', icon: <Feed /> },\n { name: 'flight-plan', icon: <FlightPlan /> },\n { name: 'gantt', icon: <Gantt /> },\n { name: 'grid', icon: <Grid /> },\n { name: 'hamburger', icon: <Hamburger /> },\n { name: 'handover', icon: <Handover /> },\n { name: 'handshake', icon: <Handshake /> },\n { name: 'help', icon: <Help /> },\n { name: 'intercept-point', icon: <InterceptPoint /> },\n { name: 'kebab', icon: <Kebab /> },\n { name: 'layer-group', icon: <LayerGroup /> },\n { name: 'layers', icon: <Layers /> },\n { name: 'line-tool', icon: <LineTool /> },\n { name: 'location-fill', icon: <LocationFill /> },\n { name: 'location-stroke', icon: <LocationStroke /> },\n { name: 'message', icon: <Message /> },\n { name: 'mode', icon: <Mode /> },\n { name: 'newspaper', icon: <Newspaper /> },\n { name: 'non-editable', icon: <NonEditable /> },\n { name: 'none', icon: <None /> },\n { name: 'note', icon: <Note /> },\n { name: 'overlays', icon: <Overlays /> },\n { name: 'panel-closed', icon: <PanelClosed /> },\n { name: 'panel-open', icon: <PanelOpen /> },\n { name: 'person', icon: <Person /> },\n { name: 'phone', icon: <Phone /> },\n { name: 'placeholder', icon: <Placeholder /> },\n { name: 'plots', icon: <Plots /> },\n { name: 'polygon-tool', icon: <PolygonTool /> },\n { name: 'radar', icon: <Radar /> },\n { name: 'radio', icon: <Radio /> },\n { name: 'rectangle-tool', icon: <RectangleTool /> },\n { name: 'region', icon: <Region /> },\n { name: 'sector', icon: <Sector /> },\n { name: 'selection-list', icon: <SelectionList /> },\n { name: 'sensor-health', icon: <SensorHealth /> },\n { name: 'settings', icon: <Settings /> },\n { name: 'spotlight', icon: <Spotlight /> },\n { name: 'threat-assess', icon: <ThreatAssess /> },\n { name: 'ticket', icon: <Ticket /> },\n { name: 'time', icon: <Time /> },\n { name: 'timer', icon: <Timer /> },\n { name: 'track-history', icon: <TrackHistory /> },\n { name: 'unscheduled-maintenance', icon: <UnscheduledMaintenance /> },\n { name: 'user-manual', icon: <UserManual /> },\n { name: 'watch-tower', icon: <WatchTower /> },\n { name: 'wind', icon: <Wind /> },\n ],\n },\n controls: {\n description:\n 'These icons portray acts or symbols related to control or configuration.',\n icons: [\n { name: 'arrow-down', icon: <ArrowDown /> },\n { name: 'arrow-left', icon: <ArrowLeft /> },\n { name: 'arrow-northeast', icon: <ArrowNortheast /> },\n { name: 'arrow-northwest', icon: <ArrowNorthwest /> },\n { name: 'arrow-right', icon: <ArrowRight /> },\n { name: 'arrow-southeast', icon: <ArrowSoutheast /> },\n { name: 'arrow-southeast', icon: <ArrowSouthwest /> },\n { name: 'arrow-up', icon: <ArrowUp /> },\n { name: 'arrow-keys', icon: <ArrowKeys /> },\n { name: 'arrow', icon: <Arrow /> },\n { name: 'checkbox-selected', icon: <CheckboxSelected /> },\n { name: 'checkbox-small-selected', icon: <CheckboxSmallSelected /> },\n { name: 'checkbox-unselected', icon: <CheckboxUnselected /> },\n { name: 'checkbox-small-unselected', icon: <CheckboxSmallUnselected /> },\n { name: 'checkbox-indeterminate', icon: <CheckboxIndeterminate /> },\n { name: 'chevron-down', icon: <ChevronDown /> },\n { name: 'chevron-fill-down', icon: <ChevronFillDown /> },\n { name: 'chevron-up', icon: <ChevronUp /> },\n { name: 'chevron-fill-up', icon: <ChevronFillUp /> },\n { name: 'chevron-left', icon: <ChevronLeft /> },\n { name: 'chevron-fill-left', icon: <ChevronFillLeft /> },\n { name: 'chevron-right', icon: <ChevronRight /> },\n { name: 'chevron-fill-right', icon: <ChevronFillRight /> },\n { name: 'cursor-crosshair', icon: <CursorCrosshair /> },\n { name: 'cursor-default', icon: <CursorDefault /> },\n { name: 'cursor-drag', icon: <CursorDrag /> },\n { name: 'radio-selected', icon: <RadioSelected /> },\n { name: 'radio-unselected', icon: <RadioUnselected /> },\n { name: 'track-eta', icon: <TrackEta /> },\n { name: 'mouse-left-click', icon: <MouseLeftClick /> },\n { name: 'mouse-middle-click', icon: <MouseMiddleClick /> },\n { name: 'mouse-right-click', icon: <MouseRightClick /> },\n { name: 'mouse-scroll', icon: <MouseScroll /> },\n { name: 'scroll-click', icon: <ScrollClick /> },\n ],\n },\n feedback: {\n description:\n 'These icons portray communication or providing feedback to the user.',\n icons: [\n { name: 'bell', icon: <Bell /> },\n { name: 'information', icon: <Information /> },\n { name: 'connection', icon: <Connection /> },\n { name: 'success', icon: <Success /> },\n { name: 'connection-lost', icon: <ConnectionLost /> },\n { name: 'warning', icon: <Warning /> },\n { name: 'live', icon: <Live /> },\n { name: 'problem', icon: <Problem /> },\n ],\n },\n};\n"]}
1
+ {"version":3,"sources":["../../src/icons/catalog.tsx"],"names":["catalog_default","jsx","AddFill","AddToList","Add","ArrangeTable","AttachFile","Cancel","CancelFill","CenterOn","Check","CollapseWindow","CollapseAll","Condense","CopyToClipboard","CreateCoa","Delete","DragHorz","DragVert","Duplicate","Edit","ExpandAll","ExpandLeft","ExpandRight","ExpandWindow","Expand","ExploreData","Filter","Flag","Focus","GlobalShare","Group","Hide","Import","InsertChart","JumpTo","Lasso","Link","LockFill","LockOutline","Login","Logout","Loop","Move","Mute","OpenContainer","PasteFromClipboard","Pause","Pin","Play","Playback","PolygonLasso","PopBackIn","PopOut","Record","RectangleSelect","RemoveFill","RemoveFromList","Remove","Reverse","Screenshot","Search","Share","Show","StackCards","Stack","Tether","TrackChanges","Undo","ZoomIn","ZoomOut","ZoomTo","Airspaces","Appearance","Arrow","Ascending","Assignment","Attributes","BoltNotVisible","Bolt","Brightness","BugReport","Calendar","ChartStackedBar","CircleTool","ColorPicker","CommonOperatingPic","Contrast","CopSettings","Coverage","Dashboard","Data","Descending","ElectromagneticSpectrum","Feed","FlightPlan","Gantt","Grid","Hamburger","Handover","Handshake","Help","InterceptPoint","Kebab","LayerGroup","Layers","LineTool","LocationFill","LocationStroke","Message","Mode","Newspaper","NonEditable","None","Note","Overlays","PanelClosed","PanelOpen","Person","Phone","Placeholder","Plots","PolygonTool","Radar","Radio","RectangleTool","Region","Sector","SelectionList","SensorHealth","Settings","Spotlight","ThreatAssess","Ticket","Time","Timer","TrackHistory","UnscheduledMaintenance","UserManual","WatchTower","Wind","ArrowDown","ArrowLeft","ArrowNortheast","ArrowNorthwest","ArrowRight","ArrowSoutheast","ArrowSouthwest","ArrowUp","ArrowKeys","CheckboxSelected","CheckboxSmallSelected","CheckboxUnselected","CheckboxSmallUnselected","CheckboxIndeterminate","ChevronDown","ChevronFillDown","ChevronUp","ChevronFillUp","ChevronLeft","ChevronFillLeft","ChevronRight","ChevronFillRight","CursorCrosshair","CursorDefault","CursorDrag","RadioSelected","RadioUnselected","TrackEta","MouseLeftClick","MouseMiddleClick","MouseRightClick","MouseScroll","ScrollClick","Bell","Information","Connection","Success","ConnectionLost","Warning","Live","Problem"],"mappings":"y3DAmMA,IAAOA,EAAAA,CAAQ,CACb,OAAA,CAAS,CACP,WAAA,CACE,4EA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IAAA,CAAM,aAAA,CAAe,IAAA,CAAM7K,GAAAA,CAAC8K,WAAAA,CAAA,EAAY,CAAG,CAAA,CAC7C,CAAE,IAAA,CAAM,YAAA,CAAc,IAAA,CAAM9K,GAAAA,CAAC+K,UAAAA,CAAA,EAAW,CAAG,CAAA,CAC3C,CAAE,IAAA,CAAM,SAAA,CAAW,IAAA,CAAM/K,GAAAA,CAACgL,OAAAA,CAAA,EAAQ,CAAG,CAAA,CACrC,CAAE,IAAA,CAAM,iBAAA,CAAmB,IAAA,CAAMhL,GAAAA,CAACiL,cAAAA,CAAA,EAAe,CAAG,CAAA,CACpD,CAAE,IAAA,CAAM,SAAA,CAAW,IAAA,CAAMjL,GAAAA,CAACkL,OAAAA,CAAA,EAAQ,CAAG,CAAA,CACrC,CAAE,IAAA,CAAM,MAAA,CAAQ,IAAA,CAAMlL,GAAAA,CAACmL,IAAAA,CAAA,EAAK,CAAG,CAAA,CAC/B,CAAE,IAAA,CAAM,SAAA,CAAW,IAAA,CAAMnL,GAAAA,CAACoL,OAAAA,CAAA,EAAQ,CAAG,CACvC,CACF,CACF","file":"catalog.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\nimport {\n Add,\n AddFill,\n AddToList,\n Airspaces,\n Appearance,\n ArrangeTable,\n Arrow,\n ArrowDown,\n ArrowKeys,\n ArrowLeft,\n ArrowNortheast,\n ArrowNorthwest,\n ArrowRight,\n ArrowSoutheast,\n ArrowSouthwest,\n ArrowUp,\n Ascending,\n Assignment,\n AttachFile,\n Attributes,\n Bell,\n Bolt,\n BoltNotVisible,\n Brightness,\n BugReport,\n Calendar,\n Cancel,\n CancelFill,\n CenterOn,\n ChartStackedBar,\n Check,\n CheckboxIndeterminate,\n CheckboxSelected,\n CheckboxSmallSelected,\n CheckboxSmallUnselected,\n CheckboxUnselected,\n ChevronDown,\n ChevronFillDown,\n ChevronFillLeft,\n ChevronFillRight,\n ChevronFillUp,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleTool,\n CollapseAll,\n CollapseWindow,\n ColorPicker,\n CommonOperatingPic,\n Condense,\n Connection,\n ConnectionLost,\n Contrast,\n CopSettings,\n CopyToClipboard,\n Coverage,\n CreateCoa,\n CursorCrosshair,\n CursorDefault,\n CursorDrag,\n Dashboard,\n Data,\n Delete,\n Descending,\n DragHorz,\n DragVert,\n Duplicate,\n Edit,\n ElectromagneticSpectrum,\n Expand,\n ExpandAll,\n ExpandLeft,\n ExpandRight,\n ExpandWindow,\n ExploreData,\n Feed,\n Filter,\n Flag,\n FlightPlan,\n Focus,\n Gantt,\n GlobalShare,\n Grid,\n Group,\n Hamburger,\n Handover,\n Handshake,\n Help,\n Hide,\n Import,\n Information,\n InsertChart,\n InterceptPoint,\n JumpTo,\n Kebab,\n Lasso,\n LayerGroup,\n Layers,\n LineTool,\n Link,\n Live,\n LocationFill,\n LocationStroke,\n LockFill,\n LockOutline,\n Login,\n Logout,\n Loop,\n Message,\n Mode,\n MouseLeftClick,\n MouseMiddleClick,\n MouseRightClick,\n MouseScroll,\n Move,\n Mute,\n Newspaper,\n NonEditable,\n None,\n Note,\n OpenContainer,\n Overlays,\n PanelClosed,\n PanelOpen,\n PasteFromClipboard,\n Pause,\n Person,\n Phone,\n Pin,\n Placeholder,\n Play,\n Playback,\n Plots,\n PolygonLasso,\n PolygonTool,\n PopBackIn,\n PopOut,\n Problem,\n Radar,\n Radio,\n RadioSelected,\n RadioUnselected,\n Record,\n RectangleSelect,\n RectangleTool,\n Region,\n Remove,\n RemoveFill,\n RemoveFromList,\n Reverse,\n Screenshot,\n ScrollClick,\n Search,\n Sector,\n SelectionList,\n SensorHealth,\n Settings,\n Share,\n Show,\n Spotlight,\n Stack,\n StackCards,\n Success,\n Tether,\n ThreatAssess,\n Ticket,\n Time,\n Timer,\n TrackChanges,\n TrackEta,\n TrackHistory,\n Undo,\n UnscheduledMaintenance,\n UserManual,\n Warning,\n WatchTower,\n Wind,\n ZoomIn,\n ZoomOut,\n ZoomTo,\n} from '@accelint/icons';\n\nexport default {\n actions: {\n description:\n 'These icons mainly represent an act a user can take in the user interface.',\n icons: [\n { name: 'add-fill', icon: <AddFill /> },\n { name: 'add-to-list', icon: <AddToList /> },\n { name: 'add', icon: <Add /> },\n { name: 'arrange-table', icon: <ArrangeTable /> },\n { name: 'attach-file', icon: <AttachFile /> },\n { name: 'cancel', icon: <Cancel /> },\n { name: 'cancel-fill', icon: <CancelFill /> },\n { name: 'center-on', icon: <CenterOn /> },\n { name: 'check', icon: <Check /> },\n { name: 'collapse-window', icon: <CollapseWindow /> },\n { name: 'collapse-all', icon: <CollapseAll /> },\n { name: 'condense', icon: <Condense /> },\n { name: 'copy-to-clipboard', icon: <CopyToClipboard /> },\n { name: 'create-coa', icon: <CreateCoa /> },\n { name: 'delete', icon: <Delete /> },\n { name: 'drag-horz', icon: <DragHorz /> },\n { name: 'drag-vert', icon: <DragVert /> },\n { name: 'duplicate', icon: <Duplicate /> },\n { name: 'edit', icon: <Edit /> },\n { name: 'expand-all', icon: <ExpandAll /> },\n { name: 'expand-left', icon: <ExpandLeft /> },\n { name: 'expand-right', icon: <ExpandRight /> },\n { name: 'expand-window', icon: <ExpandWindow /> },\n { name: 'expand', icon: <Expand /> },\n { name: 'explore-data', icon: <ExploreData /> },\n { name: 'filter', icon: <Filter /> },\n { name: 'flag', icon: <Flag /> },\n { name: 'focus', icon: <Focus /> },\n { name: 'global-share', icon: <GlobalShare /> },\n { name: 'group', icon: <Group /> },\n { name: 'hide', icon: <Hide /> },\n { name: 'import', icon: <Import /> },\n { name: 'insert-chart', icon: <InsertChart /> },\n { name: 'jump-to', icon: <JumpTo /> },\n { name: 'lasso', icon: <Lasso /> },\n { name: 'link', icon: <Link /> },\n { name: 'lock-fill', icon: <LockFill /> },\n { name: 'lock-outline', icon: <LockOutline /> },\n { name: 'login', icon: <Login /> },\n { name: 'logout', icon: <Logout /> },\n { name: 'loop', icon: <Loop /> },\n { name: 'move', icon: <Move /> },\n { name: 'mute', icon: <Mute /> },\n { name: 'open-container', icon: <OpenContainer /> },\n { name: 'paste-from-clipboard', icon: <PasteFromClipboard /> },\n { name: 'pause', icon: <Pause /> },\n { name: 'pin', icon: <Pin /> },\n { name: 'play', icon: <Play /> },\n { name: 'playback', icon: <Playback /> },\n { name: 'polygon-lasso', icon: <PolygonLasso /> },\n { name: 'pop-back-in', icon: <PopBackIn /> },\n { name: 'pop-out', icon: <PopOut /> },\n { name: 'record', icon: <Record /> },\n { name: 'rectangle-select', icon: <RectangleSelect /> },\n { name: 'remove-fill', icon: <RemoveFill /> },\n { name: 'remove-from-list', icon: <RemoveFromList /> },\n { name: 'remove', icon: <Remove /> },\n { name: 'reverse', icon: <Reverse /> },\n { name: 'screenshot', icon: <Screenshot /> },\n { name: 'search', icon: <Search /> },\n { name: 'share', icon: <Share /> },\n { name: 'show', icon: <Show /> },\n { name: 'stack-cards', icon: <StackCards /> },\n { name: 'stack', icon: <Stack /> },\n { name: 'tether', icon: <Tether /> },\n { name: 'track-changes', icon: <TrackChanges /> },\n { name: 'undo', icon: <Undo /> },\n { name: 'zoom-in', icon: <ZoomIn /> },\n { name: 'zoom-out', icon: <ZoomOut /> },\n { name: 'zoom-to', icon: <ZoomTo /> },\n ],\n },\n symbols: {\n description: 'These icons mainly represent an object or concept.',\n icons: [\n { name: 'airspaces', icon: <Airspaces /> },\n { name: 'appearance', icon: <Appearance /> },\n { name: 'arrow', icon: <Arrow /> },\n { name: 'ascending', icon: <Ascending /> },\n { name: 'assignment', icon: <Assignment /> },\n { name: 'attributes', icon: <Attributes /> },\n { name: 'bolt-not-visible', icon: <BoltNotVisible /> },\n { name: 'bolt', icon: <Bolt /> },\n { name: 'brightness', icon: <Brightness /> },\n { name: 'bug-report', icon: <BugReport /> },\n { name: 'calendar', icon: <Calendar /> },\n { name: 'chart-stacked-bar', icon: <ChartStackedBar /> },\n { name: 'circle-tool', icon: <CircleTool /> },\n { name: 'color-picker', icon: <ColorPicker /> },\n { name: 'common-operating-pic', icon: <CommonOperatingPic /> },\n { name: 'contrast', icon: <Contrast /> },\n { name: 'cop-settings', icon: <CopSettings /> },\n { name: 'coverage', icon: <Coverage /> },\n { name: 'dashboard', icon: <Dashboard /> },\n { name: 'data', icon: <Data /> },\n { name: 'descending', icon: <Descending /> },\n { name: 'electromagnetic-spectrum', icon: <ElectromagneticSpectrum /> },\n { name: 'feed', icon: <Feed /> },\n { name: 'flight-plan', icon: <FlightPlan /> },\n { name: 'gantt', icon: <Gantt /> },\n { name: 'grid', icon: <Grid /> },\n { name: 'hamburger', icon: <Hamburger /> },\n { name: 'handover', icon: <Handover /> },\n { name: 'handshake', icon: <Handshake /> },\n { name: 'help', icon: <Help /> },\n { name: 'intercept-point', icon: <InterceptPoint /> },\n { name: 'kebab', icon: <Kebab /> },\n { name: 'layer-group', icon: <LayerGroup /> },\n { name: 'layers', icon: <Layers /> },\n { name: 'line-tool', icon: <LineTool /> },\n { name: 'location-fill', icon: <LocationFill /> },\n { name: 'location-stroke', icon: <LocationStroke /> },\n { name: 'message', icon: <Message /> },\n { name: 'mode', icon: <Mode /> },\n { name: 'newspaper', icon: <Newspaper /> },\n { name: 'non-editable', icon: <NonEditable /> },\n { name: 'none', icon: <None /> },\n { name: 'note', icon: <Note /> },\n { name: 'overlays', icon: <Overlays /> },\n { name: 'panel-closed', icon: <PanelClosed /> },\n { name: 'panel-open', icon: <PanelOpen /> },\n { name: 'person', icon: <Person /> },\n { name: 'phone', icon: <Phone /> },\n { name: 'placeholder', icon: <Placeholder /> },\n { name: 'plots', icon: <Plots /> },\n { name: 'polygon-tool', icon: <PolygonTool /> },\n { name: 'radar', icon: <Radar /> },\n { name: 'radio', icon: <Radio /> },\n { name: 'rectangle-tool', icon: <RectangleTool /> },\n { name: 'region', icon: <Region /> },\n { name: 'sector', icon: <Sector /> },\n { name: 'selection-list', icon: <SelectionList /> },\n { name: 'sensor-health', icon: <SensorHealth /> },\n { name: 'settings', icon: <Settings /> },\n { name: 'spotlight', icon: <Spotlight /> },\n { name: 'threat-assess', icon: <ThreatAssess /> },\n { name: 'ticket', icon: <Ticket /> },\n { name: 'time', icon: <Time /> },\n { name: 'timer', icon: <Timer /> },\n { name: 'track-history', icon: <TrackHistory /> },\n { name: 'unscheduled-maintenance', icon: <UnscheduledMaintenance /> },\n { name: 'user-manual', icon: <UserManual /> },\n { name: 'watch-tower', icon: <WatchTower /> },\n { name: 'wind', icon: <Wind /> },\n ],\n },\n controls: {\n description:\n 'These icons portray acts or symbols related to control or configuration.',\n icons: [\n { name: 'arrow-down', icon: <ArrowDown /> },\n { name: 'arrow-left', icon: <ArrowLeft /> },\n { name: 'arrow-northeast', icon: <ArrowNortheast /> },\n { name: 'arrow-northwest', icon: <ArrowNorthwest /> },\n { name: 'arrow-right', icon: <ArrowRight /> },\n { name: 'arrow-southeast', icon: <ArrowSoutheast /> },\n { name: 'arrow-southeast', icon: <ArrowSouthwest /> },\n { name: 'arrow-up', icon: <ArrowUp /> },\n { name: 'arrow-keys', icon: <ArrowKeys /> },\n { name: 'arrow', icon: <Arrow /> },\n { name: 'checkbox-selected', icon: <CheckboxSelected /> },\n { name: 'checkbox-small-selected', icon: <CheckboxSmallSelected /> },\n { name: 'checkbox-unselected', icon: <CheckboxUnselected /> },\n { name: 'checkbox-small-unselected', icon: <CheckboxSmallUnselected /> },\n { name: 'checkbox-indeterminate', icon: <CheckboxIndeterminate /> },\n { name: 'chevron-down', icon: <ChevronDown /> },\n { name: 'chevron-fill-down', icon: <ChevronFillDown /> },\n { name: 'chevron-up', icon: <ChevronUp /> },\n { name: 'chevron-fill-up', icon: <ChevronFillUp /> },\n { name: 'chevron-left', icon: <ChevronLeft /> },\n { name: 'chevron-fill-left', icon: <ChevronFillLeft /> },\n { name: 'chevron-right', icon: <ChevronRight /> },\n { name: 'chevron-fill-right', icon: <ChevronFillRight /> },\n { name: 'cursor-crosshair', icon: <CursorCrosshair /> },\n { name: 'cursor-default', icon: <CursorDefault /> },\n { name: 'cursor-drag', icon: <CursorDrag /> },\n { name: 'radio-selected', icon: <RadioSelected /> },\n { name: 'radio-unselected', icon: <RadioUnselected /> },\n { name: 'track-eta', icon: <TrackEta /> },\n { name: 'mouse-left-click', icon: <MouseLeftClick /> },\n { name: 'mouse-middle-click', icon: <MouseMiddleClick /> },\n { name: 'mouse-right-click', icon: <MouseRightClick /> },\n { name: 'mouse-scroll', icon: <MouseScroll /> },\n { name: 'scroll-click', icon: <ScrollClick /> },\n ],\n },\n feedback: {\n description:\n 'These icons portray communication or providing feedback to the user.',\n icons: [\n { name: 'bell', icon: <Bell /> },\n { name: 'information', icon: <Information /> },\n { name: 'connection', icon: <Connection /> },\n { name: 'success', icon: <Success /> },\n { name: 'connection-lost', icon: <ConnectionLost /> },\n { name: 'warning', icon: <Warning /> },\n { name: 'live', icon: <Live /> },\n { name: 'problem', icon: <Problem /> },\n ],\n },\n};\n"]}
package/dist/index.css CHANGED
@@ -15,7 +15,7 @@
15
15
  @import '@fontsource/roboto-mono';
16
16
  @import 'tailwindcss';
17
17
  @plugin 'tailwindcss-react-aria-components' {
18
- prefix: 'ai'
18
+ prefix: 'dtk'
19
19
  }
20
20
  @source './components/foundation';
21
21
 
@@ -227,6 +227,11 @@
227
227
  --spacing-xl: 24px;
228
228
  --spacing-xxl: 40px;
229
229
  --spacing-oversized: 80px;
230
+
231
+ --icon-size-l: var(--spacing-xl);
232
+ --icon-size-m: 20px;
233
+ --icon-size-s: var(--spacing-l);
234
+ --icon-size-xs: var(--spacing-m);
230
235
  }
231
236
 
232
237
  @utility text-header-xxl {
@@ -352,11 +357,6 @@
352
357
  --icon-color: --value(--color- *);
353
358
  }
354
359
 
355
- @utility icon-size-* {
356
- --icon-size: --value([ *]);
357
- --icon-size: --value(--spacing- *);
358
- }
359
-
360
360
  @utility fg-* {
361
361
  color: --value([ *]);
362
362
  color: --value(--color- *);
@@ -364,6 +364,10 @@
364
364
  --icon-color: --value(--color- *);
365
365
  }
366
366
 
367
+ body {
368
+ @apply font-primary;
369
+ }
370
+
367
371
  @layer components {
368
372
  .hide-cancel::-webkit-search-cancel-button {
369
373
  display: none;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- export { Accordion, AccordionGroupProps, AccordionHeaderProps, AccordionPanelProps, AccordionProps } from './components/accordion/index.js';
1
+ export { Accordion, AccordionContext } from './components/accordion/index.js';
2
+ export { AccordionStyleVariants, AccordionStyles, AccordionStylesDefaults } from './components/accordion/styles.js';
3
+ export { AccordionGroupProps, AccordionHeaderProps, AccordionPanelProps, AccordionProps, AccordionTriggerProps } from './components/accordion/types.js';
2
4
  export { Avatar, AvatarProps } from './components/avatar/index.js';
3
5
  export { Badge, BadgeProps } from './components/badge/index.js';
4
6
  export { Box, BoxProps } from './components/box/index.js';
@@ -12,12 +14,20 @@ export { ComboBox, ComboBoxProps, ComboBoxSection } from './components/combobox/
12
14
  export { DateField, DateFieldProps } from './components/date-field/index.js';
13
15
  export { Dialog, DialogProps, DialogTitle } from './components/dialog/index.js';
14
16
  export { FloatingButton, FloatingButtonProps } from './components/floating-button/index.js';
15
- export { Icon, IconProps } from './components/icon/index.js';
17
+ export { Icon, IconContext } from './components/icon/index.js';
18
+ export { IconStyleVariants, IconStyles, IconStylesDefaults } from './components/icon/styles.js';
19
+ export { IconProps, IconProviderProps } from './components/icon/types.js';
16
20
  export { IconButton, IconButtonProps } from './components/icon-button/index.js';
17
21
  export { Label } from './components/label/index.js';
22
+ export { Options, OptionsContext, OptionsProps, OptionsSection } from './components/options/index.js';
23
+ export { IOptionsItem, OptionsItem, OptionsItemProps } from './components/options-item/index.js';
24
+ export { Popover, PopoverTrigger } from './components/popover/index.js';
25
+ export { PopoverStyles } from './components/popover/styles.js';
26
+ export { PopoverBodyProps, PopoverContentProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps } from './components/popover/types.js';
18
27
  export { ClassNames, DefaultRQBProps, Field, QueryBuilder, QueryBuilderContextType, QueryBuilderProps, QueryBuilderValueEditors, RuleGroupType } from './components/query-builder/index.js';
19
28
  export { Radio, RadioGroupProps, RadioProps } from './components/radio/index.js';
20
29
  export { SearchField, SearchFieldProps } from './components/search-field/index.js';
30
+ export { RangeSlider, RangeSliderProps, Slider, SliderProps } from './components/slider/index.js';
21
31
  export { Switch, SwitchProps } from './components/switch/index.js';
22
32
  export { TabListProps, TabPanelProps, TabProps, Tabs, TabsProps } from './components/tabs/index.js';
23
33
  export { TextArea, TextAreaProps } from './components/text-area/index.js';
@@ -25,14 +35,15 @@ export { TextField, TextFieldProps } from './components/text-field/index.js';
25
35
  export { ToggleIconButton, ToggleIconButtonProps } from './components/toggle-icon-button/index.js';
26
36
  export { Tooltip, TooltipBody, TooltipBodyProps, TooltipProps, TooltipTrigger, TooltipTriggerProps } from './components/tooltip/index.js';
27
37
  export { containsExactChildren, expectsIconWrapper } from './lib/react.js';
28
- export { cn, twMerge } from './lib/utils.js';
29
- export { MenuItem } from './types/types.js';
38
+ export { ChildrenRenderProps, ClassNameRenderProps, RenderProps, RenderPropsChildren, RenderPropsClassName, RenderPropsStyle, StylePropRenderProps, StyleRenderProps } from './lib/types.js';
39
+ export { cn, isSlottedContextValue, tv, twMerge } from './lib/utils.js';
30
40
  import 'react/jsx-runtime';
31
- import 'cva/types';
32
41
  import 'react';
33
42
  import 'react-aria-components';
34
- import 'cva';
43
+ import 'tailwind-variants';
44
+ import 'cva/types';
35
45
  import '@radix-ui/react-avatar';
46
+ import 'cva';
36
47
  import '@internationalized/date';
37
48
  import './components/query-builder/value-selector.js';
38
49
  import 'react-querybuilder';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{Accordion}from'./components/accordion/index.js';export{Avatar}from'./components/avatar/index.js';export{Badge}from'./components/badge/index.js';export{Box}from'./components/box/index.js';export{Button}from'./components/button/index.js';export{Checkbox}from'./components/checkbox/index.js';export{Chip,DeletableChip,SelectableChip}from'./components/chip/index.js';export{ClassificationBadge}from'./components/classification-badge/index.js';export{ClassificationBanner}from'./components/classification-banner/index.js';export{ColorPicker,useColorPickerState}from'./components/color-picker/index.js';export{ComboBox,ComboBoxSection}from'./components/combobox/index.js';export{DateField}from'./components/date-field/index.js';export{Dialog,DialogTitle}from'./components/dialog/index.js';export{FloatingButton}from'./components/floating-button/index.js';export{Icon}from'./components/icon/index.js';export{IconButton}from'./components/icon-button/index.js';export{Label}from'./components/label/index.js';export{QueryBuilder}from'./components/query-builder/index.js';export{Radio}from'./components/radio/index.js';export{SearchField}from'./components/search-field/index.js';export{Switch}from'./components/switch/index.js';export{Tabs}from'./components/tabs/index.js';export{TextArea}from'./components/text-area/index.js';export{TextField}from'./components/text-field/index.js';export{ToggleIconButton}from'./components/toggle-icon-button/index.js';export{Tooltip,TooltipBody,TooltipTrigger}from'./components/tooltip/index.js';export{containsExactChildren,expectsIconWrapper}from'./lib/react.js';export{cn,twMerge}from'./lib/utils.js';//# sourceMappingURL=index.js.map
1
+ export{Accordion,AccordionContext}from'./components/accordion/index.js';export{AccordionStyles,AccordionStylesDefaults}from'./components/accordion/styles.js';export{Avatar}from'./components/avatar/index.js';export{Badge}from'./components/badge/index.js';export{Box}from'./components/box/index.js';export{Button}from'./components/button/index.js';export{Checkbox}from'./components/checkbox/index.js';export{Chip,DeletableChip,SelectableChip}from'./components/chip/index.js';export{ClassificationBadge}from'./components/classification-badge/index.js';export{ClassificationBanner}from'./components/classification-banner/index.js';export{ColorPicker,useColorPickerState}from'./components/color-picker/index.js';export{ComboBox,ComboBoxSection}from'./components/combobox/index.js';export{DateField}from'./components/date-field/index.js';export{Dialog,DialogTitle}from'./components/dialog/index.js';export{FloatingButton}from'./components/floating-button/index.js';export{Icon,IconContext}from'./components/icon/index.js';export{IconStyles,IconStylesDefaults}from'./components/icon/styles.js';export{IconButton}from'./components/icon-button/index.js';export{Label}from'./components/label/index.js';export{Options,OptionsContext,OptionsSection}from'./components/options/index.js';export{OptionsItem}from'./components/options-item/index.js';export{Popover,PopoverTrigger}from'./components/popover/index.js';export{PopoverStyles}from'./components/popover/styles.js';export{QueryBuilder}from'./components/query-builder/index.js';export{Radio}from'./components/radio/index.js';export{SearchField}from'./components/search-field/index.js';export{RangeSlider,Slider}from'./components/slider/index.js';export{Switch}from'./components/switch/index.js';export{Tabs}from'./components/tabs/index.js';export{TextArea}from'./components/text-area/index.js';export{TextField}from'./components/text-field/index.js';export{ToggleIconButton}from'./components/toggle-icon-button/index.js';export{Tooltip,TooltipBody,TooltipTrigger}from'./components/tooltip/index.js';export{containsExactChildren,expectsIconWrapper}from'./lib/react.js';export{cn,isSlottedContextValue,tv,twMerge}from'./lib/utils.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/react.ts"],"names":["ComponentStructureError","message","containsExactChildren","children","componentName","restrictions","childrenComponents","Children","isValidElement","accumulationResults","acc","child","name","missingComponentsArray","excessComponentsArray","key","min","max","found","formatList","label","items","errorMessage","expectsIconWrapper"],"mappings":"4CAeA,IAAMA,CAAAA,CAAN,cAAsC,KAAM,CAC1C,WAAA,CAAYC,CAAS,CAAA,CACnB,MAAMA,CAAO,CAAA,CACb,IAAK,CAAA,IAAA,CAAO,0BACd,CACF,CAuBO,CAAA,SAASC,EAAsB,CACpC,QAAA,CAAAC,CACA,CAAA,aAAA,CAAAC,EACA,YAAAC,CAAAA,CACF,CAA+B,CAAA,CAC7B,IAAMC,CAAqBC,CAAAA,QAAAA,CAAS,OAAQJ,CAAAA,CAAQ,CAEpD,CAAA,GAAI,CAACG,CAAAA,CAAmB,MAAME,cAAc,CAAA,CAC1C,MAAM,IAAIR,CACR,C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,CAAAA,CAAsB,CAAC,CAAA,EAC3DM,EAAW,yBAA2BL,CAAAA,CAAqB,CAAC,CAAA,CAAA,CAEjE,MAAM,IAAId,EAAwBsB,CAAa,CAAA,IAAA,EAAM,CACvD,CACF,CAoBO,SAASC,CAAmB,CAAA,CAAE,QAAApB,CAAAA,CAAAA,CAAU,aAAAC,CAAAA,CAAc,EAAG,CACnCG,QAAAA,CAAS,OAAQJ,CAAAA,CAAQ,CAEjC,CAAA,GAAA,CAAKQ,GAAU,CAChC,GAAIH,cAAeG,CAAAA,CAAK,CAElBA,EAAAA,CAAAA,CAAM,KAAK,IAAM,EAAA,UAAA,CAAW,KAAK,CAAA,CACnC,MAAM,IAAI,KACR,CAAA,CAAA,EAAGP,CAAa,CAAA,mDAAA,CAClB,CAGN,CAAC,EACH","file":"react.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// @ts-nocheck\nimport { Children, type ReactNode, isValidElement } from 'react';\n\nclass ComponentStructureError extends Error {\n constructor(message) {\n super(message);\n this.name = 'ComponentStructureError';\n }\n}\n\ntype ContainsExactChildrenProps = {\n componentName: string;\n // biome-ignore lint/suspicious/noExplicitAny: aria render props include a generic type\n children:\n | ReactNode\n | ReactNode[]\n | ((\n values: any & {\n defaultChildren: ReactNode | undefined;\n },\n ) => ReactNode);\n restrictions: Record<string, { min: number; max?: number }>;\n};\n\n/**\n * Validates the intended composite component structure.\n *\n * @param children the children of the component\n * @param componentName the displayName of the component\n * @param restrictions the record of validation rules\n */\nexport function containsExactChildren({\n children,\n componentName,\n restrictions,\n}: ContainsExactChildrenProps) {\n const childrenComponents = Children.toArray(children);\n\n if (!childrenComponents.every(isValidElement)) {\n throw new ComponentStructureError(\n `<${componentName}> received invalid children.`,\n );\n }\n\n const accumulationResults = childrenComponents.reduce((acc, child) => {\n const name = child?.type?.displayName;\n if (name) {\n acc[name] = (acc[name] || 0) + 1;\n }\n return acc;\n }, {});\n\n const missingComponentsArray: string[] = [];\n const excessComponentsArray: string[] = [];\n\n for (const [key, { min, max }] of Object.entries(restrictions)) {\n const found = accumulationResults[key] ?? 0;\n\n if (found < min) {\n missingComponentsArray.push(`${min - found} of <${key}>`);\n }\n\n if (max !== undefined && found > max) {\n excessComponentsArray.push(`${found - max} of <${key}>`);\n }\n }\n\n if (missingComponentsArray.length || excessComponentsArray.length) {\n const formatList = (label: string, items: string[]) =>\n items.length ? `\\t${label}:\\n\\t\\t${items.join(', ')}\\n` : '';\n\n const errorMessage =\n `Invalid <${componentName}> structure \\n` +\n `${formatList('Missing the following', missingComponentsArray)}` +\n `${formatList('Excess of the following', excessComponentsArray)}`;\n\n throw new ComponentStructureError(errorMessage.trim());\n }\n}\n\n/**\n * I look for svgIcons exported from the @accelint/icons library\n * and ensure that they are wrapped in an Icon component in order\n * to get the classes and styles they need in context.\n *\n * Using isValidElement means we will filter out strings, boolean, etc.\n * that are valid nodes but not elements.\n *\n * @example\n * expectsIconWrapper({\n * children,\n * componentName: Button.displayName,\n * });\n *\n *\n * @param children the children of the calling component\n * @param componentName the displayName of the calling component\n */\nexport function expectsIconWrapper({ children, componentName }) {\n const childrenComponents = Children.toArray(children);\n\n childrenComponents.map((child) => {\n if (isValidElement(child)) {\n // icons should never be a direct child of the parent\n if (child.type.name?.startsWith('Svg')) {\n throw new Error(\n `${componentName} is using an icon without the required Icon wrapper`,\n );\n }\n }\n });\n}\n"]}
1
+ {"version":3,"sources":["../../src/lib/react.ts"],"names":["ComponentStructureError","message","containsExactChildren","children","componentName","restrictions","childrenComponents","Children","isValidElement","accumulationResults","acc","child","name","missingComponentsArray","excessComponentsArray","key","min","max","found","formatList","label","items","errorMessage","expectsIconWrapper"],"mappings":"4CAeA,IAAMA,CAAAA,CAAN,cAAsC,KAAM,CAC1C,WAAA,CAAYC,CAAAA,CAAS,CACnB,MAAMA,CAAO,CAAA,CACb,IAAA,CAAK,IAAA,CAAO,0BACd,CACF,CAAA,CAuBO,SAASC,EAAsB,CACpC,QAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,EACA,YAAA,CAAAC,CACF,CAAA,CAA+B,CAC7B,IAAMC,CAAAA,CAAqBC,QAAAA,CAAS,OAAA,CAAQJ,CAAQ,CAAA,CAEpD,GAAI,CAACG,CAAAA,CAAmB,MAAME,cAAc,CAAA,CAC1C,MAAM,IAAIR,CAAAA,CACR,CAAA,CAAA,EAAII,CAAa,CAAA,4BAAA,CACnB,EAGF,IAAMK,CAAAA,CAAsBH,CAAAA,CAAmB,MAAA,CAAO,CAACI,CAAAA,CAAKC,CAAAA,GAAU,CACpE,IAAMC,CAAAA,CAAOD,CAAAA,EAAO,IAAA,EAAM,WAAA,CAC1B,OAAIC,CAAAA,GACFF,CAAAA,CAAIE,CAAI,CAAA,CAAA,CAAKF,EAAIE,CAAI,CAAA,EAAK,CAAA,EAAK,CAAA,CAAA,CAE1BF,CACT,CAAA,CAAG,EAAE,EAECG,CAAAA,CAAmC,EAAC,CACpCC,CAAAA,CAAkC,EAAC,CAEzC,IAAA,GAAW,CAACC,EAAK,CAAE,GAAA,CAAAC,CAAAA,CAAK,GAAA,CAAAC,CAAI,CAAC,CAAA,GAAK,MAAA,CAAO,QAAQZ,CAAY,CAAA,CAAG,CAC9D,IAAMa,EAAQT,CAAAA,CAAoBM,CAAG,CAAA,EAAK,CAAA,CAEtCG,EAAQF,CAAAA,EACVH,CAAAA,CAAuB,IAAA,CAAK,CAAA,EAAGG,CAAAA,CAAME,CAAK,CAAA,KAAA,EAAQH,CAAG,GAAG,CAAA,CAGtDE,CAAAA,GAAQ,MAAA,EAAaC,CAAAA,CAAQD,GAC/BH,CAAAA,CAAsB,IAAA,CAAK,CAAA,EAAGI,CAAAA,CAAQD,CAAG,CAAA,KAAA,EAAQF,CAAG,CAAA,CAAA,CAAG,EAE3D,CAEA,GAAIF,CAAAA,CAAuB,MAAA,EAAUC,EAAsB,MAAA,CAAQ,CACjE,IAAMK,CAAAA,CAAa,CAACC,CAAAA,CAAeC,CAAAA,GACjCA,CAAAA,CAAM,MAAA,CAAS,IAAKD,CAAK,CAAA;AAAA,EAAA,EAAUC,CAAAA,CAAM,IAAA,CAAK,IAAI,CAAC;AAAA,CAAA,CAAO,EAAA,CAEtDC,CAAAA,CACJ,CAAA,SAAA,EAAYlB,CAAa,CAAA;AAAA,EACtBe,CAAAA,CAAW,uBAAA,CAAyBN,CAAsB,CAAC,CAAA,EAC3DM,EAAW,yBAAA,CAA2BL,CAAqB,CAAC,CAAA,CAAA,CAEjE,MAAM,IAAId,EAAwBsB,CAAAA,CAAa,IAAA,EAAM,CACvD,CACF,CAoBO,SAASC,CAAAA,CAAmB,CAAE,QAAA,CAAApB,CAAAA,CAAU,aAAA,CAAAC,CAAc,EAAG,CACnCG,QAAAA,CAAS,OAAA,CAAQJ,CAAQ,CAAA,CAEjC,GAAA,CAAKQ,GAAU,CAChC,GAAIH,cAAAA,CAAeG,CAAK,CAAA,EAElBA,CAAAA,CAAM,KAAK,IAAA,EAAM,UAAA,CAAW,KAAK,CAAA,CACnC,MAAM,IAAI,KAAA,CACR,CAAA,EAAGP,CAAa,CAAA,mDAAA,CAClB,CAGN,CAAC,EACH","file":"react.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// @ts-nocheck\nimport { Children, type ReactNode, isValidElement } from 'react';\n\nclass ComponentStructureError extends Error {\n constructor(message) {\n super(message);\n this.name = 'ComponentStructureError';\n }\n}\n\ntype ContainsExactChildrenProps = {\n componentName: string;\n // biome-ignore lint/suspicious/noExplicitAny: aria render props include a generic type\n children:\n | ReactNode\n | ReactNode[]\n | ((\n values: any & {\n defaultChildren: ReactNode | undefined;\n },\n ) => ReactNode);\n restrictions: Record<string, { min: number; max?: number }>;\n};\n\n/**\n * Validates the intended composite component structure.\n *\n * @param children the children of the component\n * @param componentName the displayName of the component\n * @param restrictions the record of validation rules\n */\nexport function containsExactChildren({\n children,\n componentName,\n restrictions,\n}: ContainsExactChildrenProps) {\n const childrenComponents = Children.toArray(children);\n\n if (!childrenComponents.every(isValidElement)) {\n throw new ComponentStructureError(\n `<${componentName}> received invalid children.`,\n );\n }\n\n const accumulationResults = childrenComponents.reduce((acc, child) => {\n const name = child?.type?.displayName;\n if (name) {\n acc[name] = (acc[name] || 0) + 1;\n }\n return acc;\n }, {});\n\n const missingComponentsArray: string[] = [];\n const excessComponentsArray: string[] = [];\n\n for (const [key, { min, max }] of Object.entries(restrictions)) {\n const found = accumulationResults[key] ?? 0;\n\n if (found < min) {\n missingComponentsArray.push(`${min - found} of <${key}>`);\n }\n\n if (max !== undefined && found > max) {\n excessComponentsArray.push(`${found - max} of <${key}>`);\n }\n }\n\n if (missingComponentsArray.length || excessComponentsArray.length) {\n const formatList = (label: string, items: string[]) =>\n items.length ? `\\t${label}:\\n\\t\\t${items.join(', ')}\\n` : '';\n\n const errorMessage =\n `Invalid <${componentName}> structure \\n` +\n `${formatList('Missing the following', missingComponentsArray)}` +\n `${formatList('Excess of the following', excessComponentsArray)}`;\n\n throw new ComponentStructureError(errorMessage.trim());\n }\n}\n\n/**\n * I look for svgIcons exported from the @accelint/icons library\n * and ensure that they are wrapped in an Icon component in order\n * to get the classes and styles they need in context.\n *\n * Using isValidElement means we will filter out strings, boolean, etc.\n * that are valid nodes but not elements.\n *\n * @example\n * expectsIconWrapper({\n * children,\n * componentName: Button.displayName,\n * });\n *\n *\n * @param children the children of the calling component\n * @param componentName the displayName of the calling component\n */\nexport function expectsIconWrapper({ children, componentName }) {\n const childrenComponents = Children.toArray(children);\n\n childrenComponents.map((child) => {\n if (isValidElement(child)) {\n // icons should never be a direct child of the parent\n if (child.type.name?.startsWith('Svg')) {\n throw new Error(\n `${componentName} is using an icon without the required Icon wrapper`,\n );\n }\n }\n });\n}\n"]}
@@ -0,0 +1,29 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+
3
+ /**
4
+ * Re-export due to not being exported by library
5
+ */
6
+ type ClassNameRenderProps<T extends object> = T & {
7
+ defaultClassName?: string;
8
+ };
9
+ type RenderPropsClassName<T extends object> = string | ((values: ClassNameRenderProps<T>) => string);
10
+ type StylePropRenderProps<T extends object> = T & {
11
+ defaultStyle?: CSSProperties;
12
+ };
13
+ type RenderPropsStyle<T extends object> = CSSProperties | ((values: StylePropRenderProps<T>) => CSSProperties);
14
+ type ChildrenRenderProps<T extends object> = T & {
15
+ defaultChildren?: ReactNode;
16
+ };
17
+ type RenderPropsChildren<T extends object> = ReactNode | ((values: ChildrenRenderProps<T>) => ReactNode);
18
+ type StyleRenderProps<T extends object> = {
19
+ /** The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state. */
20
+ className?: RenderPropsClassName<T>;
21
+ /** The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state. */
22
+ style?: RenderPropsStyle<T>;
23
+ };
24
+ type RenderProps<T extends object> = StyleRenderProps<T> & {
25
+ /** The children of the component. A function may be provided to alter the children based on component state. */
26
+ children?: RenderPropsChildren<T>;
27
+ };
28
+
29
+ export type { ChildrenRenderProps, ClassNameRenderProps, RenderProps, RenderPropsChildren, RenderPropsClassName, RenderPropsStyle, StylePropRenderProps, StyleRenderProps };
@@ -0,0 +1,2 @@
1
+ //# sourceMappingURL=types.js.map
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
@@ -1,7 +1,21 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
1
2
  import * as tailwind_merge from 'tailwind-merge';
2
3
  import { ClassValue } from 'clsx';
4
+ import { ForwardedRef } from 'react';
5
+ import { ContextValue } from 'react-aria-components';
3
6
 
4
7
  declare const twMerge: (...classLists: tailwind_merge.ClassNameValue[]) => string;
5
8
  declare function cn(...inputs: ClassValue[]): string;
9
+ declare const tv: tailwind_variants.CreateTV;
10
+ type WithRef<T, E> = T & {
11
+ ref?: ForwardedRef<E>;
12
+ };
13
+ interface SlottedValue<T> {
14
+ slots?: Record<string | symbol, T>;
15
+ }
16
+ /**
17
+ * A helper to narrow the type of Context Value
18
+ */
19
+ declare function isSlottedContextValue<T, E>(context: ContextValue<T, E>): context is SlottedValue<WithRef<T, E>>;
6
20
 
7
- export { cn, twMerge };
21
+ export { cn, isSlottedContextValue, tv, twMerge };