@neo4j-ndl/react 4.24.1 → 4.25.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/lib/cjs/_common/form-control/FormFieldLabel.js +1 -1
- package/lib/cjs/_common/form-control/FormFieldLabel.js.map +1 -1
- package/lib/cjs/_common/form-control/FormFieldMessage.js +1 -1
- package/lib/cjs/_common/form-control/FormFieldMessage.js.map +1 -1
- package/lib/cjs/_common/form-control/form-control-types.js +1 -1
- package/lib/cjs/_common/form-control/form-control-types.js.map +1 -1
- package/lib/cjs/_common/form-control/form-field-group-context.js +32 -0
- package/lib/cjs/_common/form-control/form-field-group-context.js.map +1 -0
- package/lib/cjs/_common/form-control/index.js +5 -2
- package/lib/cjs/_common/form-control/index.js.map +1 -1
- package/lib/cjs/_common/form-control/use-form-field.js +1 -1
- package/lib/cjs/_common/form-control/use-form-field.js.map +1 -1
- package/lib/cjs/_common/form-control/use-inline-field-label.js +1 -1
- package/lib/cjs/_common/form-control/use-inline-field-label.js.map +1 -1
- package/lib/cjs/_generated/style-rules/color-utils.js +1 -1
- package/lib/cjs/_generated/style-rules/numeric-utils.js +1 -1
- package/lib/cjs/accordion/accordion-types.js +1 -1
- package/lib/cjs/announcement-banner/AnnouncementBanner.js +1 -1
- package/lib/cjs/announcement-banner/AnnouncementBanner.js.map +1 -1
- package/lib/cjs/announcement-banner/index.js +1 -1
- package/lib/cjs/announcement-banner/index.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-closeable.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-closeable.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-default.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-default.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-actions.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-actions.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
- package/lib/cjs/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
- package/lib/cjs/announcement-banner/stories/index.js +1 -1
- package/lib/cjs/announcement-banner/stories/index.js.map +1 -1
- package/lib/cjs/box/Box.js +1 -1
- package/lib/cjs/checkbox/Checkbox.js +6 -3
- package/lib/cjs/checkbox/Checkbox.js.map +1 -1
- package/lib/cjs/checkbox-group/CheckboxGroup.js +52 -0
- package/lib/cjs/checkbox-group/CheckboxGroup.js.map +1 -0
- package/lib/cjs/checkbox-group/index.js +26 -0
- package/lib/cjs/checkbox-group/index.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-default.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-default.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-disabled.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-disabled.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-error.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-error.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-optional.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-optional.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-required.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-required.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-visually-hidden-label.story.js +30 -0
- package/lib/cjs/checkbox-group/stories/checkbox-group-visually-hidden-label.story.js.map +1 -0
- package/lib/cjs/checkbox-group/stories/index.js +52 -0
- package/lib/cjs/checkbox-group/stories/index.js.map +1 -0
- package/lib/cjs/clean-icon-button/CleanIconButton.js +1 -1
- package/lib/cjs/data-grid/DataGrid.js +1 -1
- package/lib/cjs/data-grid/data-grid-context.js +1 -1
- package/lib/cjs/data-grid/data-grid-nav/index.js +1 -1
- package/lib/cjs/data-grid/helpers/index.js +1 -1
- package/lib/cjs/data-grid/stories/staticData.js +1 -1
- package/lib/cjs/dialog/Dialog.js +8 -9
- package/lib/cjs/dialog/Dialog.js.map +1 -1
- package/lib/cjs/dismissible-tag/DismissibleTag.js +1 -1
- package/lib/cjs/fieldset/Fieldset.js +78 -0
- package/lib/cjs/fieldset/Fieldset.js.map +1 -0
- package/lib/cjs/fieldset/index.js +26 -0
- package/lib/cjs/fieldset/index.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-default.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-default.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-disabled.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-disabled.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-error.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-error.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-optional.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-optional.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-required.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-required.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/fieldset-visually-hidden-label.story.js +30 -0
- package/lib/cjs/fieldset/stories/fieldset-visually-hidden-label.story.js.map +1 -0
- package/lib/cjs/fieldset/stories/index.js +52 -0
- package/lib/cjs/fieldset/stories/index.js.map +1 -0
- package/lib/cjs/filled-button/FilledButton.js +1 -1
- package/lib/cjs/icon-button/IconButton.js +1 -1
- package/lib/cjs/icons/generated/custom/FloppyDiskArrowTopRight.js +1 -1
- package/lib/cjs/icons/generated/custom/FloppyDiskArrowTopRight.js.map +1 -1
- package/lib/cjs/index.js +8 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/kbd/kbd-utils.js +1 -1
- package/lib/cjs/logo/Logo.js +1 -1
- package/lib/cjs/outlined-button/OutlinedButton.js +1 -1
- package/lib/cjs/radio/Radio.js +16 -3
- package/lib/cjs/radio/Radio.js.map +1 -1
- package/lib/cjs/radio-group/RadioGroup.js +62 -0
- package/lib/cjs/radio-group/RadioGroup.js.map +1 -0
- package/lib/cjs/radio-group/index.js +26 -0
- package/lib/cjs/radio-group/index.js.map +1 -0
- package/lib/cjs/radio-group/stories/index.js +60 -0
- package/lib/cjs/radio-group/stories/index.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-controlled.story.js +32 -0
- package/lib/cjs/radio-group/stories/radio-group-controlled.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-default.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-default.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-disabled.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-disabled.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-error.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-error.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-horizontal.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-horizontal.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-optional.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-optional.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-required.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-required.story.js.map +1 -0
- package/lib/cjs/radio-group/stories/radio-group-visually-hidden-label.story.js +30 -0
- package/lib/cjs/radio-group/stories/radio-group-visually-hidden-label.story.js.map +1 -0
- package/lib/cjs/read-only-tag/ReadOnlyTag.js +1 -1
- package/lib/cjs/select/types.js +1 -1
- package/lib/cjs/spotlight/SpotlightTour.js +1 -1
- package/lib/cjs/text-button/TextButton.js +1 -1
- package/lib/cjs/tree-view/TreeViewItem.js +1 -1
- package/lib/cjs/tree-view/TreeViewTextItem.js +1 -1
- package/lib/cjs/tree-view/TreeViewTrail.js +1 -1
- package/lib/cjs/tree-view/tree-view-types.js +1 -1
- package/lib/cjs/tree-view/tree-view-utils.js +1 -1
- package/lib/cjs/typography/Typography.js +1 -1
- package/lib/esm/_common/form-control/FormFieldLabel.js +1 -1
- package/lib/esm/_common/form-control/FormFieldLabel.js.map +1 -1
- package/lib/esm/_common/form-control/FormFieldMessage.js +1 -1
- package/lib/esm/_common/form-control/FormFieldMessage.js.map +1 -1
- package/lib/esm/_common/form-control/form-control-types.js +1 -1
- package/lib/esm/_common/form-control/form-control-types.js.map +1 -1
- package/lib/esm/_common/form-control/form-field-group-context.js +28 -0
- package/lib/esm/_common/form-control/form-field-group-context.js.map +1 -0
- package/lib/esm/_common/form-control/index.js +2 -1
- package/lib/esm/_common/form-control/index.js.map +1 -1
- package/lib/esm/_common/form-control/use-form-field.js +1 -1
- package/lib/esm/_common/form-control/use-form-field.js.map +1 -1
- package/lib/esm/_common/form-control/use-inline-field-label.js +1 -1
- package/lib/esm/_common/form-control/use-inline-field-label.js.map +1 -1
- package/lib/esm/_generated/style-rules/color-utils.js +1 -1
- package/lib/esm/_generated/style-rules/numeric-utils.js +1 -1
- package/lib/esm/accordion/accordion-types.js +1 -1
- package/lib/esm/announcement-banner/AnnouncementBanner.js +1 -1
- package/lib/esm/announcement-banner/AnnouncementBanner.js.map +1 -1
- package/lib/esm/announcement-banner/index.js +1 -1
- package/lib/esm/announcement-banner/index.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-closeable.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-closeable.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-custom-icons.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-default.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-default.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-non-urgent.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-injected-urgent.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-present-at-page-render.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-variants.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-actions.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-actions.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js +1 -1
- package/lib/esm/announcement-banner/stories/announcement-banner-with-page-content.story.js.map +1 -1
- package/lib/esm/announcement-banner/stories/index.js +1 -1
- package/lib/esm/announcement-banner/stories/index.js.map +1 -1
- package/lib/esm/box/Box.js +1 -1
- package/lib/esm/checkbox/Checkbox.js +7 -4
- package/lib/esm/checkbox/Checkbox.js.map +1 -1
- package/lib/esm/checkbox-group/CheckboxGroup.js +49 -0
- package/lib/esm/checkbox-group/CheckboxGroup.js.map +1 -0
- package/lib/esm/checkbox-group/index.js +22 -0
- package/lib/esm/checkbox-group/index.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-default.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-default.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-disabled.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-disabled.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-error.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-error.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-optional.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-optional.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-required.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-required.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-visually-hidden-label.story.js +28 -0
- package/lib/esm/checkbox-group/stories/checkbox-group-visually-hidden-label.story.js.map +1 -0
- package/lib/esm/checkbox-group/stories/index.js +40 -0
- package/lib/esm/checkbox-group/stories/index.js.map +1 -0
- package/lib/esm/clean-icon-button/CleanIconButton.js +1 -1
- package/lib/esm/data-grid/DataGrid.js +1 -1
- package/lib/esm/data-grid/data-grid-context.js +1 -1
- package/lib/esm/data-grid/data-grid-nav/index.js +1 -1
- package/lib/esm/data-grid/helpers/index.js +1 -1
- package/lib/esm/data-grid/stories/staticData.js +1 -1
- package/lib/esm/dialog/Dialog.js +8 -9
- package/lib/esm/dialog/Dialog.js.map +1 -1
- package/lib/esm/dismissible-tag/DismissibleTag.js +1 -1
- package/lib/esm/fieldset/Fieldset.js +71 -0
- package/lib/esm/fieldset/Fieldset.js.map +1 -0
- package/lib/esm/fieldset/index.js +22 -0
- package/lib/esm/fieldset/index.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-default.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-default.story.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-disabled.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-disabled.story.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-error.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-error.story.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-optional.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-optional.story.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-required.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-required.story.js.map +1 -0
- package/lib/esm/fieldset/stories/fieldset-visually-hidden-label.story.js +28 -0
- package/lib/esm/fieldset/stories/fieldset-visually-hidden-label.story.js.map +1 -0
- package/lib/esm/fieldset/stories/index.js +40 -0
- package/lib/esm/fieldset/stories/index.js.map +1 -0
- package/lib/esm/filled-button/FilledButton.js +1 -1
- package/lib/esm/icon-button/IconButton.js +1 -1
- package/lib/esm/icons/generated/custom/FloppyDiskArrowTopRight.js +1 -1
- package/lib/esm/icons/generated/custom/FloppyDiskArrowTopRight.js.map +1 -1
- package/lib/esm/index.js +3 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/kbd/kbd-utils.js +1 -1
- package/lib/esm/logo/Logo.js +1 -1
- package/lib/esm/outlined-button/OutlinedButton.js +1 -1
- package/lib/esm/radio/Radio.js +17 -4
- package/lib/esm/radio/Radio.js.map +1 -1
- package/lib/esm/radio-group/RadioGroup.js +59 -0
- package/lib/esm/radio-group/RadioGroup.js.map +1 -0
- package/lib/esm/radio-group/index.js +22 -0
- package/lib/esm/radio-group/index.js.map +1 -0
- package/lib/esm/radio-group/stories/index.js +46 -0
- package/lib/esm/radio-group/stories/index.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-controlled.story.js +30 -0
- package/lib/esm/radio-group/stories/radio-group-controlled.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-default.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-default.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-disabled.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-disabled.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-error.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-error.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-horizontal.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-horizontal.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-optional.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-optional.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-required.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-required.story.js.map +1 -0
- package/lib/esm/radio-group/stories/radio-group-visually-hidden-label.story.js +28 -0
- package/lib/esm/radio-group/stories/radio-group-visually-hidden-label.story.js.map +1 -0
- package/lib/esm/read-only-tag/ReadOnlyTag.js +1 -1
- package/lib/esm/select/types.js +1 -1
- package/lib/esm/spotlight/SpotlightTour.js +1 -1
- package/lib/esm/text-button/TextButton.js +1 -1
- package/lib/esm/tree-view/TreeViewItem.js +1 -1
- package/lib/esm/tree-view/TreeViewTextItem.js +1 -1
- package/lib/esm/tree-view/TreeViewTrail.js +1 -1
- package/lib/esm/tree-view/tree-view-types.js +1 -1
- package/lib/esm/tree-view/tree-view-utils.js +1 -1
- package/lib/esm/typography/Typography.js +1 -1
- package/lib/types/_common/ButtonSpinner.d.ts +1 -1
- package/lib/types/_common/TruncatedTextWithTooltip.d.ts +1 -1
- package/lib/types/_common/form-control/FormFieldLabel.d.ts +1 -1
- package/lib/types/_common/form-control/FormFieldMessage.d.ts +1 -1
- package/lib/types/_common/form-control/form-control-types.d.ts +1 -1
- package/lib/types/_common/form-control/form-field-group-context.d.ts +36 -0
- package/lib/types/_common/form-control/form-field-group-context.d.ts.map +1 -0
- package/lib/types/_common/form-control/index.d.ts +2 -1
- package/lib/types/_common/form-control/index.d.ts.map +1 -1
- package/lib/types/_common/form-control/use-form-field.d.ts +1 -1
- package/lib/types/_common/form-control/use-inline-field-label.d.ts +1 -1
- package/lib/types/_common/utils.d.ts +1 -1
- package/lib/types/_generated/style-rules/date-utils.d.ts +1 -1
- package/lib/types/_generated/style-rules/range-utils.d.ts +1 -1
- package/lib/types/accordion/Accordion.d.ts +1 -1
- package/lib/types/accordion/accordion-context.d.ts +1 -1
- package/lib/types/ai/response/stories/response-all-components.story.d.ts +1 -1
- package/lib/types/ai/response/stories/response-code-examples.story.d.ts +1 -1
- package/lib/types/ai/response/stories/response-full-example.story.d.ts +1 -1
- package/lib/types/ai/response/stories/response-headings.story.d.ts +1 -1
- package/lib/types/ai/response/stories/response-lists.story.d.ts +1 -1
- package/lib/types/announcement-banner/AnnouncementBanner.d.ts +1 -1
- package/lib/types/announcement-banner/index.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-closeable.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-custom-icons.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-default.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-injected-non-urgent.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-injected-urgent.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-present-at-page-render.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-variants.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-with-actions.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/announcement-banner-with-page-content.story.d.ts +1 -1
- package/lib/types/announcement-banner/stories/index.d.ts +1 -1
- package/lib/types/avatar/Avatar.d.ts +1 -1
- package/lib/types/banner/Banner.d.ts +1 -1
- package/lib/types/button/ButtonBase.d.ts +1 -1
- package/lib/types/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/types/checkbox-group/CheckboxGroup.d.ts +40 -0
- package/lib/types/checkbox-group/CheckboxGroup.d.ts.map +1 -0
- package/lib/types/checkbox-group/index.d.ts +22 -0
- package/lib/types/checkbox-group/index.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-default.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-default.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-disabled.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-disabled.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-error.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-error.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-optional.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-optional.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-required.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-required.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/checkbox-group-visually-hidden-label.story.d.ts +24 -0
- package/lib/types/checkbox-group/stories/checkbox-group-visually-hidden-label.story.d.ts.map +1 -0
- package/lib/types/checkbox-group/stories/index.d.ts +33 -0
- package/lib/types/checkbox-group/stories/index.d.ts.map +1 -0
- package/lib/types/code-block/CodeBlock.d.ts +1 -1
- package/lib/types/combobox/use-combobox-popover.d.ts +1 -1
- package/lib/types/data-grid/Components.d.ts +1 -1
- package/lib/types/data-grid/data-grid-nav/data-grid-nav.d.ts +1 -1
- package/lib/types/date-picker/DatePicker.d.ts +1 -1
- package/lib/types/dialog/Dialog.d.ts +1 -1
- package/lib/types/dialog/Dialog.d.ts.map +1 -1
- package/lib/types/divider/Divider.d.ts +1 -1
- package/lib/types/dropdown-button/DropdownButton.d.ts +1 -1
- package/lib/types/dropzone/Dropzone.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-csv-files.story.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-custom-extensions.story.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-default.story.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-disabled.story.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-full.story.d.ts +1 -1
- package/lib/types/dropzone/stories/dropzone-loading-progress.story.d.ts +1 -1
- package/lib/types/fieldset/Fieldset.d.ts +59 -0
- package/lib/types/fieldset/Fieldset.d.ts.map +1 -0
- package/lib/types/fieldset/index.d.ts +22 -0
- package/lib/types/fieldset/index.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-default.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-default.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-disabled.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-disabled.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-error.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-error.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-optional.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-optional.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-required.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-required.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/fieldset-visually-hidden-label.story.d.ts +24 -0
- package/lib/types/fieldset/stories/fieldset-visually-hidden-label.story.d.ts.map +1 -0
- package/lib/types/fieldset/stories/index.d.ts +33 -0
- package/lib/types/fieldset/stories/index.d.ts.map +1 -0
- package/lib/types/graph-label/GraphLabel.d.ts +1 -1
- package/lib/types/graph-label/color.d.ts +1 -1
- package/lib/types/hooks/index.d.ts +1 -1
- package/lib/types/icon-button-array/IconButtonArray.d.ts +1 -1
- package/lib/types/icon-button-base/IconButtonBase.d.ts +1 -1
- package/lib/types/icons/generated/custom/FloppyDiskArrowTopRight.d.ts +1 -1
- package/lib/types/icons/manual/Neo4JAiColor.d.ts +1 -1
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/inline-edit/InlineEdit.d.ts +1 -1
- package/lib/types/kbd/Kbd.d.ts +1 -1
- package/lib/types/loading-bar/LoadingBar.d.ts +1 -1
- package/lib/types/loading-spinner/LoadingSpinner.d.ts +1 -1
- package/lib/types/menu/Menu.d.ts +1 -1
- package/lib/types/modal/Modal.d.ts +1 -1
- package/lib/types/portal/Portal.d.ts +1 -1
- package/lib/types/progress-bar/ProgressBar.d.ts +1 -1
- package/lib/types/radio/Radio.d.ts +2 -2
- package/lib/types/radio/Radio.d.ts.map +1 -1
- package/lib/types/radio-group/RadioGroup.d.ts +50 -0
- package/lib/types/radio-group/RadioGroup.d.ts.map +1 -0
- package/lib/types/radio-group/index.d.ts +22 -0
- package/lib/types/radio-group/index.d.ts.map +1 -0
- package/lib/types/radio-group/stories/index.d.ts +37 -0
- package/lib/types/radio-group/stories/index.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-controlled.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-controlled.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-default.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-default.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-disabled.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-disabled.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-error.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-error.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-horizontal.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-horizontal.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-optional.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-optional.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-required.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-required.story.d.ts.map +1 -0
- package/lib/types/radio-group/stories/radio-group-visually-hidden-label.story.d.ts +24 -0
- package/lib/types/radio-group/stories/radio-group-visually-hidden-label.story.d.ts.map +1 -0
- package/lib/types/segmented-control/SegmentedControl.d.ts +1 -1
- package/lib/types/select/Select.d.ts +1 -1
- package/lib/types/select-icon-button/SelectIconButton.d.ts +1 -1
- package/lib/types/selectable-tag/SelectableTag.d.ts +1 -1
- package/lib/types/skeleton/Skeleton.d.ts +1 -1
- package/lib/types/slider/Slider.d.ts +1 -1
- package/lib/types/slider/stories/slider-custom-step-length.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-default.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-disabled.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-range.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-show-steps.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-show-values.story.d.ts +1 -1
- package/lib/types/slider/stories/slider-single.story.d.ts +1 -1
- package/lib/types/spotlight/Spotlight.d.ts +1 -1
- package/lib/types/spotlight/SpotlightProvider.d.ts +1 -1
- package/lib/types/spotlight/SpotlightTarget.d.ts +1 -1
- package/lib/types/status-indicator/StatusIndicator.d.ts +1 -1
- package/lib/types/status-label/StatusLabel.d.ts +1 -1
- package/lib/types/tabs/Tabs.d.ts +1 -1
- package/lib/types/tabs/use-tabs-scroll-overflow.d.ts +1 -1
- package/lib/types/tag/Tag.d.ts +1 -1
- package/lib/types/tag-base/TagBase.d.ts +1 -1
- package/lib/types/text-area/TextArea.d.ts +1 -1
- package/lib/types/text-link/TextLink.d.ts +1 -1
- package/lib/types/text-overflow/TextOverflow.d.ts +1 -1
- package/lib/types/theme/ThemeProvider.d.ts +1 -1
- package/lib/types/theme/agnostic.d.ts +1 -1
- package/lib/types/time-picker/TimePicker.d.ts +1 -1
- package/lib/types/time-picker/time-picker-hooks.d.ts +1 -1
- package/lib/types/timezone-picker/TimeZonePicker.d.ts +1 -1
- package/lib/types/timezone-picker/timezone-picker-hooks.d.ts +1 -1
- package/lib/types/toast/Toast.d.ts +1 -1
- package/lib/types/toast/ToastControlled.d.ts +1 -1
- package/lib/types/tree-view/TreeItemWrapper.d.ts +1 -1
- package/lib/types/tree-view/tree-view-keyboard-helpers.d.ts +1 -1
- package/lib/types/typography/stories/typography-anchor.story.d.ts +1 -1
- package/lib/types/wizard/Wizard.d.ts +1 -1
- package/package.json +17 -2
- package/skills/ndl-react/SKILL.md +5 -2
- package/skills/ndl-react/components/checkbox-group.md +195 -0
- package/skills/ndl-react/components/fieldset.md +235 -0
- package/skills/ndl-react/components/radio-group.md +259 -0
- package/skills/ndl-react/components/radio.md +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup, Typography } from '@neo4j-ndl/react';
|
|
24
|
+
import { useState } from 'react';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
const [projectSize, setProjectSize] = useState('medium');
|
|
27
|
+
return (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '16px' }, children: [_jsxs(RadioGroup, { label: "Default project size", name: "project-size", value: projectSize, onChange: setProjectSize, children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium" }), _jsx(Radio, { label: "Large", value: "large" })] }), _jsxs(Typography, { variant: "body-medium", children: ["Selected: ", projectSize] })] }));
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
30
|
+
//# sourceMappingURL=radio-group-controlled.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-controlled.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-controlled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEzD,OAAO,CACL,eAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,aACnE,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,cAAc,EACnB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,cAAc,aAExB,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,GAAG,EACvC,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,EACb,MAAC,UAAU,IAAC,OAAO,EAAC,aAAa,2BAAY,WAAW,IAAc,IAClE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup, Typography } from '@neo4j-ndl/react';\nimport { useState } from 'react';\n\nconst Component = () => {\n const [projectSize, setProjectSize] = useState('medium');\n\n return (\n <div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size\"\n value={projectSize}\n onChange={setProjectSize}\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n <Typography variant=\"body-medium\">Selected: {projectSize}</Typography>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size", helpText: "Choose the size used for new projects.", children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-default.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,cAAc,EACnB,QAAQ,EAAC,wCAAwC,aAEjD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size\"\n helpText=\"Choose the size used for new projects.\"\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size-disabled", isDisabled: true, children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-disabled.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-disabled.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-disabled.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,uBAAuB,EAC5B,UAAU,mBAEV,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size-disabled\"\n isDisabled\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size-error", errorText: "Select a project size.", children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-error.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-error.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-error.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,oBAAoB,EACzB,SAAS,EAAC,wBAAwB,aAElC,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size-error\"\n errorText=\"Select a project size.\"\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size", helpText: "Choose the size used for new projects.", orientation: "horizontal", children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-horizontal.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-horizontal.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-horizontal.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,cAAc,EACnB,QAAQ,EAAC,wCAAwC,EACjD,WAAW,EAAC,YAAY,aAExB,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size\"\n helpText=\"Choose the size used for new projects.\"\n orientation=\"horizontal\"\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size-optional", hasRequiredIndicator: true, children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-optional.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-optional.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-optional.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,uBAAuB,EAC5B,oBAAoB,mBAEpB,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size-optional\"\n hasRequiredIndicator\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsxs(RadioGroup, { label: "Default project size", name: "project-size-required", hasRequiredIndicator: true, isRequired: true, children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-required.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-required.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-required.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,uBAAuB,EAC5B,oBAAoB,QACpB,UAAU,mBAEV,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size-required\"\n hasRequiredIndicator\n isRequired\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/*!
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { Radio, RadioGroup } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(_Fragment, { children: _jsxs(RadioGroup, { label: "Default project size", name: "project-size-hidden", hasVisuallyHiddenLabel: true, children: [_jsx(Radio, { label: "Small", value: "small" }), _jsx(Radio, { label: "Medium", value: "medium", isDefaultChecked: true }), _jsx(Radio, { label: "Large", value: "large" })] }) }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=radio-group-visually-hidden-label.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-visually-hidden-label.story.js","sourceRoot":"","sources":["../../../../src/radio-group/stories/radio-group-visually-hidden-label.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,4BACE,MAAC,UAAU,IACT,KAAK,EAAC,sBAAsB,EAC5B,IAAI,EAAC,qBAAqB,EAC1B,sBAAsB,mBAEtB,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACrC,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,gBAAgB,SAAG,EACxD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC1B,GACZ,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { Radio, RadioGroup } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <>\n <RadioGroup\n label=\"Default project size\"\n name=\"project-size-hidden\"\n hasVisuallyHiddenLabel\n >\n <Radio label=\"Small\" value=\"small\" />\n <Radio label=\"Medium\" value=\"medium\" isDefaultChecked />\n <Radio label=\"Large\" value=\"large\" />\n </RadioGroup>\n </>\n );\n};\n\nexport default Component;\n"]}
|
package/lib/esm/select/types.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import type React from 'react';
|
|
22
|
+
type FormFieldGroupControlType = 'checkbox' | 'radio';
|
|
23
|
+
type FormFieldGroupContextValue = {
|
|
24
|
+
controlType: FormFieldGroupControlType;
|
|
25
|
+
name?: string;
|
|
26
|
+
isDisabled: boolean;
|
|
27
|
+
isRequired: boolean;
|
|
28
|
+
hasError: boolean;
|
|
29
|
+
/** Selected radio value when the group is controlled. `null` means no selection. */
|
|
30
|
+
value?: string | null;
|
|
31
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
32
|
+
};
|
|
33
|
+
declare const FormFieldGroupContext: React.Context<FormFieldGroupContextValue | null>;
|
|
34
|
+
declare const useFormFieldGroup: (controlType: FormFieldGroupControlType) => FormFieldGroupContextValue | undefined;
|
|
35
|
+
export { FormFieldGroupContext, type FormFieldGroupContextValue, useFormFieldGroup, };
|
|
36
|
+
//# sourceMappingURL=form-field-group-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-group-context.d.ts","sourceRoot":"","sources":["../../../../src/_common/form-control/form-field-group-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,yBAAyB,GAAG,UAAU,GAAG,OAAO,CAAC;AAEtD,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,yBAAyB,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,QAAA,MAAM,qBAAqB,kDAE1B,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,aAAa,yBAAyB,2CAIhE,CAAC;AAEF,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,iBAAiB,GAClB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
2
|
*
|
|
3
3
|
* Copyright (c) "Neo4j"
|
|
4
4
|
* Neo4j Sweden AB [http://neo4j.com]
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
*/
|
|
28
28
|
export { FormFieldLabel } from './FormFieldLabel';
|
|
29
29
|
export { FormFieldMessage } from './FormFieldMessage';
|
|
30
|
+
export { FormFieldGroupContext, type FormFieldGroupContextValue, useFormFieldGroup, } from './form-field-group-context';
|
|
30
31
|
export type { FormFieldControlProps, FormFieldMessageSeverity, FormFieldProps, FormFieldSize, FormFieldState, } from './form-control-types';
|
|
31
32
|
export { useFormField } from './use-form-field';
|
|
32
33
|
export { useInlineFieldLabel } from './use-inline-field-label';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_common/form-control/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_common/form-control/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|