Commit 0ab9eac4 authored by Pierre Dureau's avatar Pierre Dureau
Browse files

Issue #3319153: Update to Bootstrap 4.6

parent 1fc8a645
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -8,9 +8,6 @@ views, blocks, flags...).

![Overview](doc/screenshot.png)

Because we are targeting Bootstrap 4.x, this is not a fork of Nuvole's
[Bootstrap Patterns](https://github.com/nuvoleweb/bootstrap_patterns) theme.

# How it works

![Overview](doc/schema.png)
@@ -52,9 +49,9 @@ Those layouts are automatically available as configurable layout plugins.
4 example pages are integrated using only render arrays, inside
ui_suite_bootstrap.ui_examples.yml:

- [album](https://getbootstrap.com/docs/4.5/examples/album/)
- [pricing](https://getbootstrap.com/docs/4.5/examples/pricing/)
- [carousel](https://getbootstrap.com/docs/4.5/examples/carousel/)
- [album](https://getbootstrap.com/docs/4.6/examples/album/)
- [pricing](https://getbootstrap.com/docs/4.6/examples/pricing/)
- [carousel](https://getbootstrap.com/docs/4.6/examples/carousel/)

You can browse the example pages directly inside Drupal: /examples

@@ -134,3 +131,8 @@ composer.json can be like:
  }
}
```

# Demo

See [ui\_suite\_bootstrap\_demo](https://www.drupal.org/project/ui_suite_bootstrap_demo) installation profile.
+1 −1
Original line number Diff line number Diff line
alert:
  label: Alert
  description: Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. https://getbootstrap.com/docs/4.4/components/alerts/
  description: Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. https://getbootstrap.com/docs/4.6/components/alerts/
  variants:
    primary:
      label: Primary
+1 −1
Original line number Diff line number Diff line
badge:
  label: Badge
  description: A small count and labeling component. Badges scale to match the size of the immediate parent element by using relative font sizing and em units. https://getbootstrap.com/docs/4.3/components/badge/
  description: A small count and labeling component. Badges scale to match the size of the immediate parent element by using relative font sizing and em units. https://getbootstrap.com/docs/4.6/components/badge/
  variants:
    primary:
      label: Primary
+1 −1
Original line number Diff line number Diff line
blockquote:
  label: "Blockquote"
  description: "For quoting blocks of content from another source within your document. https://getbootstrap.com/docs/4.4/content/typography/#blockquotes"
  description: "For quoting blocks of content from another source within your document. https://getbootstrap.com/docs/4.6/content/typography/#blockquotes"
  variants:
    default:
      label: Default
+1 −1
Original line number Diff line number Diff line
breadcrumb:
  label: Breadcrumb
  description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. https://getbootstrap.com/docs/4.4/components/breadcrumb/
  description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. https://getbootstrap.com/docs/4.6/components/breadcrumb/
  fields:
    items:
      type: render
Loading