@davidsouther/jiffies 1.0.0-beta.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{build → lib/cjs}/assert.d.ts +0 -0
- package/lib/cjs/assert.js +40 -0
- package/{build → lib/cjs}/case.d.ts +0 -0
- package/lib/cjs/case.js +9 -0
- package/{build → lib/cjs}/components/button_bar.d.ts +1 -1
- package/lib/cjs/components/button_bar.js +29 -0
- package/{build → lib/cjs}/components/inline_edit.d.ts +1 -1
- package/lib/cjs/components/inline_edit.js +51 -0
- package/{build → lib/cjs}/components/logger.d.ts +2 -3
- package/lib/cjs/components/logger.js +27 -0
- package/lib/cjs/components/select.d.ts +10 -0
- package/lib/cjs/components/select.js +6 -0
- package/lib/cjs/components/test.d.ts +1 -0
- package/lib/cjs/components/test.js +7 -0
- package/{build → lib/cjs}/components/virtual_scroll.d.ts +3 -4
- package/lib/cjs/components/virtual_scroll.js +102 -0
- package/{build → lib/cjs}/components/virtual_scroll.test.d.ts +0 -0
- package/lib/cjs/components/virtual_scroll.test.js +22 -0
- package/{build → lib/cjs}/context.d.ts +0 -0
- package/lib/cjs/context.js +48 -0
- package/{build → lib/cjs}/context.test.d.ts +0 -0
- package/lib/cjs/context.test.js +48 -0
- package/{build → lib/cjs}/debounce.d.ts +0 -0
- package/lib/cjs/debounce.js +11 -0
- package/lib/cjs/diff.d.ts +15 -0
- package/lib/cjs/diff.js +58 -0
- package/{build/components/index.d.ts → lib/cjs/diff.test.d.ts} +0 -0
- package/lib/cjs/diff.test.js +41 -0
- package/{build → lib/cjs}/display.d.ts +0 -0
- package/lib/cjs/display.js +16 -0
- package/{build → lib/cjs}/dom/css/border.d.ts +0 -0
- package/lib/cjs/dom/css/border.js +33 -0
- package/{build → lib/cjs}/dom/css/constants.d.ts +0 -0
- package/lib/cjs/dom/css/constants.js +31 -0
- package/{build → lib/cjs}/dom/css/core.d.ts +0 -0
- package/lib/cjs/dom/css/core.js +31 -0
- package/{build → lib/cjs}/dom/css/fstyle.d.ts +0 -0
- package/lib/cjs/dom/css/fstyle.js +36 -0
- package/{build → lib/cjs}/dom/css/sizing.d.ts +0 -0
- package/lib/cjs/dom/css/sizing.js +14 -0
- package/lib/cjs/dom/dom.d.ts +27 -0
- package/lib/cjs/dom/dom.js +110 -0
- package/{build → lib/cjs}/dom/fc.d.ts +5 -5
- package/lib/cjs/dom/fc.js +39 -0
- package/{build → lib/cjs}/dom/fc.test.d.ts +0 -0
- package/lib/cjs/dom/fc.test.js +23 -0
- package/lib/cjs/dom/form/form.app.d.ts +1 -0
- package/lib/cjs/dom/form/form.app.js +27 -0
- package/lib/cjs/dom/form/form.d.ts +26 -0
- package/lib/cjs/dom/form/form.js +49 -0
- package/{build → lib/cjs}/dom/form/form.test.d.ts +0 -0
- package/{build → lib/cjs}/dom/form/form.test.js +0 -0
- package/lib/cjs/dom/html.d.ts +113 -0
- package/lib/cjs/dom/html.js +119 -0
- package/{build → lib/cjs}/dom/html.test.d.ts +0 -0
- package/lib/cjs/dom/html.test.js +60 -0
- package/lib/cjs/dom/observable.d.ts +2 -0
- package/lib/cjs/dom/observable.js +10 -0
- package/{build/components/index.js → lib/cjs/dom/observable.test.d.ts} +0 -0
- package/lib/cjs/dom/observable.test.js +35 -0
- package/lib/cjs/dom/provide.d.ts +3 -0
- package/lib/cjs/dom/provide.js +12 -0
- package/lib/cjs/dom/router/link.d.ts +6 -0
- package/lib/cjs/dom/router/link.js +7 -0
- package/{build → lib/cjs}/dom/router/router.d.ts +3 -3
- package/lib/cjs/dom/router/router.js +52 -0
- package/lib/cjs/dom/svg.d.ts +64 -0
- package/lib/cjs/dom/svg.js +69 -0
- package/lib/cjs/dom/test.d.ts +1 -0
- package/lib/cjs/dom/test.js +13 -0
- package/{build → lib/cjs}/dom/types/css.d.ts +0 -0
- package/lib/cjs/dom/types/css.js +24 -0
- package/{build → lib/cjs}/dom/types/dom.d.ts +0 -0
- package/{build → lib/cjs}/dom/types/dom.js +0 -0
- package/{build → lib/cjs}/dom/types/html.d.ts +1 -1
- package/lib/cjs/dom/types/html.js +2 -0
- package/{build → lib/cjs}/dom/xml.d.ts +0 -0
- package/lib/cjs/dom/xml.js +8 -0
- package/lib/cjs/equal.d.ts +5 -0
- package/lib/cjs/equal.js +43 -0
- package/{build → lib/cjs}/equal.test.d.ts +0 -0
- package/lib/cjs/equal.test.js +22 -0
- package/{build → lib/cjs}/flags.d.ts +0 -0
- package/lib/cjs/flags.js +52 -0
- package/{build → lib/cjs}/flags.test.d.ts +0 -0
- package/lib/cjs/flags.test.js +37 -0
- package/lib/cjs/fs.d.ts +48 -0
- package/lib/cjs/fs.js +151 -0
- package/{build/components/test.d.ts → lib/cjs/fs.test.d.ts} +0 -0
- package/lib/cjs/fs.test.js +45 -0
- package/{build → lib/cjs}/generator.d.ts +0 -0
- package/lib/cjs/generator.js +14 -0
- package/{build → lib/cjs}/generator.test.d.ts +0 -0
- package/lib/cjs/generator.test.js +26 -0
- package/{build → lib/cjs}/is_browser.d.ts +0 -0
- package/lib/cjs/is_browser.js +4 -0
- package/{build → lib/cjs}/loader.d.mts +0 -0
- package/lib/cjs/loader.mjs +40 -0
- package/{build → lib/cjs}/lock.d.ts +0 -0
- package/lib/cjs/lock.js +27 -0
- package/{build → lib/cjs}/lock.test.d.ts +0 -0
- package/lib/cjs/lock.test.js +18 -0
- package/{build → lib/cjs}/log.d.ts +0 -0
- package/lib/cjs/log.js +54 -0
- package/lib/cjs/observable/event.d.ts +35 -0
- package/lib/cjs/observable/event.js +61 -0
- package/lib/cjs/observable/observable.d.ts +132 -0
- package/lib/cjs/observable/observable.js +363 -0
- package/{build/dom/test.d.ts → lib/cjs/observable/observable.test.d.ts} +0 -0
- package/lib/cjs/observable/observable.test.js +65 -0
- package/{build → lib/cjs}/range.d.ts +0 -0
- package/lib/cjs/range.js +11 -0
- package/{build → lib/cjs}/result.d.ts +11 -11
- package/lib/cjs/result.js +80 -0
- package/{build → lib/cjs}/result.test.d.ts +0 -0
- package/lib/cjs/result.test.js +73 -0
- package/{build → lib/cjs}/safe.d.ts +0 -0
- package/lib/cjs/safe.js +14 -0
- package/{build → lib/cjs}/scope/describe.d.ts +4 -0
- package/lib/cjs/scope/describe.js +73 -0
- package/{build → lib/cjs}/scope/display/console.d.ts +0 -0
- package/lib/cjs/scope/display/console.js +25 -0
- package/{build → lib/cjs}/scope/display/dom.d.ts +2 -2
- package/lib/cjs/scope/display/dom.js +30 -0
- package/{build → lib/cjs}/scope/display/junit.d.ts +0 -0
- package/lib/cjs/scope/display/junit.js +21 -0
- package/{build → lib/cjs}/scope/execute.d.ts +1 -1
- package/lib/cjs/scope/execute.js +91 -0
- package/{build → lib/cjs}/scope/expect.d.ts +1 -1
- package/lib/cjs/scope/expect.js +114 -0
- package/{build → lib/cjs}/scope/fix.d.ts +0 -0
- package/lib/cjs/scope/fix.js +26 -0
- package/{build → lib/cjs}/scope/index.d.ts +0 -0
- package/lib/cjs/scope/index.js +15 -0
- package/{build → lib/cjs}/scope/scope.d.ts +0 -0
- package/lib/cjs/scope/scope.js +2 -0
- package/lib/cjs/scope/state.d.ts +1 -0
- package/lib/cjs/scope/state.js +11 -0
- package/{build → lib/cjs}/server/http/apps.d.ts +0 -0
- package/lib/cjs/server/http/apps.js +27 -0
- package/lib/cjs/server/http/css.d.ts +5 -0
- package/lib/cjs/server/http/css.js +54 -0
- package/{build → lib/cjs}/server/http/index.d.ts +0 -0
- package/lib/cjs/server/http/index.js +77 -0
- package/{build → lib/cjs}/server/http/response.d.ts +0 -0
- package/lib/cjs/server/http/response.js +45 -0
- package/{build → lib/cjs}/server/http/sitemap.d.ts +0 -0
- package/lib/cjs/server/http/sitemap.js +46 -0
- package/{build → lib/cjs}/server/http/static.d.ts +0 -0
- package/lib/cjs/server/http/static.js +25 -0
- package/{build → lib/cjs}/server/http/typescript.d.ts +0 -0
- package/lib/cjs/server/http/typescript.js +44 -0
- package/{build → lib/cjs}/server/main.d.ts +0 -0
- package/lib/cjs/server/main.js +14 -0
- package/{build → lib/cjs}/test.d.mts +0 -0
- package/lib/cjs/test.mjs +28 -0
- package/lib/cjs/test_all.d.ts +9 -0
- package/lib/cjs/test_all.js +30 -0
- package/{build → lib/cjs}/transpile.d.mts +0 -0
- package/lib/cjs/transpile.mjs +22 -0
- package/lib/cjs/tsconfig.tsbuildinfo +1 -0
- package/lib/esm/assert.d.ts +23 -0
- package/{build → lib/esm}/assert.js +1 -1
- package/lib/esm/case.d.ts +1 -0
- package/{build → lib/esm}/case.js +0 -0
- package/lib/esm/components/button_bar.d.ts +8 -0
- package/lib/esm/components/button_bar.js +27 -0
- package/lib/esm/components/inline_edit.d.ts +12 -0
- package/{build → lib/esm}/components/inline_edit.js +3 -3
- package/lib/esm/components/logger.d.ts +6 -0
- package/{build → lib/esm}/components/logger.js +3 -3
- package/lib/esm/components/select.d.ts +10 -0
- package/{build → lib/esm}/components/select.js +2 -2
- package/lib/esm/components/test.d.ts +1 -0
- package/lib/esm/components/test.js +3 -0
- package/lib/esm/components/virtual_scroll.d.ts +40 -0
- package/{build → lib/esm}/components/virtual_scroll.js +3 -3
- package/{build/dom/types/html.js → lib/esm/components/virtual_scroll.test.d.ts} +0 -0
- package/{build → lib/esm}/components/virtual_scroll.test.js +3 -4
- package/lib/esm/context.d.ts +15 -0
- package/{build → lib/esm}/context.js +3 -3
- package/{build/scope/scope.js → lib/esm/context.test.d.ts} +0 -0
- package/{build → lib/esm}/context.test.js +0 -0
- package/lib/esm/debounce.d.ts +1 -0
- package/{build → lib/esm}/debounce.js +0 -0
- package/lib/esm/diff.d.ts +15 -0
- package/lib/esm/diff.js +54 -0
- package/{build/test_all.d.ts → lib/esm/diff.test.d.ts} +0 -0
- package/lib/esm/diff.test.js +39 -0
- package/lib/esm/display.d.ts +5 -0
- package/lib/esm/display.js +11 -0
- package/lib/esm/dom/css/border.d.ts +11 -0
- package/{build → lib/esm}/dom/css/border.js +0 -0
- package/lib/esm/dom/css/constants.d.ts +31 -0
- package/{build → lib/esm}/dom/css/constants.js +0 -0
- package/lib/esm/dom/css/core.d.ts +5 -0
- package/{build → lib/esm}/dom/css/core.js +0 -0
- package/lib/esm/dom/css/fstyle.d.ts +5 -0
- package/{build → lib/esm}/dom/css/fstyle.js +0 -0
- package/lib/esm/dom/css/sizing.d.ts +5 -0
- package/{build → lib/esm}/dom/css/sizing.js +0 -0
- package/lib/esm/dom/dom.d.ts +27 -0
- package/{build → lib/esm}/dom/dom.js +44 -34
- package/lib/esm/dom/fc.d.ts +14 -0
- package/{build → lib/esm}/dom/fc.js +1 -1
- package/lib/esm/dom/fc.test.d.ts +1 -0
- package/{build → lib/esm}/dom/fc.test.js +0 -0
- package/lib/esm/dom/form/form.app.d.ts +1 -0
- package/{build → lib/esm}/dom/form/form.app.js +0 -0
- package/lib/esm/dom/form/form.d.ts +26 -0
- package/{build → lib/esm}/dom/form/form.js +14 -5
- package/lib/esm/dom/form/form.test.d.ts +0 -0
- package/lib/esm/dom/form/form.test.js +1 -0
- package/lib/esm/dom/html.d.ts +113 -0
- package/{build → lib/esm}/dom/html.js +0 -0
- package/lib/esm/dom/html.test.d.ts +1 -0
- package/{build → lib/esm}/dom/html.test.js +4 -4
- package/lib/esm/dom/observable.d.ts +2 -0
- package/lib/esm/dom/observable.js +6 -0
- package/lib/esm/dom/observable.test.d.ts +1 -0
- package/lib/esm/dom/observable.test.js +33 -0
- package/lib/esm/dom/provide.d.ts +3 -0
- package/lib/esm/dom/provide.js +7 -0
- package/lib/esm/dom/router/link.d.ts +6 -0
- package/{build → lib/esm}/dom/router/link.js +0 -0
- package/lib/esm/dom/router/router.d.ts +12 -0
- package/{build → lib/esm}/dom/router/router.js +0 -0
- package/lib/esm/dom/svg.d.ts +64 -0
- package/{build → lib/esm}/dom/svg.js +0 -0
- package/lib/esm/dom/test.d.ts +1 -0
- package/lib/esm/dom/test.js +9 -0
- package/lib/esm/dom/types/css.d.ts +6612 -0
- package/{build → lib/esm}/dom/types/css.js +0 -0
- package/lib/esm/dom/types/dom.d.ts +0 -0
- package/lib/esm/dom/types/dom.js +1 -0
- package/lib/esm/dom/types/html.d.ts +616 -0
- package/lib/esm/dom/types/html.js +1 -0
- package/lib/esm/dom/xml.d.ts +1 -0
- package/{build → lib/esm}/dom/xml.js +1 -2
- package/lib/esm/equal.d.ts +5 -0
- package/lib/esm/equal.js +37 -0
- package/lib/esm/equal.test.d.ts +1 -0
- package/{build → lib/esm}/equal.test.js +0 -0
- package/lib/esm/flags.d.ts +7 -0
- package/{build → lib/esm}/flags.js +1 -1
- package/lib/esm/flags.test.d.ts +1 -0
- package/{build → lib/esm}/flags.test.js +0 -0
- package/lib/esm/fs.d.ts +48 -0
- package/lib/esm/fs.js +144 -0
- package/lib/esm/fs.test.d.ts +1 -0
- package/lib/esm/fs.test.js +43 -0
- package/lib/esm/generator.d.ts +1 -0
- package/{build → lib/esm}/generator.js +0 -0
- package/lib/esm/generator.test.d.ts +1 -0
- package/{build → lib/esm}/generator.test.js +0 -0
- package/lib/esm/is_browser.d.ts +1 -0
- package/{build → lib/esm}/is_browser.js +0 -0
- package/lib/esm/loader.d.mts +22 -0
- package/{build → lib/esm}/loader.mjs +0 -0
- package/lib/esm/lock.d.ts +1 -0
- package/{build → lib/esm}/lock.js +0 -0
- package/lib/esm/lock.test.d.ts +1 -0
- package/{build → lib/esm}/lock.test.js +0 -0
- package/lib/esm/log.d.ts +26 -0
- package/{build → lib/esm}/log.js +16 -4
- package/lib/esm/observable/event.d.ts +35 -0
- package/lib/esm/observable/event.js +46 -0
- package/lib/esm/observable/observable.d.ts +132 -0
- package/lib/esm/observable/observable.js +343 -0
- package/lib/esm/observable/observable.test.d.ts +1 -0
- package/lib/esm/observable/observable.test.js +63 -0
- package/lib/esm/range.d.ts +1 -0
- package/{build → lib/esm}/range.js +0 -0
- package/lib/esm/result.d.ts +31 -0
- package/{build → lib/esm}/result.js +3 -3
- package/lib/esm/result.test.d.ts +1 -0
- package/{build → lib/esm}/result.test.js +0 -0
- package/lib/esm/safe.d.ts +1 -0
- package/{build → lib/esm}/safe.js +0 -0
- package/lib/esm/scope/describe.d.ts +18 -0
- package/{build → lib/esm}/scope/describe.js +14 -6
- package/lib/esm/scope/display/console.d.ts +2 -0
- package/{build → lib/esm}/scope/display/console.js +0 -0
- package/lib/esm/scope/display/dom.d.ts +3 -0
- package/{build → lib/esm}/scope/display/dom.js +0 -0
- package/lib/esm/scope/display/junit.d.ts +2 -0
- package/{build → lib/esm}/scope/display/junit.js +0 -0
- package/lib/esm/scope/execute.d.ts +12 -0
- package/{build → lib/esm}/scope/execute.js +3 -3
- package/lib/esm/scope/expect.d.ts +23 -0
- package/{build → lib/esm}/scope/expect.js +4 -3
- package/lib/esm/scope/fix.d.ts +4 -0
- package/{build → lib/esm}/scope/fix.js +0 -0
- package/{build/scope/index.js → lib/esm/scope/index.d.ts} +0 -0
- package/lib/esm/scope/index.js +3 -0
- package/lib/esm/scope/scope.d.ts +17 -0
- package/lib/esm/scope/scope.js +1 -0
- package/lib/esm/scope/state.d.ts +1 -0
- package/lib/esm/scope/state.js +7 -0
- package/lib/esm/server/http/apps.d.ts +5 -0
- package/{build → lib/esm}/server/http/apps.js +0 -0
- package/lib/esm/server/http/css.d.ts +5 -0
- package/lib/esm/server/http/css.js +50 -0
- package/lib/esm/server/http/index.d.ts +21 -0
- package/{build → lib/esm}/server/http/index.js +4 -2
- package/lib/esm/server/http/response.d.ts +4 -0
- package/{build → lib/esm}/server/http/response.js +6 -3
- package/lib/esm/server/http/sitemap.d.ts +2 -0
- package/{build → lib/esm}/server/http/sitemap.js +0 -0
- package/lib/esm/server/http/static.d.ts +2 -0
- package/{build → lib/esm}/server/http/static.js +0 -0
- package/lib/esm/server/http/typescript.d.ts +5 -0
- package/{build → lib/esm}/server/http/typescript.js +0 -0
- package/lib/esm/server/main.d.ts +2 -0
- package/{build → lib/esm}/server/main.js +5 -2
- package/lib/esm/test.d.mts +2 -0
- package/lib/esm/test.mjs +26 -0
- package/lib/esm/test_all.d.ts +9 -0
- package/lib/esm/test_all.js +28 -0
- package/lib/esm/transpile.d.mts +3 -0
- package/{build → lib/esm}/transpile.mjs +0 -0
- package/lib/esm/tsconfig.tsbuildinfo +1 -0
- package/package.json +18 -16
- package/src/assert.ts +1 -1
- package/src/components/button_bar.ts +33 -27
- package/src/components/inline_edit.ts +3 -3
- package/src/components/logger.ts +5 -6
- package/src/components/select.ts +3 -3
- package/src/components/test.js +3 -2
- package/src/components/virtual_scroll.test.ts +4 -4
- package/src/components/virtual_scroll.ts +8 -8
- package/src/context.ts +3 -3
- package/src/diff.test.ts +48 -0
- package/src/diff.ts +84 -0
- package/src/display.ts +8 -2
- package/src/dom/css/border.ts +3 -3
- package/src/dom/css/core.ts +1 -1
- package/src/dom/css/fstyle.ts +2 -2
- package/src/dom/css/sizing.ts +1 -1
- package/src/dom/dom.ts +73 -60
- package/src/dom/fc.test.ts +3 -3
- package/src/dom/fc.ts +11 -10
- package/src/dom/form/form.app.ts +2 -2
- package/src/dom/form/form.ts +33 -10
- package/src/dom/html.test.ts +8 -8
- package/src/dom/html.ts +7 -10
- package/src/dom/observable.test.ts +43 -0
- package/src/dom/observable.ts +11 -0
- package/src/dom/provide.ts +11 -0
- package/src/dom/router/link.ts +2 -2
- package/src/dom/router/router.ts +5 -5
- package/src/dom/svg.ts +1 -1
- package/src/dom/test.ts +8 -2
- package/src/dom/types/html.ts +1 -1
- package/src/dom/xml.ts +1 -2
- package/src/equal.ts +22 -11
- package/src/flags.ts +1 -1
- package/src/fs.test.ts +53 -0
- package/src/fs.ts +180 -0
- package/src/index.html +16 -13
- package/src/log.ts +8 -4
- package/src/observable/_notes +21 -8
- package/src/observable/event.ts +93 -0
- package/src/observable/observable.test.ts +73 -0
- package/src/observable/observable.ts +463 -0
- package/src/pico/_variables.scss +66 -0
- package/src/pico/components/_accordion.scss +112 -0
- package/src/pico/components/_button-group.scss +51 -0
- package/src/pico/components/_card.scss +47 -0
- package/src/pico/components/_dropdown.scss +203 -0
- package/src/pico/components/_modal.scss +181 -0
- package/src/pico/components/_nav.scss +79 -0
- package/src/pico/components/_progress.scss +70 -0
- package/src/pico/components/_property.scss +34 -0
- package/src/pico/content/_button.scss +152 -0
- package/src/pico/content/_code.scss +63 -0
- package/src/pico/content/_embedded.scss +0 -0
- package/src/pico/content/_form-alt.scss +276 -0
- package/src/pico/content/_form.scss +259 -0
- package/src/pico/content/_misc.scss +0 -0
- package/src/pico/content/_table.scss +28 -0
- package/src/pico/content/_toggle.scss +132 -0
- package/src/pico/content/_typography.scss +232 -0
- package/src/pico/layout/_container.scss +40 -0
- package/src/pico/layout/_document.scss +0 -0
- package/src/pico/layout/_flex.scss +46 -0
- package/src/pico/layout/_grid.scss +24 -0
- package/src/pico/layout/_scroller.scss +16 -0
- package/src/pico/layout/_section.scss +8 -0
- package/src/pico/layout/_sectioning.scss +55 -0
- package/src/pico/pico.scss +60 -0
- package/src/pico/reset/_accessibility.scss +34 -0
- package/src/pico/reset/_button.scss +17 -0
- package/src/pico/reset/_code.scss +15 -0
- package/src/pico/reset/_document.scss +48 -0
- package/src/pico/reset/_embedded.scss +39 -0
- package/src/pico/reset/_form.scss +97 -0
- package/src/pico/reset/_misc.scss +23 -0
- package/src/pico/reset/_nav.scss +5 -0
- package/src/pico/reset/_progress.scss +4 -0
- package/src/pico/reset/_table.scss +8 -0
- package/src/pico/reset/_typography.scss +25 -0
- package/src/pico/themes/default/_colors.scss +65 -0
- package/src/pico/themes/default/_dark.scss +148 -0
- package/src/pico/themes/default/_light.scss +149 -0
- package/src/pico/themes/default/_styles.scss +272 -0
- package/src/pico/themes/default.scss +34 -0
- package/src/pico/utilities/_accessibility.scss +3 -0
- package/src/pico/utilities/_loading.scss +52 -0
- package/src/pico/utilities/_reduce-motion.scss +27 -0
- package/src/pico/utilities/_tooltip.scss +101 -0
- package/src/result.ts +17 -21
- package/src/scope/describe.ts +16 -6
- package/src/scope/display/console.ts +4 -4
- package/src/scope/display/dom.ts +7 -7
- package/src/scope/display/junit.ts +3 -3
- package/src/scope/execute.ts +5 -8
- package/src/scope/expect.ts +12 -11
- package/src/scope/state.ts +10 -0
- package/src/server/http/css.ts +65 -0
- package/src/server/http/index.ts +4 -2
- package/src/server/http/response.ts +7 -4
- package/src/server/http/sitemap.ts +1 -1
- package/src/server/main.ts +9 -2
- package/src/test.mjs +22 -18
- package/src/test_all.ts +20 -9
- package/src/zip/spec.txt +3260 -0
- package/build/components/button_bar.js +0 -16
- package/build/components/select.d.ts +0 -13
- package/build/components/test.js +0 -2
- package/build/display.js +0 -3
- package/build/dom/dom.d.ts +0 -27
- package/build/dom/form/form.app.d.ts +0 -1
- package/build/dom/form/form.d.ts +0 -25
- package/build/dom/html.d.ts +0 -117
- package/build/dom/router/link.d.ts +0 -6
- package/build/dom/svg.d.ts +0 -64
- package/build/dom/test.js +0 -2
- package/build/equal.d.ts +0 -4
- package/build/equal.js +0 -22
- package/build/index.d.ts +0 -13
- package/build/index.js +0 -13
- package/build/parcel_resolver.d.ts +0 -3
- package/build/parcel_resolver.js +0 -19
- package/build/test.mjs +0 -23
- package/build/test_all.js +0 -19
- package/src/observable/observable._js +0 -175
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.flex {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
&.row {
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
|
|
8
|
+
&.inline > * {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.justify-around {
|
|
14
|
+
justify-content: space-around;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.justify-between {
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.justify-center {
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.align-baseline {
|
|
26
|
+
align-items: baseline;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.align-center {
|
|
30
|
+
align-items: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.align-stretch {
|
|
34
|
+
align-items: stretch;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.align-end {
|
|
38
|
+
align-items: end;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@for $i from 1 through 4 {
|
|
42
|
+
& > .flex-#{$i} {
|
|
43
|
+
flex: $i;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@if ($enable-classes and $enable-grid) {
|
|
2
|
+
/**
|
|
3
|
+
* Grid
|
|
4
|
+
* Minimal grid system with auto-layout columns
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
.grid {
|
|
8
|
+
grid-column-gap: var(--grid-spacing-horizontal);
|
|
9
|
+
grid-row-gap: var(--grid-spacing-vertical);
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: 1fr;
|
|
12
|
+
margin: 0;
|
|
13
|
+
|
|
14
|
+
@if map-get($breakpoints, "lg") {
|
|
15
|
+
@media (min-width: map-get($breakpoints, "lg")) {
|
|
16
|
+
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& > * {
|
|
21
|
+
min-width: 0; // HACK for childs in overflow
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Horizontal scroller (<figure>)
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// Wrapper to make any content responsive across all viewports
|
|
6
|
+
figure {
|
|
7
|
+
display: block;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
overflow-x: auto;
|
|
11
|
+
|
|
12
|
+
figcaption {
|
|
13
|
+
padding: calc(var(--spacing) * 0.5) 0;
|
|
14
|
+
color: var(--muted-color);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sectioning
|
|
3
|
+
* Container and responsive spacings for header, main, footer
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Reboot based on :
|
|
7
|
+
// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
|
|
8
|
+
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
|
|
9
|
+
// ––––––––––––––––––––
|
|
10
|
+
|
|
11
|
+
// Render the `main` element consistently in IE
|
|
12
|
+
main {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Pico
|
|
17
|
+
// ––––––––––––––––––––
|
|
18
|
+
|
|
19
|
+
@import url("../themes/default/styles");
|
|
20
|
+
|
|
21
|
+
// 1. Remove the margin in all browsers (opinionated)
|
|
22
|
+
// 2. Body should be at least the height of the viewport (opinionated)
|
|
23
|
+
body {
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-height: 100vh; // 2
|
|
26
|
+
margin: 0; // 1
|
|
27
|
+
|
|
28
|
+
@if $enable-viewport == all {
|
|
29
|
+
> header,
|
|
30
|
+
> main,
|
|
31
|
+
> footer {
|
|
32
|
+
@include centered-viewport();
|
|
33
|
+
}
|
|
34
|
+
} @else if $enable-viewport == main {
|
|
35
|
+
> header,
|
|
36
|
+
> footer {
|
|
37
|
+
width: 100%;
|
|
38
|
+
margin: 0 auto;
|
|
39
|
+
padding: 0 var(--spacing);
|
|
40
|
+
}
|
|
41
|
+
> main {
|
|
42
|
+
// Semantic container
|
|
43
|
+
padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);
|
|
44
|
+
@include centered-viewport();
|
|
45
|
+
}
|
|
46
|
+
} @else {
|
|
47
|
+
> header,
|
|
48
|
+
> main,
|
|
49
|
+
> footer {
|
|
50
|
+
width: 100%;
|
|
51
|
+
margin: 0 auto;
|
|
52
|
+
padding: 0 var(--spacing);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Config
|
|
2
|
+
@import "variables";
|
|
3
|
+
|
|
4
|
+
@layer reset, theme, layout, content, component, utility, user;
|
|
5
|
+
|
|
6
|
+
@layer reset {
|
|
7
|
+
@import "reset/document";
|
|
8
|
+
@import "reset/typography";
|
|
9
|
+
@import "reset/embedded";
|
|
10
|
+
@import "reset/button";
|
|
11
|
+
@import "reset/form";
|
|
12
|
+
@import "reset/table";
|
|
13
|
+
@import "reset/misc";
|
|
14
|
+
@import "reset/nav";
|
|
15
|
+
@import "reset/progress";
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@layer theme {
|
|
19
|
+
@import "themes/default";
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@layer layout {
|
|
23
|
+
@import "layout/document"; // html
|
|
24
|
+
@import "layout/sectioning"; // body, header, main, footer
|
|
25
|
+
@import "layout/container"; // .container, .container-fluid
|
|
26
|
+
@import "layout/section"; // section
|
|
27
|
+
@import "layout/flex"; // .flex-*
|
|
28
|
+
@import "layout/grid"; // .grid
|
|
29
|
+
@import "layout/scroller"; // figure
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@layer content {
|
|
33
|
+
@import "content/typography"; // a, headings, p, ul, blockquote, ...
|
|
34
|
+
@import "content/embedded"; // audio, canvas, iframe, img, svg, video
|
|
35
|
+
@import "content/button"; // button, a[role=button], type=button, type=submit ...
|
|
36
|
+
@import "content/form"; // input, select, textarea, label, fieldset, legend
|
|
37
|
+
@import "content/toggle"; // type=checkbox, type=radio, role=switch
|
|
38
|
+
@import "content/form-alt"; // type=color, type=date, type=file, type=search, ...
|
|
39
|
+
@import "content/table"; // table, tr, td, ...
|
|
40
|
+
@import "content/code"; // pre, code, ...
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@layer component {
|
|
44
|
+
@import "components/accordion"; // details, summary
|
|
45
|
+
@import "components/card"; // article
|
|
46
|
+
@import "components/modal"; // dialog
|
|
47
|
+
@import "components/nav"; // nav
|
|
48
|
+
@import "components/progress"; // progress
|
|
49
|
+
@import "components/dropdown"; // details[role="list"], li[role="list"]
|
|
50
|
+
@import "components/property"; // dl, dt, dd
|
|
51
|
+
@import "components/button-group"; // .input-group, .button-group, fieldset
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Utilities
|
|
55
|
+
@layer utility {
|
|
56
|
+
@import "utilities/loading"; // aria-busy=true
|
|
57
|
+
@import "utilities/tooltip"; // data-tooltip
|
|
58
|
+
@import "utilities/accessibility"; // -ms-touch-action, aria-*
|
|
59
|
+
@import "utilities/reduce-motion"; // prefers-reduced-motion
|
|
60
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Change the cursor on control elements in all browsers (opinionated)
|
|
2
|
+
[aria-controls] {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// Change the cursor on disabled, not-editable, or otherwise inoperable elements in all browsers (opinionated)
|
|
7
|
+
[aria-disabled="true"],
|
|
8
|
+
[disabled] {
|
|
9
|
+
cursor: not-allowed;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Change the display on visually hidden accessible elements in all browsers (opinionated)
|
|
13
|
+
[aria-hidden="false"][hidden] {
|
|
14
|
+
display: initial;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[aria-hidden="false"][hidden]:not(:focus) {
|
|
18
|
+
clip: rect(0, 0, 0, 0);
|
|
19
|
+
position: absolute;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// User interaction
|
|
23
|
+
// Remove the tapping delay in IE 10
|
|
24
|
+
a,
|
|
25
|
+
area,
|
|
26
|
+
button,
|
|
27
|
+
input,
|
|
28
|
+
label,
|
|
29
|
+
select,
|
|
30
|
+
summary,
|
|
31
|
+
textarea,
|
|
32
|
+
[tabindex] {
|
|
33
|
+
-ms-touch-action: manipulation;
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// 1. Change the font styles in all browsers
|
|
2
|
+
// 2. Remove the margin on controls in Safari
|
|
3
|
+
// 3. Show the overflow in Edge
|
|
4
|
+
button {
|
|
5
|
+
margin: 0; // 2
|
|
6
|
+
overflow: visible; // 3
|
|
7
|
+
font-family: inherit; // 1
|
|
8
|
+
text-transform: none; // 1
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Correct the inability to style buttons in iOS and Safari
|
|
12
|
+
button,
|
|
13
|
+
[type="button"],
|
|
14
|
+
[type="reset"],
|
|
15
|
+
[type="submit"] {
|
|
16
|
+
-webkit-appearance: button;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// 1. Correct the inheritance and scaling of font size in all browsers
|
|
2
|
+
// 2. Correct the odd `em` font sizing in all browsers
|
|
3
|
+
pre,
|
|
4
|
+
code,
|
|
5
|
+
kbd,
|
|
6
|
+
samp {
|
|
7
|
+
font-size: 0.875em; // 2
|
|
8
|
+
font-family: var(--font-family); // 1
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Prevent overflow of the container in all browsers (opinionated)
|
|
12
|
+
pre {
|
|
13
|
+
-ms-overflow-style: scrollbar;
|
|
14
|
+
overflow: auto;
|
|
15
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Document
|
|
3
|
+
* Content-box & Responsive typography
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Reboot based on :
|
|
7
|
+
// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
|
|
8
|
+
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
|
|
9
|
+
// ––––––––––––––––––––
|
|
10
|
+
|
|
11
|
+
// 1. Add border box sizing in all browsers (opinionated)
|
|
12
|
+
// 2. Backgrounds do not repeat by default (opinionated)
|
|
13
|
+
*,
|
|
14
|
+
*::before,
|
|
15
|
+
*::after {
|
|
16
|
+
box-sizing: border-box; // 1
|
|
17
|
+
background-repeat: no-repeat; // 2
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// 1. Add text decoration inheritance in all browsers (opinionated)
|
|
21
|
+
// 2. Add vertical alignment inheritance in all browsers (opinionated)
|
|
22
|
+
::before,
|
|
23
|
+
::after {
|
|
24
|
+
text-decoration: inherit; // 1
|
|
25
|
+
vertical-align: inherit; // 2
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 1. Use the default cursor in all browsers (opinionated)
|
|
29
|
+
// 2. Change the line height in all browsers (opinionated)
|
|
30
|
+
// 3. Breaks words to prevent overflow in all browsers (opinionated)
|
|
31
|
+
// 4. Use a 4-space tab width in all browsers (opinionated)
|
|
32
|
+
// 5. Remove the grey highlight on links in iOS (opinionated)
|
|
33
|
+
// 6. Prevent adjustments of font size after orientation changes in iOS
|
|
34
|
+
:where(:root) {
|
|
35
|
+
// -webkit-tap-highlight-color: transparent; // 5
|
|
36
|
+
-webkit-text-size-adjust: 100%; // 6
|
|
37
|
+
text-size-adjust: 100%; // 6
|
|
38
|
+
text-rendering: optimizeLegibility;
|
|
39
|
+
background-color: var(--background-color);
|
|
40
|
+
color: var(--color);
|
|
41
|
+
font-weight: var(--font-weight);
|
|
42
|
+
font-size: var(--font-size);
|
|
43
|
+
line-height: var(--line-height); // 2
|
|
44
|
+
font-family: var(--font-family);
|
|
45
|
+
overflow-wrap: break-word; // 3
|
|
46
|
+
cursor: default; // 1
|
|
47
|
+
tab-size: 4; // 4
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Change the alignment on media elements in all browsers (opinionated)
|
|
2
|
+
:where(audio, canvas, iframe, img, svg, video) {
|
|
3
|
+
vertical-align: middle;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// Add the correct display in IE 9-
|
|
7
|
+
audio,
|
|
8
|
+
video {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Add the correct display in iOS 4-7
|
|
13
|
+
audio:not([controls]) {
|
|
14
|
+
display: none;
|
|
15
|
+
height: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// Remove the border on iframes in all browsers (opinionated)
|
|
19
|
+
:where(iframe) {
|
|
20
|
+
border-style: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// 1. Remove the border on images inside links in IE 10.
|
|
24
|
+
// 2. Responsive by default
|
|
25
|
+
img {
|
|
26
|
+
max-width: 100%; // 2
|
|
27
|
+
height: auto; // 2
|
|
28
|
+
border-style: none; // 1
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Change the fill color to match the text color in all browsers (opinionated)
|
|
32
|
+
:where(svg:not([fill])) {
|
|
33
|
+
fill: currentColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Hide the overflow in IE
|
|
37
|
+
svg:not(:root) {
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// 1. Change the font styles in all browsers
|
|
2
|
+
// 2. Remove the margin in Firefox and Safari
|
|
3
|
+
input,
|
|
4
|
+
optgroup,
|
|
5
|
+
select,
|
|
6
|
+
textarea {
|
|
7
|
+
margin: 0; // 2
|
|
8
|
+
font-size: 1rem; // 1
|
|
9
|
+
line-height: var(--line-height); // 1
|
|
10
|
+
font-family: inherit; // 1
|
|
11
|
+
letter-spacing: inherit; // 2
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Show the overflow in IE.
|
|
15
|
+
input {
|
|
16
|
+
overflow: visible;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Remove the inheritance of text transform in Edge, Firefox, and IE
|
|
20
|
+
select {
|
|
21
|
+
text-transform: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// 1. Correct the text wrapping in Edge and IE
|
|
25
|
+
// 2. Correct the color inheritance from `fieldset` elements in IE
|
|
26
|
+
// 3. Remove the padding so developers are not caught out when they zero out
|
|
27
|
+
// `fieldset` elements in all browsers
|
|
28
|
+
legend {
|
|
29
|
+
max-width: 100%; // 1
|
|
30
|
+
padding: 0; // 3
|
|
31
|
+
color: inherit; // 2
|
|
32
|
+
white-space: normal; // 1
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// 1. Remove the default vertical scrollbar in IE
|
|
36
|
+
textarea {
|
|
37
|
+
overflow: auto; // 1
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Remove the padding in IE 10
|
|
41
|
+
[type="checkbox"],
|
|
42
|
+
[type="radio"] {
|
|
43
|
+
padding: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Correct the cursor style of increment and decrement buttons in Safari
|
|
47
|
+
::-webkit-inner-spin-button,
|
|
48
|
+
::-webkit-outer-spin-button {
|
|
49
|
+
height: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// 1. Correct the odd appearance in Chrome and Safari
|
|
53
|
+
// 2. Correct the outline style in Safari
|
|
54
|
+
[type="search"] {
|
|
55
|
+
-webkit-appearance: textfield; // 1
|
|
56
|
+
outline-offset: -2px; // 2
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Remove the inner padding in Chrome and Safari on macOS
|
|
60
|
+
[type="search"]::-webkit-search-decoration {
|
|
61
|
+
-webkit-appearance: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 1. Correct the inability to style clickable types in iOS and Safari
|
|
65
|
+
// 2. Change font properties to `inherit` in Safari
|
|
66
|
+
::-webkit-file-upload-button {
|
|
67
|
+
-webkit-appearance: button; // 1
|
|
68
|
+
font: inherit; // 2
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Remove the inner border and padding of focus outlines in Firefox
|
|
72
|
+
::-moz-focus-inner {
|
|
73
|
+
padding: 0;
|
|
74
|
+
border-style: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Remove the focus outline in Firefox
|
|
78
|
+
:-moz-focusring {
|
|
79
|
+
outline: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Remove the additional :invalid styles in Firefox
|
|
83
|
+
:-moz-ui-invalid {
|
|
84
|
+
box-shadow: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Change the inconsistent appearance in IE (opinionated)
|
|
88
|
+
::-ms-expand {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Remove the border and padding in all browsers (opinionated)
|
|
93
|
+
[type="file"],
|
|
94
|
+
[type="range"] {
|
|
95
|
+
padding: 0;
|
|
96
|
+
border-width: 0;
|
|
97
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// 1. Correct the inheritance of border color in Firefox
|
|
2
|
+
// 2. Add the correct box sizing in Firefox
|
|
3
|
+
hr {
|
|
4
|
+
height: 0; // 2
|
|
5
|
+
border: 0;
|
|
6
|
+
border-top: 1px solid var(--muted-border-color);
|
|
7
|
+
color: inherit; // 1
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Add the correct display in IE 10+
|
|
11
|
+
[hidden],
|
|
12
|
+
template {
|
|
13
|
+
@if $enable-important {
|
|
14
|
+
display: none !important;
|
|
15
|
+
} @else {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Add the correct display in IE 9-
|
|
21
|
+
canvas {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// reboot based on :
|
|
2
|
+
// - normalize.css v8.0.1 | mit license | github.com/necolas/normalize.css
|
|
3
|
+
// - sanitize.css v13.0.0 | cc0 1.0 universal | github.com/csstools/sanitize.css
|
|
4
|
+
// ––––––––––––––––––––
|
|
5
|
+
|
|
6
|
+
// add the correct font weight in chrome, edge, and safari
|
|
7
|
+
b,
|
|
8
|
+
strong {
|
|
9
|
+
font-weight: bolder;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// prevent `sub` and `sup` elements from affecting the line height in all browsers
|
|
13
|
+
sub,
|
|
14
|
+
sup {
|
|
15
|
+
position: relative;
|
|
16
|
+
font-size: 0.75em;
|
|
17
|
+
line-height: 0;
|
|
18
|
+
vertical-align: baseline;
|
|
19
|
+
}
|
|
20
|
+
sub {
|
|
21
|
+
bottom: -0.25em;
|
|
22
|
+
}
|
|
23
|
+
sup {
|
|
24
|
+
top: -0.5em;
|
|
25
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Black & White
|
|
2
|
+
$black: #000 !default;
|
|
3
|
+
$white: #fff !default;
|
|
4
|
+
|
|
5
|
+
// Navy-Grey
|
|
6
|
+
$grey-hue: 205 !default;
|
|
7
|
+
$grey-50: hsl($grey-hue, 20%, 94%) !default;
|
|
8
|
+
$grey-100: hsl($grey-hue, 18%, 86%) !default;
|
|
9
|
+
$grey-200: hsl($grey-hue, 16%, 77%) !default;
|
|
10
|
+
$grey-300: hsl($grey-hue, 14%, 68%) !default;
|
|
11
|
+
$grey-400: hsl($grey-hue, 12%, 59%) !default;
|
|
12
|
+
$grey-500: hsl($grey-hue, 10%, 50%) !default;
|
|
13
|
+
$grey-600: hsl($grey-hue, 15%, 41%) !default;
|
|
14
|
+
$grey-700: hsl($grey-hue, 20%, 32%) !default;
|
|
15
|
+
$grey-800: hsl($grey-hue, 25%, 23%) !default;
|
|
16
|
+
$grey-900: hsl($grey-hue, 30%, 15%) !default;
|
|
17
|
+
|
|
18
|
+
// Light Blue
|
|
19
|
+
$primary-hue: 195 !default;
|
|
20
|
+
$primary-50: hsl($primary-hue, 90%, 94%) !default;
|
|
21
|
+
$primary-100: hsl($primary-hue, 88%, 86%) !default;
|
|
22
|
+
$primary-200: hsl($primary-hue, 86%, 77%) !default;
|
|
23
|
+
$primary-300: hsl($primary-hue, 84%, 68%) !default;
|
|
24
|
+
$primary-400: hsl($primary-hue, 82%, 59%) !default;
|
|
25
|
+
$primary-500: hsl($primary-hue, 80%, 50%) !default;
|
|
26
|
+
$primary-600: hsl($primary-hue, 85%, 41%) !default;
|
|
27
|
+
$primary-700: hsl($primary-hue, 90%, 32%) !default;
|
|
28
|
+
$primary-800: hsl($primary-hue, 95%, 23%) !default;
|
|
29
|
+
$primary-900: hsl($primary-hue, 100%, 15%) !default;
|
|
30
|
+
|
|
31
|
+
// Amber
|
|
32
|
+
$amber-50: #fff8e1 !default;
|
|
33
|
+
$amber-100: #ffecb3 !default;
|
|
34
|
+
$amber-200: #ffe082 !default;
|
|
35
|
+
$amber-300: #ffd54f !default;
|
|
36
|
+
$amber-400: #ffca28 !default;
|
|
37
|
+
$amber-500: #ffc107 !default;
|
|
38
|
+
$amber-600: #ffb300 !default;
|
|
39
|
+
$amber-700: #ffa000 !default;
|
|
40
|
+
$amber-800: #ff8f00 !default;
|
|
41
|
+
$amber-900: #ff6f00 !default;
|
|
42
|
+
|
|
43
|
+
// Green
|
|
44
|
+
$green-50: #e8f5e9 !default;
|
|
45
|
+
$green-100: #c8e6c9 !default;
|
|
46
|
+
$green-200: #a5d6a7 !default;
|
|
47
|
+
$green-300: #81c784 !default;
|
|
48
|
+
$green-400: #66bb6a !default;
|
|
49
|
+
$green-500: #4caf50 !default;
|
|
50
|
+
$green-600: #43a047 !default;
|
|
51
|
+
$green-700: #388e3c !default;
|
|
52
|
+
$green-800: #2e7d32 !default;
|
|
53
|
+
$green-900: #1b5e20 !default;
|
|
54
|
+
|
|
55
|
+
// Red
|
|
56
|
+
$red-50: #ffebee !default;
|
|
57
|
+
$red-100: #ffcdd2 !default;
|
|
58
|
+
$red-200: #ef9a9a !default;
|
|
59
|
+
$red-300: #e57373 !default;
|
|
60
|
+
$red-400: #ef5350 !default;
|
|
61
|
+
$red-500: #f44336 !default;
|
|
62
|
+
$red-600: #e53935 !default;
|
|
63
|
+
$red-700: #d32f2f !default;
|
|
64
|
+
$red-800: #c62828 !default;
|
|
65
|
+
$red-900: #b71c1c !default;
|