@utilitywarehouse/hearth-react 0.1.0 → 0.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.
- package/dist/{chunk-NYIZVR6U.cjs → chunk-37CE6EWY.cjs} +2 -2
- package/dist/chunk-37CE6EWY.cjs.map +1 -0
- package/dist/chunk-5OLLJKEO.js +2 -0
- package/dist/chunk-5OLLJKEO.js.map +1 -0
- package/dist/{chunk-WTEYCV3P.cjs → chunk-62VG5C3S.cjs} +2 -2
- package/dist/{chunk-WTEYCV3P.cjs.map → chunk-62VG5C3S.cjs.map} +1 -1
- package/dist/chunk-7BCHAXO2.js +2 -0
- package/dist/chunk-7BCHAXO2.js.map +1 -0
- package/dist/chunk-CQN4SZBT.js +2 -0
- package/dist/chunk-CQN4SZBT.js.map +1 -0
- package/dist/chunk-D6CQM2ZR.cjs +2 -0
- package/dist/chunk-D6CQM2ZR.cjs.map +1 -0
- package/dist/{chunk-LNST5XBT.js → chunk-DV32RESS.js} +2 -2
- package/dist/chunk-DV32RESS.js.map +1 -0
- package/dist/{chunk-3YGPQZGB.cjs → chunk-ETLTIDOX.cjs} +2 -2
- package/dist/{chunk-3YGPQZGB.cjs.map → chunk-ETLTIDOX.cjs.map} +1 -1
- package/dist/{chunk-6BKRNOB3.js → chunk-GBMQ4HCH.js} +2 -2
- package/dist/{chunk-UNKKBMOV.cjs → chunk-GSDFAL3H.cjs} +2 -2
- package/dist/{chunk-UNKKBMOV.cjs.map → chunk-GSDFAL3H.cjs.map} +1 -1
- package/dist/{chunk-FI7OM2M2.js → chunk-H7IDH6CJ.js} +2 -2
- package/dist/chunk-H7IDH6CJ.js.map +1 -0
- package/dist/{chunk-Y7BOCUYW.js → chunk-HKCUTYXG.js} +2 -2
- package/dist/chunk-HSPOCJ5A.cjs +2 -0
- package/dist/chunk-HSPOCJ5A.cjs.map +1 -0
- package/dist/chunk-JMAJZ2BL.cjs +2 -0
- package/dist/chunk-JMAJZ2BL.cjs.map +1 -0
- package/dist/{chunk-RA7PIIC6.cjs → chunk-JSIJQQYE.cjs} +2 -2
- package/dist/{chunk-RA7PIIC6.cjs.map → chunk-JSIJQQYE.cjs.map} +1 -1
- package/dist/{chunk-B32JIOPJ.js → chunk-KTWZRVIV.js} +2 -2
- package/dist/chunk-KTWZRVIV.js.map +1 -0
- package/dist/chunk-KW4TIBGT.js +2 -0
- package/dist/chunk-KW4TIBGT.js.map +1 -0
- package/dist/chunk-PDRE4SEJ.cjs +2 -0
- package/dist/chunk-PDRE4SEJ.cjs.map +1 -0
- package/dist/{chunk-JOYUGBJ2.js → chunk-PG455XUN.js} +2 -2
- package/dist/{chunk-YOH3OE2C.js → chunk-QGXYOTLB.js} +2 -2
- package/dist/chunk-SGZVBXYO.js +2 -0
- package/dist/chunk-SGZVBXYO.js.map +1 -0
- package/dist/chunk-SH7GIFPO.js +2 -0
- package/dist/chunk-SH7GIFPO.js.map +1 -0
- package/dist/chunk-T64W7Q7K.js +2 -0
- package/dist/chunk-T64W7Q7K.js.map +1 -0
- package/dist/{chunk-QUG4RSGO.cjs → chunk-UDOWEUCM.cjs} +2 -2
- package/dist/chunk-UDOWEUCM.cjs.map +1 -0
- package/dist/{chunk-QE7SFMVD.cjs → chunk-WOCOHW6C.cjs} +2 -2
- package/dist/chunk-WOCOHW6C.cjs.map +1 -0
- package/dist/chunk-XKYU3KUY.cjs +2 -0
- package/dist/chunk-XKYU3KUY.cjs.map +1 -0
- package/dist/chunk-XL3DXWPW.cjs +2 -0
- package/dist/chunk-XL3DXWPW.cjs.map +1 -0
- package/dist/chunk-XZNPGGRR.js +2 -0
- package/dist/chunk-XZNPGGRR.js.map +1 -0
- package/dist/{chunk-N2FOD332.cjs → chunk-Z5EIP7KH.cjs} +2 -2
- package/dist/chunk-Z5EIP7KH.cjs.map +1 -0
- package/dist/{chunk-MLABIXLN.cjs → chunk-ZJM6ZMUH.cjs} +2 -2
- package/dist/chunk-ZJM6ZMUH.cjs.map +1 -0
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.props.cjs +1 -1
- package/dist/components/Button/Button.props.d.cts +9 -0
- package/dist/components/Button/Button.props.d.ts +9 -0
- package/dist/components/Button/Button.props.js +1 -1
- package/dist/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.cjs.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.context.cjs +2 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.context.cjs.map +1 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.context.d.cts +13 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.context.d.ts +13 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.context.js +2 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.cts +5 -7
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +5 -7
- package/dist/components/CheckboxGroup/CheckboxGroup.js +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.props.d.cts +7 -16
- package/dist/components/CheckboxGroup/CheckboxGroup.props.d.ts +7 -16
- package/dist/components/CheckboxTile/CheckboxTile.cjs +1 -1
- package/dist/components/CheckboxTile/CheckboxTile.js +1 -1
- package/dist/components/FormGroupBase/FormGroupBase.cjs +2 -0
- package/dist/components/FormGroupBase/FormGroupBase.cjs.map +1 -0
- package/dist/components/FormGroupBase/FormGroupBase.context.cjs +2 -0
- package/dist/components/FormGroupBase/FormGroupBase.context.cjs.map +1 -0
- package/dist/components/FormGroupBase/FormGroupBase.context.d.cts +11 -0
- package/dist/components/FormGroupBase/FormGroupBase.context.d.ts +11 -0
- package/dist/components/FormGroupBase/FormGroupBase.context.js +2 -0
- package/dist/components/{Fieldset/Fieldset.d.cts → FormGroupBase/FormGroupBase.d.cts} +3 -3
- package/dist/components/{Fieldset/Fieldset.d.ts → FormGroupBase/FormGroupBase.d.ts} +3 -3
- package/dist/components/FormGroupBase/FormGroupBase.js +2 -0
- package/dist/components/FormGroupBase/FormGroupBase.props.cjs +1 -0
- package/dist/components/FormGroupBase/FormGroupBase.props.cjs.map +1 -0
- package/dist/components/{Fieldset/Fieldset.props.d.cts → FormGroupBase/FormGroupBase.props.d.cts} +2 -2
- package/dist/components/{Fieldset/Fieldset.props.d.ts → FormGroupBase/FormGroupBase.props.d.ts} +2 -2
- package/dist/components/FormGroupBase/FormGroupBase.props.js +1 -0
- package/dist/components/{FieldsetLegend/FieldsetLegend.cjs → FormGroupBase/Legend.cjs} +2 -2
- package/dist/components/FormGroupBase/Legend.cjs.map +1 -0
- package/dist/components/FormGroupBase/Legend.js +2 -0
- package/dist/components/FormGroupBase/Legend.js.map +1 -0
- package/dist/components/FormGroupBase/Legend.props.cjs.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.cjs +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/Radio/Radio.cjs +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.cjs +1 -1
- package/dist/components/RadioGroup/RadioGroup.cjs.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.cts +4 -5
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -5
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.props.d.cts +3 -9
- package/dist/components/RadioGroup/RadioGroup.props.d.ts +3 -9
- package/dist/components/RadioTile/RadioTile.cjs +1 -1
- package/dist/components/RadioTile/RadioTile.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs +1 -1
- package/dist/components/SearchInput/SearchInput.js +1 -1
- package/dist/components/TextArea/TextArea.cjs +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextInput/TextInput.cjs +1 -1
- package/dist/components/TextInput/TextInput.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -8
- package/dist/index.d.ts +4 -8
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles.css +39 -52
- package/dist/chunk-B32JIOPJ.js.map +0 -1
- package/dist/chunk-BBH2BLZX.cjs +0 -2
- package/dist/chunk-BBH2BLZX.cjs.map +0 -1
- package/dist/chunk-BC7Y6MZO.js +0 -2
- package/dist/chunk-BC7Y6MZO.js.map +0 -1
- package/dist/chunk-BJ2OK6RA.js +0 -2
- package/dist/chunk-BJ2OK6RA.js.map +0 -1
- package/dist/chunk-BYAQL5FQ.js +0 -2
- package/dist/chunk-BYAQL5FQ.js.map +0 -1
- package/dist/chunk-CEGUCKZW.js +0 -2
- package/dist/chunk-CEGUCKZW.js.map +0 -1
- package/dist/chunk-DKMO72XC.cjs +0 -2
- package/dist/chunk-DKMO72XC.cjs.map +0 -1
- package/dist/chunk-FI7OM2M2.js.map +0 -1
- package/dist/chunk-G4BATINY.js +0 -2
- package/dist/chunk-G4BATINY.js.map +0 -1
- package/dist/chunk-ICPNBPYR.cjs +0 -2
- package/dist/chunk-ICPNBPYR.cjs.map +0 -1
- package/dist/chunk-IKUFQM7T.js +0 -2
- package/dist/chunk-IKUFQM7T.js.map +0 -1
- package/dist/chunk-JEB5LCIV.cjs +0 -2
- package/dist/chunk-JEB5LCIV.cjs.map +0 -1
- package/dist/chunk-LNST5XBT.js.map +0 -1
- package/dist/chunk-MLABIXLN.cjs.map +0 -1
- package/dist/chunk-N2FOD332.cjs.map +0 -1
- package/dist/chunk-NYIZVR6U.cjs.map +0 -1
- package/dist/chunk-O63GLLKH.cjs +0 -2
- package/dist/chunk-O63GLLKH.cjs.map +0 -1
- package/dist/chunk-OFJ7WSSK.cjs +0 -2
- package/dist/chunk-OFJ7WSSK.cjs.map +0 -1
- package/dist/chunk-PFCKEVNT.cjs +0 -2
- package/dist/chunk-PFCKEVNT.cjs.map +0 -1
- package/dist/chunk-QE7SFMVD.cjs.map +0 -1
- package/dist/chunk-QEWR2ON7.js +0 -2
- package/dist/chunk-QEWR2ON7.js.map +0 -1
- package/dist/chunk-QUG4RSGO.cjs.map +0 -1
- package/dist/chunk-RSZBNTZ7.js +0 -2
- package/dist/chunk-RSZBNTZ7.js.map +0 -1
- package/dist/chunk-TKW3USYF.js +0 -2
- package/dist/chunk-TKW3USYF.js.map +0 -1
- package/dist/chunk-V63VK7GL.cjs +0 -2
- package/dist/chunk-V63VK7GL.cjs.map +0 -1
- package/dist/chunk-Z27JG5SL.js +0 -2
- package/dist/chunk-Z27JG5SL.js.map +0 -1
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.cjs +0 -2
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.cjs.map +0 -1
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.cjs +0 -2
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.cjs.map +0 -1
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.d.cts +0 -13
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.d.ts +0 -13
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.js +0 -2
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.d.cts +0 -11
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.d.ts +0 -11
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.js +0 -2
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.cjs +0 -1
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.cjs.map +0 -1
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.d.cts +0 -11
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.d.ts +0 -11
- package/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.js +0 -1
- package/dist/components/Fieldset/Fieldset.cjs +0 -2
- package/dist/components/Fieldset/Fieldset.cjs.map +0 -1
- package/dist/components/Fieldset/Fieldset.context.cjs +0 -2
- package/dist/components/Fieldset/Fieldset.context.cjs.map +0 -1
- package/dist/components/Fieldset/Fieldset.context.d.cts +0 -11
- package/dist/components/Fieldset/Fieldset.context.d.ts +0 -11
- package/dist/components/Fieldset/Fieldset.context.js +0 -2
- package/dist/components/Fieldset/Fieldset.js +0 -2
- package/dist/components/Fieldset/Fieldset.js.map +0 -1
- package/dist/components/Fieldset/Fieldset.props.cjs +0 -1
- package/dist/components/Fieldset/Fieldset.props.cjs.map +0 -1
- package/dist/components/Fieldset/Fieldset.props.js +0 -1
- package/dist/components/Fieldset/Fieldset.props.js.map +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.cjs.map +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.d.cts +0 -8
- package/dist/components/FieldsetLegend/FieldsetLegend.d.ts +0 -8
- package/dist/components/FieldsetLegend/FieldsetLegend.js +0 -2
- package/dist/components/FieldsetLegend/FieldsetLegend.js.map +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.props.cjs +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.props.cjs.map +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.props.d.cts +0 -8
- package/dist/components/FieldsetLegend/FieldsetLegend.props.d.ts +0 -8
- package/dist/components/FieldsetLegend/FieldsetLegend.props.js +0 -1
- package/dist/components/FieldsetLegend/FieldsetLegend.props.js.map +0 -1
- package/dist/components/Legend/Legend.cjs +0 -2
- package/dist/components/Legend/Legend.cjs.map +0 -1
- package/dist/components/Legend/Legend.js +0 -2
- package/dist/components/Legend/Legend.js.map +0 -1
- package/dist/components/Legend/Legend.props.cjs.map +0 -1
- /package/dist/{chunk-6BKRNOB3.js.map → chunk-GBMQ4HCH.js.map} +0 -0
- /package/dist/{chunk-Y7BOCUYW.js.map → chunk-HKCUTYXG.js.map} +0 -0
- /package/dist/{chunk-JOYUGBJ2.js.map → chunk-PG455XUN.js.map} +0 -0
- /package/dist/{chunk-YOH3OE2C.js.map → chunk-QGXYOTLB.js.map} +0 -0
- /package/dist/components/{CheckboxGroupBase/CheckboxGroupBase.context.js.map → CheckboxGroup/CheckboxGroup.context.js.map} +0 -0
- /package/dist/components/{CheckboxGroupBase/CheckboxGroupBase.js.map → FormGroupBase/FormGroupBase.context.js.map} +0 -0
- /package/dist/components/{CheckboxGroupBase/CheckboxGroupBase.props.js.map → FormGroupBase/FormGroupBase.js.map} +0 -0
- /package/dist/components/{Fieldset/Fieldset.context.js.map → FormGroupBase/FormGroupBase.props.js.map} +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.d.cts +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.d.ts +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.props.cjs +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.props.d.cts +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.props.d.ts +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.props.js +0 -0
- /package/dist/components/{Legend → FormGroupBase}/Legend.props.js.map +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Fieldset/Fieldset.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ElementRef } from 'react';\nimport { useIds } from '../../hooks/use-ids';\nimport { mergeIds } from '../../helpers/merge-ids';\nimport { Flex } from '../Flex/Flex';\nimport { HelperText } from '../HelperText/HelperText';\nimport { ValidationText } from '../ValidationText/ValidationText';\nimport clsx from 'clsx';\nimport type { FieldsetProps } from './Fieldset.props';\nimport { withGlobalPrefix } from '../../helpers/with-global-prefix';\nimport { extractProps } from '../../helpers/extract-props';\nimport { marginPropDefs } from '../../props/margin.props';\nimport { FieldsetProvider } from './Fieldset.context';\nimport { Legend } from '../Legend/Legend';\n\nconst componentName = 'Fieldset';\nconst componentClassName = withGlobalPrefix(componentName);\n\ntype FieldsetElement = ElementRef<'fieldset'>;\n\nexport const Fieldset = React.forwardRef<FieldsetElement, FieldsetProps>((props, ref) => {\n const {\n children,\n className,\n id: providedId,\n label,\n helperText,\n validationText,\n validationStatus,\n disabled,\n 'aria-labelledby': ariaLabelledby,\n 'aria-describedby': ariaDescribedby,\n 'aria-errormessage': ariaErrorMessage,\n ...fieldsetProps\n } = extractProps(props, marginPropDefs);\n const { id, labelId, helperTextId, validationTextId } = useIds({\n providedId,\n prefix: 'fieldset',\n });\n const hasLabel = Boolean(label);\n const hasHelperText = Boolean(helperText);\n const showValidationText = Boolean(validationStatus && validationText);\n const ariaDescribedbyValue = mergeIds(\n ariaDescribedby || !!helperText ? helperTextId : undefined,\n ariaErrorMessage || showValidationText ? validationTextId : undefined\n );\n const value = {\n hasGroupHelperText: hasHelperText,\n hasGroupValidationText: Boolean(validationStatus !== undefined && validationText !== undefined),\n 'aria-describedby': ariaDescribedbyValue,\n };\n\n return (\n <fieldset\n className={clsx(componentClassName, className)}\n ref={ref}\n {...fieldsetProps}\n disabled={disabled}\n id={id}\n data-disabled={disabled ? '' : undefined}\n aria-errormessage={ariaErrorMessage || showValidationText ? validationTextId : undefined}\n aria-labelledby={ariaLabelledby ?? (Boolean(label) ? labelId : undefined)}\n aria-invalid={showValidationText}\n aria-describedby={ariaDescribedbyValue}\n >\n {hasLabel ? (\n <>\n <Legend id={labelId}>{label}</Legend>\n {hasHelperText || showValidationText ? (\n <Flex direction=\"column\" alignItems=\"start\" className=\"hearth-HelperTextContainer\">\n {helperText ? (\n <HelperText id={helperTextId} disabled={disabled}>\n {helperText}\n </HelperText>\n ) : null}\n {showValidationText ? (\n <ValidationText id={validationTextId} status={validationStatus}>\n {validationText}\n </ValidationText>\n ) : null}\n </Flex>\n ) : null}\n </>\n ) : null}\n <FieldsetProvider value={value}>{children}</FieldsetProvider>\n </fieldset>\n );\n});\n\nFieldset.displayName = componentName;\n"],"mappings":"gZAAA,UAAYA,MAAW,QAOvB,OAAOC,MAAU,OAQjB,IAAMC,EAAgB,WAChBC,EAAqBC,EAAiBF,CAAa,EAI5CG,EAAiB,aAA2C,CAACC,EAAOC,IAAQ,CACvF,GAAM,CACJ,SAAAC,EACA,UAAAC,EACA,GAAIC,EACJ,MAAAC,EACA,WAAAC,EACA,eAAAC,EACA,iBAAAC,EACA,SAAAC,EACA,kBAAmBC,EACnB,mBAAoBC,EACpB,oBAAqBC,EACrB,GAAGC,CACL,EAAIC,EAAad,EAAOe,CAAc,EAChC,CAAE,GAAAC,EAAI,QAAAC,EAAS,aAAAC,EAAc,iBAAAC,CAAiB,EAAIC,EAAO,CAC7D,WAAAhB,EACA,OAAQ,UACV,CAAC,EACKiB,EAAW,EAAQhB,EACnBiB,EAAgB,EAAQhB,EACxBiB,EAAqB,GAAQf,GAAoBD,GACjDiB,EAAuBC,EAC3Bd,GAAqBL,EAAaY,EAAe,OACjDN,GAAoBW,EAAqBJ,EAAmB,MAC9D,EACMO,EAAQ,CACZ,mBAAoBJ,EACpB,uBAAgCd,IAAqB,QAAaD,IAAmB,OACrF,mBAAoBiB,CACtB,EAEA,OACE,gBAAC,YACC,UAAWG,EAAK9B,EAAoBM,CAAS,EAC7C,IAAKF,EACJ,GAAGY,EACJ,SAAUJ,EACV,GAAIO,EACJ,gBAAeP,EAAW,GAAK,OAC/B,oBAAmBG,GAAoBW,EAAqBJ,EAAmB,OAC/E,kBAAiBT,IAA2BL,EAASY,EAAU,QAC/D,eAAcM,EACd,mBAAkBC,GAEjBH,EACC,gCACE,gBAACO,EAAA,CAAO,GAAIX,GAAUZ,CAAM,EAC3BiB,GAAiBC,EAChB,gBAACM,EAAA,CAAK,UAAU,SAAS,WAAW,QAAQ,UAAU,8BACnDvB,EACC,gBAACwB,EAAA,CAAW,GAAIZ,EAAc,SAAUT,GACrCH,CACH,EACE,KACHiB,EACC,gBAACQ,EAAA,CAAe,GAAIZ,EAAkB,OAAQX,GAC3CD,CACH,EACE,IACN,EACE,IACN,EACE,KACJ,gBAACyB,EAAA,CAAiB,MAAON,GAAQxB,CAAS,CAC5C,CAEJ,CAAC,EAEDH,EAAS,YAAcH","names":["React","clsx","componentName","componentClassName","withGlobalPrefix","Fieldset","props","ref","children","className","providedId","label","helperText","validationText","validationStatus","disabled","ariaLabelledby","ariaDescribedby","ariaErrorMessage","fieldsetProps","extractProps","marginPropDefs","id","labelId","helperTextId","validationTextId","useIds","hasLabel","hasHelperText","showValidationText","ariaDescribedbyValue","mergeIds","value","clsx","Legend","Flex","HelperText","ValidationText","FieldsetProvider"]}
|
package/dist/chunk-V63VK7GL.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkLAVQWQP2cjs = require('./chunk-LAVQWQP2.cjs');var _chunk5DRU6TDWcjs = require('./chunk-5DRU6TDW.cjs');var _chunk4H5JT5ORcjs = require('./chunk-4H5JT5OR.cjs');var _react = require('react'); var e = _interopRequireWildcard(_react);var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var m="Legend",l=_chunk4H5JT5ORcjs.b.call(void 0, m),c= exports.a =e.forwardRef((n,p)=>{let{className:s,...a}=_chunk5DRU6TDWcjs.a.call(void 0, n,_chunkLAVQWQP2cjs.a);return e.createElement("legend",{ref:p,className:_clsx2.default.call(void 0, l,s),...a})});c.displayName=m;exports.a = c;
|
|
2
|
-
//# sourceMappingURL=chunk-V63VK7GL.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/chunk-V63VK7GL.cjs","../src/components/Legend/Legend.tsx"],"names":["componentName","componentClassName","withGlobalPrefix","Legend","props","ref","className","legendProps","extractProps","marginPropDefs","clsx"],"mappings":"AAAA,mfAAwC,wDAAyC,wDAAyC,uECAnG,wEAGN,IAOXA,CAAAA,CAAgB,QAAA,CAChBC,CAAAA,CAAqBC,iCAAAA,CAA8B,CAAA,CAI5CC,CAAAA,aAAe,CAAA,CAAA,UAAA,CAAuC,CAACC,CAAAA,CAAOC,CAAAA,CAAAA,EAAQ,CACjF,GAAM,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAY,CAAA,CAAIC,iCAAAA,CAAaJ,CAAOK,mBAAc,CAAA,CACxE,OAAO,CAAA,CAAA,aAAA,CAAC,QAAA,CAAA,CAAO,GAAA,CAAKJ,CAAAA,CAAK,SAAA,CAAWK,4BAAAA,CAAKT,CAAoBK,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAa,CAC5F,CAAC,CAAA,CAEDJ,CAAAA,CAAO,WAAA,CAAcH,CAAAA,CAAAA,cAAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/chunk-V63VK7GL.cjs","sourcesContent":[null,"import * as React from 'react';\nimport type { ElementRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { LegendProps } from './Legend.props';\nimport { withGlobalPrefix } from '../../helpers/with-global-prefix';\nimport { extractProps } from '../../helpers/extract-props';\nimport { marginPropDefs } from '../../props/margin.props';\n\nconst componentName = 'Legend';\nconst componentClassName = withGlobalPrefix(componentName);\n\ntype LegendElement = ElementRef<'legend'>;\n\nexport const Legend = React.forwardRef<LegendElement, LegendProps>((props, ref) => {\n const { className, ...legendProps } = extractProps(props, marginPropDefs);\n return <legend ref={ref} className={clsx(componentClassName, className)} {...legendProps} />;\n});\n\nLegend.displayName = componentName;\n"]}
|
package/dist/chunk-Z27JG5SL.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Fieldset/Fieldset.context.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nexport type FieldsetContextValue = {\n hasGroupHelperText: boolean;\n 'aria-describedby'?: string;\n};\n\nexport const FieldsetContext = createContext<FieldsetContextValue>({\n hasGroupHelperText: false,\n} as FieldsetContextValue);\n\nexport const FieldsetProvider = FieldsetContext.Provider;\n\nexport const useFieldset = () => useContext(FieldsetContext);\n"],"mappings":"AAAA,OAAS,iBAAAA,EAAe,cAAAC,MAAkB,QAOnC,IAAMC,EAAkBF,EAAoC,CACjE,mBAAoB,EACtB,CAAyB,EAEZG,EAAmBD,EAAgB,SAEnCE,EAAc,IAAMH,EAAWC,CAAe","names":["createContext","useContext","FieldsetContext","FieldsetProvider","useFieldset"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.cjs"],"names":[],"mappings":"AAAA,qIAAuC,oCAAiC,gDAA+B","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.cjs"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQUG4RSGOcjs = require('../../chunk-QUG4RSGO.cjs');exports.CheckboxGroupBaseContext = _chunkQUG4RSGOcjs.a; exports.CheckboxGroupBaseProvider = _chunkQUG4RSGOcjs.b; exports.useCheckboxGroupBase = _chunkQUG4RSGOcjs.c;
|
|
2
|
-
//# sourceMappingURL=CheckboxGroupBase.context.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.cjs"],"names":[],"mappings":"AAAA,qIAA2C,oKAA+F","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.context.cjs"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type CheckboxGroupBaseContextValue = {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: Array<string>;
|
|
6
|
-
onItemCheck(value: string): void;
|
|
7
|
-
onItemUncheck(value: string): void;
|
|
8
|
-
};
|
|
9
|
-
declare const CheckboxGroupBaseContext: React.Context<CheckboxGroupBaseContextValue | undefined>;
|
|
10
|
-
declare const CheckboxGroupBaseProvider: React.Provider<CheckboxGroupBaseContextValue | undefined>;
|
|
11
|
-
declare const useCheckboxGroupBase: () => CheckboxGroupBaseContextValue | undefined;
|
|
12
|
-
|
|
13
|
-
export { CheckboxGroupBaseContext, type CheckboxGroupBaseContextValue, CheckboxGroupBaseProvider, useCheckboxGroupBase };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type CheckboxGroupBaseContextValue = {
|
|
4
|
-
name?: string;
|
|
5
|
-
value?: Array<string>;
|
|
6
|
-
onItemCheck(value: string): void;
|
|
7
|
-
onItemUncheck(value: string): void;
|
|
8
|
-
};
|
|
9
|
-
declare const CheckboxGroupBaseContext: React.Context<CheckboxGroupBaseContextValue | undefined>;
|
|
10
|
-
declare const CheckboxGroupBaseProvider: React.Provider<CheckboxGroupBaseContextValue | undefined>;
|
|
11
|
-
declare const useCheckboxGroupBase: () => CheckboxGroupBaseContextValue | undefined;
|
|
12
|
-
|
|
13
|
-
export { CheckboxGroupBaseContext, type CheckboxGroupBaseContextValue, CheckboxGroupBaseProvider, useCheckboxGroupBase };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { CheckboxGroupBaseProps } from './CheckboxGroupBase.props.cjs';
|
|
4
|
-
import './CheckboxGroupBase.context.cjs';
|
|
5
|
-
|
|
6
|
-
declare const CheckboxGroupBase: {
|
|
7
|
-
({ name, defaultValue, value: valueProp, onValueChange, children, }: PropsWithChildren<CheckboxGroupBaseProps>): React.JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { CheckboxGroupBase };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { CheckboxGroupBaseProps } from './CheckboxGroupBase.props.js';
|
|
4
|
-
import './CheckboxGroupBase.context.js';
|
|
5
|
-
|
|
6
|
-
declare const CheckboxGroupBase: {
|
|
7
|
-
({ name, defaultValue, value: valueProp, onValueChange, children, }: PropsWithChildren<CheckboxGroupBaseProps>): React.JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { CheckboxGroupBase };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";//# sourceMappingURL=CheckboxGroupBase.props.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.cjs"],"names":[],"mappings":"AAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/CheckboxGroupBase/CheckboxGroupBase.props.cjs"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CheckboxGroupBaseContextValue } from './CheckboxGroupBase.context.cjs';
|
|
2
|
-
import 'react';
|
|
3
|
-
|
|
4
|
-
interface CheckboxGroupBaseProps {
|
|
5
|
-
name?: string;
|
|
6
|
-
defaultValue?: Array<string>;
|
|
7
|
-
value?: CheckboxGroupBaseContextValue['value'];
|
|
8
|
-
onValueChange?: (value: Array<string>) => void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type { CheckboxGroupBaseProps };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CheckboxGroupBaseContextValue } from './CheckboxGroupBase.context.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
|
|
4
|
-
interface CheckboxGroupBaseProps {
|
|
5
|
-
name?: string;
|
|
6
|
-
defaultValue?: Array<string>;
|
|
7
|
-
value?: CheckboxGroupBaseContextValue['value'];
|
|
8
|
-
onValueChange?: (value: Array<string>) => void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type { CheckboxGroupBaseProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=CheckboxGroupBase.props.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO63GLLKHcjs = require('../../chunk-O63GLLKH.cjs');require('../../chunk-TIOWEGWW.cjs');require('../../chunk-V63VK7GL.cjs');require('../../chunk-K5BEIZDA.cjs');require('../../chunk-PFCKEVNT.cjs');require('../../chunk-VRX67OL2.cjs');require('../../chunk-G3WGZ27Z.cjs');require('../../chunk-7TQMVZ2R.cjs');require('../../chunk-XZD2I4TZ.cjs');require('../../chunk-4JPGKPIU.cjs');require('../../chunk-6XA5OQRT.cjs');require('../../chunk-UICIKADY.cjs');require('../../chunk-3Q4XWRAL.cjs');require('../../chunk-SPWXYK7X.cjs');require('../../chunk-DCR54SDP.cjs');require('../../chunk-4VG5MYC3.cjs');require('../../chunk-LAVQWQP2.cjs');require('../../chunk-CXGQIXJR.cjs');require('../../chunk-76HQAMKU.cjs');require('../../chunk-SZO4CNE5.cjs');require('../../chunk-IYSVQSPG.cjs');require('../../chunk-TMWB3U4X.cjs');require('../../chunk-75BHPV4A.cjs');require('../../chunk-MT6VZWFA.cjs');require('../../chunk-GBMJ5JAI.cjs');require('../../chunk-LAITMUFB.cjs');require('../../chunk-H2TDV2BL.cjs');require('../../chunk-5DRU6TDW.cjs');require('../../chunk-3DNRI5YZ.cjs');require('../../chunk-4H5JT5OR.cjs');require('../../chunk-DPWOHAYD.cjs');require('../../chunk-AURLQ3VG.cjs');require('../../chunk-A4KDLDVY.cjs');require('../../chunk-DSW76HKT.cjs');require('../../chunk-JHPCQWHT.cjs');exports.Fieldset = _chunkO63GLLKHcjs.a;
|
|
2
|
-
//# sourceMappingURL=Fieldset.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.cjs"],"names":[],"mappings":"AAAA,qIAAuC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,uCAAsB","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.cjs"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkPFCKEVNTcjs = require('../../chunk-PFCKEVNT.cjs');exports.FieldsetContext = _chunkPFCKEVNTcjs.a; exports.FieldsetProvider = _chunkPFCKEVNTcjs.b; exports.useFieldset = _chunkPFCKEVNTcjs.c;
|
|
2
|
-
//# sourceMappingURL=Fieldset.context.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.context.cjs"],"names":[],"mappings":"AAAA,qIAA2C,yIAAoE","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.context.cjs"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type FieldsetContextValue = {
|
|
4
|
-
hasGroupHelperText: boolean;
|
|
5
|
-
'aria-describedby'?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const FieldsetContext: React.Context<FieldsetContextValue>;
|
|
8
|
-
declare const FieldsetProvider: React.Provider<FieldsetContextValue>;
|
|
9
|
-
declare const useFieldset: () => FieldsetContextValue;
|
|
10
|
-
|
|
11
|
-
export { FieldsetContext, type FieldsetContextValue, FieldsetProvider, useFieldset };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type FieldsetContextValue = {
|
|
4
|
-
hasGroupHelperText: boolean;
|
|
5
|
-
'aria-describedby'?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const FieldsetContext: React.Context<FieldsetContextValue>;
|
|
8
|
-
declare const FieldsetProvider: React.Provider<FieldsetContextValue>;
|
|
9
|
-
declare const useFieldset: () => FieldsetContextValue;
|
|
10
|
-
|
|
11
|
-
export { FieldsetContext, type FieldsetContextValue, FieldsetProvider, useFieldset };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-TKW3USYF.js";import"../../chunk-PJXMEG7B.js";import"../../chunk-BC7Y6MZO.js";import"../../chunk-JPYVWTDN.js";import"../../chunk-Z27JG5SL.js";import"../../chunk-35HZSCJP.js";import"../../chunk-HTXCYMDE.js";import"../../chunk-VBMXLPU5.js";import"../../chunk-6TDZE7FX.js";import"../../chunk-ZKJZGOS5.js";import"../../chunk-LFUFY26R.js";import"../../chunk-AFZ3OJUA.js";import"../../chunk-VV7AHCQF.js";import"../../chunk-BXITMQY6.js";import"../../chunk-V6DSC6VC.js";import"../../chunk-WOH4H47Z.js";import"../../chunk-XQ5A24NX.js";import"../../chunk-ND4U26VB.js";import"../../chunk-NMHPABLW.js";import"../../chunk-CJ2QDEW6.js";import"../../chunk-EUTKQ2DV.js";import"../../chunk-QC4ZMGCU.js";import"../../chunk-A7VLDNG7.js";import"../../chunk-RHACHKA5.js";import"../../chunk-NO5CYWTB.js";import"../../chunk-5LFE33FH.js";import"../../chunk-6D6OHJRG.js";import"../../chunk-RTGGS5XX.js";import"../../chunk-TOUF44PN.js";import"../../chunk-4PEMW3UE.js";import"../../chunk-FSK5FGWM.js";import"../../chunk-AJUKXCDS.js";import"../../chunk-TLHGRJDQ.js";import"../../chunk-DVGYWBKQ.js";import"../../chunk-4IJEOHER.js";export{a as Fieldset};
|
|
2
|
-
//# sourceMappingURL=Fieldset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";//# sourceMappingURL=Fieldset.props.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.props.cjs"],"names":[],"mappings":"AAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/Fieldset/Fieldset.props.cjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Fieldset.props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/FieldsetLegend/FieldsetLegend.cjs","../../../src/components/FieldsetLegend/FieldsetLegend.tsx"],"names":["componentName","componentClassName","withGlobalPrefix","FieldsetLegend","props","ref","className","legendProps","extractProps","marginPropDefs","clsx"],"mappings":"AAAA,ufAA4C,oCAAiC,4DAA6C,oCAAiC,4DAA6C,oCAAiC,oCAAiC,oCAAiC,oCAAiC,uECArT,wEAGN,IAOXA,CAAAA,CAAgB,gBAAA,CAChBC,CAAAA,CAAqBC,iCAAAA,CAA8B,CAAA,CAI5CC,CAAAA,0BAAuB,CAAA,CAAA,UAAA,CAClC,CAACC,CAAAA,CAAOC,CAAAA,CAAAA,EAAQ,CACd,GAAM,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAY,CAAA,CAAIC,iCAAAA,CAAaJ,CAAOK,mBAAc,CAAA,CACxE,OAAO,CAAA,CAAA,aAAA,CAAC,QAAA,CAAA,CAAO,GAAA,CAAKJ,CAAAA,CAAK,SAAA,CAAWK,4BAAAA,CAAKT,CAAoBK,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAa,CAC5F,CACF,CAAA,CAEAJ,CAAAA,CAAe,WAAA,CAAcH,CAAAA,CAAAA,2BAAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/FieldsetLegend/FieldsetLegend.cjs","sourcesContent":[null,"import * as React from 'react';\nimport type { ElementRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { FieldsetLegendProps } from './FieldsetLegend.props';\nimport { withGlobalPrefix } from '../../helpers/with-global-prefix';\nimport { extractProps } from '../../helpers/extract-props';\nimport { marginPropDefs } from '../../props/margin.props';\n\nconst componentName = 'FieldsetLegend';\nconst componentClassName = withGlobalPrefix(componentName);\n\ntype FieldsetLegendElement = ElementRef<'legend'>;\n\nexport const FieldsetLegend = React.forwardRef<FieldsetLegendElement, FieldsetLegendProps>(\n (props, ref) => {\n const { className, ...legendProps } = extractProps(props, marginPropDefs);\n return <legend ref={ref} className={clsx(componentClassName, className)} {...legendProps} />;\n }\n);\n\nFieldsetLegend.displayName = componentName;\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MarginProps } from '../../props/margin.props.cjs';
|
|
2
|
-
import { ComponentPropsWithout, RemovedProps } from '../../types/component-props.cjs';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import '../../types/responsive.cjs';
|
|
5
|
-
|
|
6
|
-
declare const FieldsetLegend: React.ForwardRefExoticComponent<ComponentPropsWithout<"legend", RemovedProps> & MarginProps & React.RefAttributes<HTMLLegendElement>>;
|
|
7
|
-
|
|
8
|
-
export { FieldsetLegend };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MarginProps } from '../../props/margin.props.js';
|
|
2
|
-
import { ComponentPropsWithout, RemovedProps } from '../../types/component-props.js';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import '../../types/responsive.js';
|
|
5
|
-
|
|
6
|
-
declare const FieldsetLegend: React.ForwardRefExoticComponent<ComponentPropsWithout<"legend", RemovedProps> & MarginProps & React.RefAttributes<HTMLLegendElement>>;
|
|
7
|
-
|
|
8
|
-
export { FieldsetLegend };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as r}from"../../chunk-XQ5A24NX.js";import"../../chunk-NMHPABLW.js";import{a as o}from"../../chunk-RTGGS5XX.js";import"../../chunk-TOUF44PN.js";import{b as t}from"../../chunk-4PEMW3UE.js";import"../../chunk-FSK5FGWM.js";import"../../chunk-AJUKXCDS.js";import"../../chunk-TLHGRJDQ.js";import"../../chunk-4IJEOHER.js";import*as e from"react";import a from"clsx";var m="FieldsetLegend",d=t(m),i=e.forwardRef((s,n)=>{let{className:l,...p}=o(s,r);return e.createElement("legend",{ref:n,className:a(d,l),...p})});i.displayName=m;export{i as FieldsetLegend};
|
|
2
|
-
//# sourceMappingURL=FieldsetLegend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/FieldsetLegend/FieldsetLegend.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { ElementRef } from 'react';\n\nimport clsx from 'clsx';\n\nimport { FieldsetLegendProps } from './FieldsetLegend.props';\nimport { withGlobalPrefix } from '../../helpers/with-global-prefix';\nimport { extractProps } from '../../helpers/extract-props';\nimport { marginPropDefs } from '../../props/margin.props';\n\nconst componentName = 'FieldsetLegend';\nconst componentClassName = withGlobalPrefix(componentName);\n\ntype FieldsetLegendElement = ElementRef<'legend'>;\n\nexport const FieldsetLegend = React.forwardRef<FieldsetLegendElement, FieldsetLegendProps>(\n (props, ref) => {\n const { className, ...legendProps } = extractProps(props, marginPropDefs);\n return <legend ref={ref} className={clsx(componentClassName, className)} {...legendProps} />;\n }\n);\n\nFieldsetLegend.displayName = componentName;\n"],"mappings":"oUAAA,UAAYA,MAAW,QAGvB,OAAOC,MAAU,OAOjB,IAAMC,EAAgB,iBAChBC,EAAqBC,EAAiBF,CAAa,EAI5CG,EAAuB,aAClC,CAACC,EAAOC,IAAQ,CACd,GAAM,CAAE,UAAAC,EAAW,GAAGC,CAAY,EAAIC,EAAaJ,EAAOK,CAAc,EACxE,OAAO,gBAAC,UAAO,IAAKJ,EAAK,UAAWK,EAAKT,EAAoBK,CAAS,EAAI,GAAGC,EAAa,CAC5F,CACF,EAEAJ,EAAe,YAAcH","names":["React","clsx","componentName","componentClassName","withGlobalPrefix","FieldsetLegend","props","ref","className","legendProps","extractProps","marginPropDefs","clsx"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";//# sourceMappingURL=FieldsetLegend.props.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/FieldsetLegend/FieldsetLegend.props.cjs"],"names":[],"mappings":"AAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/FieldsetLegend/FieldsetLegend.props.cjs"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MarginProps } from '../../props/margin.props.cjs';
|
|
2
|
-
import { ComponentPropsWithout, RemovedProps } from '../../types/component-props.cjs';
|
|
3
|
-
import '../../types/responsive.cjs';
|
|
4
|
-
import 'react';
|
|
5
|
-
|
|
6
|
-
type FieldsetLegendProps = ComponentPropsWithout<'legend', RemovedProps> & MarginProps;
|
|
7
|
-
|
|
8
|
-
export type { FieldsetLegendProps };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MarginProps } from '../../props/margin.props.js';
|
|
2
|
-
import { ComponentPropsWithout, RemovedProps } from '../../types/component-props.js';
|
|
3
|
-
import '../../types/responsive.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
|
|
6
|
-
type FieldsetLegendProps = ComponentPropsWithout<'legend', RemovedProps> & MarginProps;
|
|
7
|
-
|
|
8
|
-
export type { FieldsetLegendProps };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=FieldsetLegend.props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkV63VK7GLcjs = require('../../chunk-V63VK7GL.cjs');require('../../chunk-LAVQWQP2.cjs');require('../../chunk-76HQAMKU.cjs');require('../../chunk-5DRU6TDW.cjs');require('../../chunk-3DNRI5YZ.cjs');require('../../chunk-4H5JT5OR.cjs');require('../../chunk-DPWOHAYD.cjs');require('../../chunk-AURLQ3VG.cjs');require('../../chunk-A4KDLDVY.cjs');require('../../chunk-JHPCQWHT.cjs');exports.Legend = _chunkV63VK7GLcjs.a;
|
|
2
|
-
//# sourceMappingURL=Legend.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/Legend/Legend.cjs"],"names":[],"mappings":"AAAA,qIAAuC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,oCAAiC,qCAAoB","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/Legend/Legend.cjs"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-BC7Y6MZO.js";import"../../chunk-XQ5A24NX.js";import"../../chunk-NMHPABLW.js";import"../../chunk-RTGGS5XX.js";import"../../chunk-TOUF44PN.js";import"../../chunk-4PEMW3UE.js";import"../../chunk-FSK5FGWM.js";import"../../chunk-AJUKXCDS.js";import"../../chunk-TLHGRJDQ.js";import"../../chunk-4IJEOHER.js";export{a as Legend};
|
|
2
|
-
//# sourceMappingURL=Legend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/hearth/hearth/packages/react/dist/components/Legend/Legend.props.cjs"],"names":[],"mappings":"AAAA","file":"/home/runner/work/hearth/hearth/packages/react/dist/components/Legend/Legend.props.cjs"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|