Comments (3)
@macandcheese assigning this to you since you said you had experimented with it a little.
from calcite-design-system.
We have been thinking about modals taking a "type" prop that would allow for:
- Full page takeovers
- Constrained page takeovers
- Default modal (with width field - px or s/m/l)
- Sheet modal - becomes affixed-to-bottom sheet on mobile.
Full page takeover, and constrained takeover become full screen on mobile.
"Sheet" and default modals can use status color accent bar and icon the same way alerts can to make that consistent.
Title is a prop, content is a slot for any content, and I'm undecided if we want to make footer actions a slot for buttons, or lock that down and accept only explicit "primary", "secondary", or "tertiary" slots or props.
Perhaps props for "has close" and "click on overlay to dismiss"
Thoughts?
from calcite-design-system.
I am going to try my hand at this today, FYI
from calcite-design-system.
Related Issues (20)
- `input-time-zone` with empty string not defaulting to local time zone
- Dragging a list item with a specific input contained within it casues a console error
- [Tooling] Communicate component deprecations and upcoming removal via console
- [Pick List] Remove deprecated component from code base
- [Value List] Remove deprecated component from code base
- Epic: Interactive states across the design system for hover, action, and press
- Truncating/shrinking `datetime-local` input can obscure picker button
- calcite-date-picker changes height depending on months
- `type-fest` build error after upgrading to Calcite 2.8.0 HOT 2
- Research a way to share markup between demo.html and "allVariants" story HTML HOT 1
- [List and List Item] Cancel drag reorder on ESC
- `input-time-zone` emits multiple open/close events when toggling `open`
- [calcite-input]: file type emits "Failed to set the 'value' property" error
- [combobox] Uncaught type errors are thrown HOT 1
- Allow custom icons in Combobox HOT 3
- [Block] Text hierarchy and spacing HOT 3
- Allow custom icons in Dropdown
- Calcite color-picker clears alpha hex value on blur
- [Alert] Multiple `open` Alerts present in DOM at initialization should form a queue
- [Dropdown Group] The `group-tile` scale is not scaling with the `dropdown` scale HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calcite-design-system.