diff --git a/src-site/components/date-picker.md b/src-site/components/date-picker.md
new file mode 100644
index 0000000..1054b4d
--- /dev/null
+++ b/src-site/components/date-picker.md
@@ -0,0 +1,22 @@
+---
+title: Date Picker
+---
+
+A Date Picker is a form used for inputting dates, such as when creating an election in Every Election.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src-site/usage/composition.md b/src-site/usage/composition.md
index dca351b..d2ab430 100644
--- a/src-site/usage/composition.md
+++ b/src-site/usage/composition.md
@@ -105,8 +105,22 @@ By combining [Stacks]({{site.basedir}}/components/stack), [Grids]({{site.basedir
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/src-site/usage/getting-started.md b/src-site/usage/getting-started.md
index bf4fec5..e440c49 100644
--- a/src-site/usage/getting-started.md
+++ b/src-site/usage/getting-started.md
@@ -104,6 +104,13 @@ Although the design system—even including _all_ of the components—is relativ
Follow the HTML examples in individual components docs. If you are making a page layout from scratch, see [Page layout]({{site.basedir}}/usage/page-layout).
+## Adding or changing components
+Update or create a partial file containing the component style such as `system/partials/_date-picker.scss`.
-
+If a new component is added:
+ 1. Create a src-site/components/new-component.md file to explain it's use with an html example.
+ 2. Add the html example to `src-site/usage/composition.md` to be sure it's included in Lighthouse tests.
+ 3. Add the partial to system/docs.scss (twice, import the `mixin` at the top, then add it to `optional-styles`)
+ 4. Run `npm run watch:eleventy` to view changes to source site.
+ 5. Once changes are complete, update the version in `package.json` and lock it with `npm install`
diff --git a/system/docs.scss b/system/docs.scss
index 1bd1a96..bdc3702 100644
--- a/system/docs.scss
+++ b/system/docs.scss
@@ -30,6 +30,9 @@
@import 'partials/_page.scss';
@import 'partials/_party.scss';
@import 'partials/_utilities.scss';
+@import 'partials/_date-picker.scss';
+@import 'partials/_switcher.scss';
+@import 'partials/_showcase.scss';
// Generate atomic classes for documentation demos
@import 'partials/_classes-colors.scss';
@@ -62,7 +65,10 @@ $scope: true;
@include filter;
@include status;
@include codeblock;
- @include party
+ @include party;
+ @include date-picker;
+ @include switcher;
+ @include showcase;
}
@if $scope {
diff --git a/system/partials/_cluster.scss b/system/partials/_cluster.scss
index 795904f..1dffb3a 100644
--- a/system/partials/_cluster.scss
+++ b/system/partials/_cluster.scss
@@ -1,6 +1,4 @@
-%ds-cluster > *,
-%ds-cluster-right > *,
-%ds-cluster-center > * {
+%ds-cluster-element {
padding-left: 0;
list-style: none;
display: flex;
@@ -10,6 +8,12 @@
margin: calc(#{$ss5} * -1);
}
+%ds-cluster > *,
+%ds-cluster-right > *,
+%ds-cluster-center > * {
+ @extend %ds-cluster-element
+}
+
%ds-cluster > * > *,
%ds-cluster-right > * > *,
%ds-cluster-center > * > * {
diff --git a/system/partials/_date-picker.scss b/system/partials/_date-picker.scss
new file mode 100644
index 0000000..f620e66
--- /dev/null
+++ b/system/partials/_date-picker.scss
@@ -0,0 +1,17 @@
+@mixin date-picker {
+ .ds-date {
+ @extend %ds-cluster-element;
+ .ds-field {
+ input {
+ margin: 10px 15px 5px 0;
+ border: 2px solid $black;
+ padding: $s1;
+ max-width: 5em;
+ color:$black;
+ }
+ &:last-child input {
+ max-width: 6em;
+ }
+ }
+ }
+}