Skip to content

Releases: mongodb/leafygreen-ui

@lg-tools/build@0.9.1

20 May 17:28
40fb84c

Choose a tag to compare

Patch Changes

  • afbf9fa: Upgrades glob dependency from 10.3.12 to 13.0.6

@leafygreen-ui/icon@14.9.0

15 May 22:44
e2d5172

Choose a tag to compare

Minor Changes

@leafygreen-ui/wizard@0.1.5

01 Apr 17:05
a6fbe49

Choose a tag to compare

Patch Changes

  • e5c39d6: Exports WizardStepContext & WizardStepContextData types

@leafygreen-ui/delete-wizard@0.1.0

01 Apr 17:05
a6fbe49

Choose a tag to compare

Minor Changes

  • e5c39d6: Initial release of DeleteWizard.

    <DeleteWizard
      onStepChange={...}
      onCancel={...}
      onDelete={...}
    >
      <DeleteWizard.Header
        pageTitle="Demo Delete Wizard"
      />
      <DeleteWizard.Step requiresAcknowledgement>
        <DeleteWizard.StepContent>
          <div>Step 1 contents</div>
        </DeleteWizard.StepContent>
        <DeleteWizard.Footer
          backButtonText="Go back"
          cancelButtonText="Cancel flow"
          primaryButtonText='Continue to next step'
        />
      </DeleteWizard.Step>
    
      <DeleteWizard.Step requiresAcknowledgement>
        <DeleteWizard.StepContent>
          <div>Step 2 contents</div>
        </DeleteWizard.StepContent>
        <DeleteWizard.Footer
          backButtonText="Go back"
          cancelButtonText="Cancel flow"
          primaryButtonText='Delete my thing'
        />
      </DeleteWizard.Step>
    </DeleteWizard>

    DeleteWizard

    Establishes a context, and only renders the activeStep (managed internally, or provided with the activeStep prop). Accepts a DeleteWizard.Header and any number of DeleteWizard.Steps as children.

    DeleteWizard and all sub-components include template styling.

    DeleteWizard.Header

    A convenience wrapper around CanvasHeader

    DeleteWizard.Step

    A convenience wrapper around Wizard.Step to ensure the correct context.
    Like the basic Wizard.Step, if requiresAcknowledgement is true, the step must have isAcknowledged set in context, (or passed in as a controlled prop) for the Footer's primary button to be enabled. (see the Wizard and DeleteWizard demos in Storybook)

    DeleteWizard.StepContent

    A styled div for use inside a DeleteWizard.Step to ensure proper page scrolling and footer positioning

    DeleteWizard.Footer

    A wrapper around Wizard.Footer with embedded styles and convenience props for the DeleteWizard template.
    DeleteWizard.Footer accepts optional backButtonText, cancelButtonText and primaryButtonText props for simpler wizard creation.
    The primary button variant is defined based on the activeStep"danger" for the final steps, and "primary" for all preceding steps.
    Also defines the leftGlyph to for the final step.

    You can override this behavior by providing the button props object (see FormFooter).

    Use the top level onDelete, onCancel and onStepChange callbacks to handle footer button clicks.

Patch Changes

  • Updated dependencies [e5c39d6]
    • @leafygreen-ui/wizard@0.1.5

@leafygreen-ui/combobox@12.5.1

12 Mar 19:36
e153936

Choose a tag to compare

Patch Changes

  • fdfc88e: LG-5326: Fixes a regression where filtering combobox options by typing did not update the highlighted option. Previously, pressing Enter after filtering would select the first option in the unfiltered list instead of the first matching option.

@lg-chat/message@12.0.0

06 Feb 22:01
a048363

Choose a tag to compare

Major Changes

@lg-chat/message-prompts@4.2.2

06 Feb 22:01
a048363

Choose a tag to compare

Patch Changes

  • 9296806: Update MessagePrompt padding to reflect designs

@lg-chat/message-feed@9.1.0

06 Feb 22:01
a048363

Choose a tag to compare

Minor Changes

  • 9296806: - LG-5932: Refactor to use CompoundComponent pattern
    • LG-5934: add MessageFeedProvider and useMessageFeedContext
    • LG-5935: add MessageFeed.InitialMessage component
    • LG-5933: add MessageFeed.InitialMessage.MessagePrompts and MessageFeed.InitialMessage.MessagePrompt components.
    • LG-5936: add MessageFeed.InitialMessage.ResourceList and MessageFeed.InitialMessage.ResourceListItem components.

Patch Changes

  • 9296806: Update MessagePrompt padding to reflect designs
  • Updated dependencies [9296806]
  • Updated dependencies [5849e0f]
    • @lg-chat/message-prompts@4.2.2
    • @lg-chat/message@12.0.0

@lg-chat/chat-window@6.0.2

06 Feb 22:01
a048363

Choose a tag to compare

Patch Changes

  • 9296806: Update MessagePrompt padding to reflect designs

@lg-mcp/ui-resource-renderer@0.2.0

03 Feb 17:08
1aeaa66

Choose a tag to compare

Minor Changes

  • 7e7abfe: Adds UIResourceRenderer MCP client component