Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !28445

Utilities/helpers split & utilities API

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge master-mc-utilities-helpers-split into master Mar 10, 2019
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 39

Created by: MartijnCuppens

Fixes #28367 (closed)

Split up helpers/utilities and utilities API for extending or getting more control over the generated utilities.

Features

  • Split between helpers & utilities
  • Utility API which allows changing & extending utility classes
  • Documentation about the API
  • Documentation split between helpers & utilities.
  • New map-get-multiple() function to get multiple keys from a map

Notes

  • I left some utilities because their naming required to create a utility group per class, which beats the purpose of the API. Not sure what to do with them, but for me, it fine leaving them in the utility folder for now.
  • I had to increase the bundle sizes because the vertical & horizontal spacing utilities are generated differently

New documentation about the utility API: https://deploy-preview-28445--twbs-bootstrap.netlify.com/docs/4.3/utilities/api/

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master-mc-utilities-helpers-split