diff --git a/doc/.gitignore b/doc/.gitignore index 9dd28c9..a0b232b 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -2,22 +2,27 @@ selectable_table.css sheet_selector.css x-govuk-masthead.css docs.css +get-started-screenshots.png class_list.js keys.js selectable_polyfills.js selectable_table.js sheet_selector.js logo.png +mainpage-screenshots.png govuk-frontend.min.js init.js auto-store-data.js kit.js application.js application.css +articles.html component-sheet-selector.html component-table-view.html +how-it-works.html index.html pattern-tabular-data.html start.html +what-it-is.html assets.mk assets.txt diff --git a/doc/Makefile b/doc/Makefile index b889795..de6be15 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -18,7 +18,7 @@ OBJECTS := $(subst ../lib/importer/assets/docs/,./,${SOURCES}) assets.txt: ${SOURCES} (echo $^ | xargs -n1 | xargs -I INPUT ${HQ} -r '[data-plugin-only]' -f INPUT -a src 'script[src]'; \ echo $^ | xargs -n1 | xargs -I INPUT ${HQ} -r '[data-plugin-only]' -f INPUT -a href 'link[rel=stylesheet]'; \ - echo ${IMAGES} | sed 's_\.\./lib/importer/assets/docs/_./_') | \ + echo ${IMAGES} | xargs -n1 | sed 's_\.\./lib/importer/assets/docs/_./_') | \ sort -u | grep . > $@ # Now build a Makefile dependency include, specifying the correct download diff --git a/fixtures/realistic.ods b/fixtures/realistic.ods new file mode 100644 index 0000000..0d5c2f2 Binary files /dev/null and b/fixtures/realistic.ods differ diff --git a/fixtures/trailing-column.csv b/fixtures/trailing-column.csv new file mode 100644 index 0000000..cabdac8 --- /dev/null +++ b/fixtures/trailing-column.csv @@ -0,0 +1,2 @@ +A,B, +1,2, diff --git a/lib/importer/assets/css/selectable_table.css b/lib/importer/assets/css/selectable_table.css index 39ab961..aefd048 100644 --- a/lib/importer/assets/css/selectable_table.css +++ b/lib/importer/assets/css/selectable_table.css @@ -29,13 +29,15 @@ table.selectable td { border-right-width: 1px; white-space: pre-wrap; font-variant-numeric: tabular-nums; + min-width: 8em; + max-width: 15em; } table.selectable th *, table.selectable td * { box-sizing: border-box; font-family: inherit; - cursor: inherit + cursor: inherit; } table.selectable th a, @@ -237,6 +239,10 @@ table.selectable:not(.editable) tbody:empty::before { box-sizing: border-box } +table.selectable td.selected.focus { + border: 2px solid blue; +} + table.selectable tbody td, table.selectable tbody td.selected.focus { background-color: white diff --git a/lib/importer/assets/docs/articles.html b/lib/importer/assets/docs/articles.html new file mode 100644 index 0000000..623d3a5 --- /dev/null +++ b/lib/importer/assets/docs/articles.html @@ -0,0 +1,151 @@ + + + + + + Data Upload Design Kit: Articles + + + + + + + + + + + + + + Skip to main content +
+
+ + + +
+
+ +
+
+
    +
  1. + Home +
  2. +
  3. + Articles +
  4. +
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + diff --git a/lib/importer/assets/docs/component-sheet-selector.html b/lib/importer/assets/docs/component-sheet-selector.html index 3756ee5..3d641f9 100644 --- a/lib/importer/assets/docs/component-sheet-selector.html +++ b/lib/importer/assets/docs/component-sheet-selector.html @@ -3,7 +3,7 @@ - Sheet selector – Data Design Kit by Register Dynamics + Sheet selector – Data Upload Design Kit by Register Dynamics @@ -39,8 +39,8 @@ Skip to main content
-