-
Notifications
You must be signed in to change notification settings - Fork 92
global config
Ben Elan edited this page Oct 16, 2024
·
1 revision
The calciteConfig global was introduced to allow for runtime configuration of calcite-components.
It is using a global to support both the lazy-loaded and non-lazy-loaded output targets. This also aligns with the Maps SDK config pattern.
Currently, the root of the config object is reserved for options specific to the calcite-components package.
window.calciteConfig = {
// calcite-component options
};Once there is a need for additional package options, these will be added as nested objects within the global config.
window.calciteConfig = {
// calcite-component options
// note: this is just an example and not the definitive structure for future package options
"some-calcite-design-system-package": {
// package options
},
};- Monorepo
- Global Config
- Coding Conventions
- Testing Conventions
- Patching Packages
- Deprecation Guidance
- Continuous Integration
- GitHub Secrets
- Troubleshoot Build Errors
- Tips and Tricks
- NPM FAQ
- Issue Verification
- Wiki Conventions
- Styling Conventions
- CSS Transitions
- Restricting User Input
- ItemHidden Property
- What Happens When You Scale Vector-Based Icons
- Internationalization
- Introduction
- Getting Started
- Naming Schema
- Semantic Tokens
- Component Tokens
- Web Platform
- Build
- Documentation
- Testing
- Contributing