lion

Fundamental white label web component features for your design system.

MIT License

Downloads
208.3K
Stars
1.7K
Committers
158

Bot releases are visible (Hide)

lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 36910e5d: datepicker uses no calender-overlay-frame element anymore

  • 64c0e26c: Overlay System uses <dialog> for top layer functionality of all overlays.
    This means overlays positioned relative to viewport won't be moved to the body.

    This has many benefits for the App Developer:

    • "context" will be kept:
      • css variables and parts/theme will work
      • events work without the need for "repropagation" (from body to original context)
      • accessibility relations between overlay content and its context do not get lost
    • initial renderings become more predictable (since we don't need multiple initializations on multiple connectedCallbacks)
    • performance: less initialization, thus better performance
    • maintainability: handling all edge cases involved in moving an overlay to the body grew out of hand
    • developer experience:
      • no extra container components like overlay-frame/calendar-frame needed that maintain styles
      • adding a contentWrapperNode is not needed anymore

    There could be small differences in timings though (usually we're done rendering quicker now).
    Code that relies on side effects could be affected. Like:

    • the existence of a global Root node)
    • the fact that global styles would reach a dialog placed in the body

    For most users using either OverlayController, OverlayMixin or an element that uses OverlayMixin (like LionInputDatepicker, LionRichSelect etc. etc.)
    nothing will change in the public api.

  • 00063d73: depend on @popperjs/core

lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • f147024c: validate-messages without side effects
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • f0e6ee92: BREAKING: remove setIcons, setOverlays, setLocalize.

    Recommended approach is to do below at the top of your app (before lion code runs):

    import { singletonManager } from 'singleton-manager';
    import { LocalizeManager } from '@lion/ui/localize-no-side-effects.js';
    
    class MyLocalizeManager extends LocalizeManager {}
    
    singletonManager.set('@lion/ui::localize::0.x', new MyLocalizeManager());
    
  • de51dae2: Use the correct names for singleton registrations

lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 11f6f19a: Update @open-wc/scoped-elements to a version that exposes its types.
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 5dd5a848: [core] SlotMixin: conditional slots should not break init loop
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 9b4cbb1d: [lion-input-tel] upgrade to awesome-phonenumber v4
  • e090d2d8: adds support for reduced motion capabilities in overlay manager by disabling the opacity transition when a modal is opened/closed
  • 2572012d: [lion-input-tel(-dropdown)] polish / cleanup code
  • 53459451: [overlays] scroll issues on mac safari fixed when dialog are openend
lion - [email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 8eb68f50: compensate for unist-util-select not depending on "not" dependency
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 11436fc0: [core] SlotMixin: allow rerenders of templates
  • eee83cca: Export types that are useful for subclassers
  • d7938ef6: [input-tel] Align with SlotMixin rerender functionality
    [input-tel-dropdown] Align with SlotMixin rerender functionality + fix interaction state synchronization
  • bc252703: expose docs via export map
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 4708fe94: Include documentation in the npm package so it can be reused
  • da057efc: [localize] simplify and fix parseMode check
lion - [email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 4708fe94: BREAKING CHANGE: lion is moving to a single pkg with multiple entrypoints
    Packages are now differently imported and therefore are also differently extended.

    import { LionButton } from '@lion/button';
    // became
    import { LionButton } from '@lion/ui/button.js';
    
    // extending now convert it to something like this
    import { IngButton } from 'ing-web/button.js';
    
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 2553e7ac: fix: relax content type restriction of json response
lion - [email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • faa26f12: Keep the main entry in package.json for now, as it is still used by some tools.
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • c7ea0357: [core]: replaced import('lit-element') with import('lit') to fix tests, fixed test for SlotMixin
  • c7ea0357: [drawer]: implemented initial version of lion-drawer
  • Updated dependencies [faa26f12]
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • bfd5152a: fix: relax content types when setting cache
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • e08b6bec: Update to use package exports with a dedicated types entry.
    This means the package only supports node 16+ and TS 4.7+ with moduleResolution: Node16 or moduleResolution: NodeNext as described in the TS 4.7 Announcement.

Patch Changes

  • 66abd3ea: don't throw on non-JSON responses in fetchJson
lion - @lion/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • e08b6bec: This introduces a new package @lion/ui which is a collection of UI components that can be used in your application. It contains all the components/systems that used to be distributed via separate @lion/* packages.

    This is a breaking as you will need to import all components from @lion/ui instead of @lion/* packages now.

    - import { LionAccordion } from '@lion/accordion';
    + import { LionAccordion } from '@lion/ui/accordion.js';
    

    This is also true for element registrations

    - import '@lion/accordion/define';
    + import '@lion/ui/define/lion-accordion.js';
    

    Essentially the whole public API e.g. all the available exports can be found in the exports folder.

    The package only supports TS 4.7+ using "moduleResolution": "Node16" or "moduleResolution": "NodeNext" as described in the TS 4.7 Announcement.

    This package will have a new single CHANGELOG.md for the whole package. If you are interested the older individual changelogs then you can find them in the _legacy-changelogs folder.

    This new version also includes the following changes for it's containing components:

    • fix(switch): SwitchButton do not dispatch checked-change event when is disabled
    • fix(calendar): calendar translation de.js strings corrected

    Note: This package is considered alpha until extending docs and type exports are verified.

  • Updated dependencies [e08b6bec]

lion - [email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • e9c6523f: Expose more exports; updated to cjs format only

Patch Changes

  • a849f09f: add possibility to provide a 'custom defined project' (array of filePaths) to Analyzer
  • f7fc7df3: improvements find-exports, trackdown-identifier, get-source-code-fragment-of-declaration
  • 9593c456: providence-analytics: add export-map functionality to InputDataService
  • a849f09f: add util "getSourceCodeFragmentOfDeclaration"
  • dd3458af: improve memoization
lion - [email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • e08b6bec: Update to use package exports with a dedicated types entry.
    This means the package only supports node 16+ and TS 4.7+ with moduleResolution: Node16 or moduleResolution: NodeNext as described in the TS 4.7 Announcement.
lion - @lion/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

lion - @lion/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

Package Rankings
Top 1.12% on Npmjs.org
Related Projects