Commit Graph

15 Commits

Author SHA1 Message Date
Elliott Marquez
8bdc6e79ee docs: make page for full stories 2023-12-11 18:48:22 -08:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
63b01425e7 refactor(menu,select)!: rename fixed to positioning
This will enable forwards compatibility for `positioning="top-layer"` with popover.

BREAKING CHANGE: refactor `fixed` property to `positioning="fixed"` in Menu and `menuFixed` to `menuPositioning="fixed"`

PiperOrigin-RevId: 567723646
2023-09-22 14:54:57 -07:00
Elliott Marquez
8e79da6f41 docs(menu): lessen indirection code reuse in stories
PiperOrigin-RevId: 563544292
2023-09-07 14:21:40 -07:00
Elliott Marquez
cb4468a34b docs(catalog): add margin to checkbox with new touch target
PiperOrigin-RevId: 557161521
2023-08-15 09:47:35 -07:00
Elizabeth Mitchell
f574b00a63 feat(checkbox)!: add touch target configurations
BREAKING CHANGE: Checkbox's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size.

PiperOrigin-RevId: 555547024
2023-08-10 10:21:31 -07:00
Elizabeth Mitchell
a117b06b7b fix(iconbutton)!: rename <md-standard-icon-button> to <md-icon-button>
PiperOrigin-RevId: 552545415
2023-07-31 11:37:56 -07:00
Elizabeth Mitchell
2329d2b419 fix(button)!: rename spacing tokens
BREAKING CHANGE: Rename `--md-<button>-spacing-<token>` to `--md-<button>-<token>-space`. Rename `--md-<button>-with-icon-*` to `--md-<button>-with-leading-icon-*`.

PiperOrigin-RevId: 552323014
2023-07-30 17:18:48 -07:00
Elizabeth Mitchell
86aba33dea fix(textfield)!: rename container-padding-vertical tokens
BREAKING CHANGE: Rename `--md-*-field-container-padding-vertical` to `--md-*-field-top-space` and `--md-*-field-bottom-space`. Rename `--md-filled-*-field-with-label-container-padding-vertical` to `--md-filled-*-field-with-label-top-space` and `--md-filled-*-field-with-label-bottom-space`

PiperOrigin-RevId: 547278912
2023-07-11 13:21:57 -07:00
Elizabeth Mitchell
447886da2e fix(textfield)!: rename container-padding-horizontal token
BREAKING CHANGE: Rename `--md-*-field-container-padding-horizontal` to `--md-*-field-leading-space` and `--md-*-field-trailing-space`

PiperOrigin-RevId: 547222914
2023-07-11 10:08:03 -07:00
Elliott Marquez
4d23510985 docs(catalog): add a table of contents pane and fix some safari issues
PiperOrigin-RevId: 538625840
2023-06-07 16:39:47 -07:00
Elliott Marquez
743b4caaf0 docs(catalog): fix color picker knob for stories
PiperOrigin-RevId: 538063881
2023-06-05 21:20:22 -07:00
Elliott Marquez
f403d42807 docs(catalog): refactor catalog to use material panel layout
PiperOrigin-RevId: 537973428
2023-06-05 13:55:58 -07:00
Elizabeth Mitchell
36eec7cab3 chore(demo): move to internal
PiperOrigin-RevId: 536472993
2023-05-30 12:13:09 -07:00
Elliott Marquez
8634d3104b docs(catalog): implement stories infrastructure
All of this code runs specifically in the playground, so there is some really weird stuff going on in this PR. Apologies in advance.

This is slimmed down version of Lit stories and material-collection. Here's a summary of the changes:

- Lit stories
  - Knobs use MD3 components and theming
  - IE style renderer ripped out
  - Unsafe style considerations are gone
  - Stories for testing infra removed
- material-collection
  - MaterialCollection is just LitCollection since we handle theming differently
  - added theme-loader which syncs with the theme w/ rest of the page
  - no textarea knob necessary since MaterialCollection is gone
  - setUpDemo doesn't handle fonts and icons since we just load them in index.html

PiperOrigin-RevId: 535705174
2023-05-26 13:49:03 -07:00