@schukai/monster 3.51.4 → 3.52.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +706 -0
- package/README.md +16 -13
- package/example/components/form/button.mjs +10 -0
- package/example/components/form/select.mjs +25 -0
- package/example/components/form/tree-select.mjs +27 -0
- package/example/components/host/host.mjs +0 -0
- package/example/components/notify/message.mjs +4 -0
- package/example/components/notify/notify.mjs +4 -0
- package/example/components/state/log.mjs +0 -0
- package/example/components/state/state.mjs +0 -0
- package/package.json +6 -2
- package/source/components/constants.mjs +132 -0
- package/source/components/datatable/columnbar.mjs +310 -0
- package/source/components/datatable/constants.mjs +121 -0
- package/source/components/datatable/dataset.mjs +219 -0
- package/source/components/datatable/datasource/dom.mjs +186 -0
- package/source/components/datatable/datasource/namespace.mjs +13 -0
- package/source/components/datatable/datasource/rest.mjs +400 -0
- package/source/components/datatable/datasource.mjs +102 -0
- package/source/components/datatable/datatable/header.mjs +268 -0
- package/source/components/datatable/datatable/namespace.mjs +13 -0
- package/source/components/datatable/datatable.mjs +789 -0
- package/source/components/datatable/embedded-pagination.mjs +113 -0
- package/source/components/datatable/filter/abstract-base.mjs +31 -0
- package/source/components/datatable/filter/date-range.mjs +1041 -0
- package/source/components/datatable/filter/input.mjs +175 -0
- package/source/components/datatable/filter/namespace.mjs +13 -0
- package/source/components/datatable/filter/range.mjs +671 -0
- package/source/components/datatable/filter/select.mjs +65 -0
- package/source/components/datatable/filter/settings.mjs +116 -0
- package/source/components/datatable/filter-button.mjs +98 -0
- package/source/components/datatable/filter.mjs +929 -0
- package/source/components/datatable/namespace.mjs +11 -0
- package/source/components/datatable/pagination.mjs +456 -0
- package/source/components/datatable/style/column-bar.pcss +123 -0
- package/source/components/datatable/style/dataset.pcss +13 -0
- package/source/components/datatable/style/datasource.pcss +16 -0
- package/source/components/datatable/style/datatable.pcss +239 -0
- package/source/components/datatable/style/embedded-pagination.pcss +101 -0
- package/source/components/datatable/style/filter-button.pcss +22 -0
- package/source/components/datatable/style/filter-controls-defaults.pcss +46 -0
- package/source/components/datatable/style/filter-date-range.pcss +9 -0
- package/source/components/datatable/style/filter-range.pcss +5 -0
- package/source/components/datatable/style/filter.pcss +156 -0
- package/source/components/datatable/style/pagination.pcss +59 -0
- package/source/components/datatable/style/select-filter.pcss +27 -0
- package/source/components/datatable/stylesheet/column-bar.mjs +33 -0
- package/source/components/datatable/stylesheet/dataset.mjs +33 -0
- package/source/components/datatable/stylesheet/datasource.mjs +33 -0
- package/source/components/datatable/stylesheet/datatable.mjs +33 -0
- package/source/components/datatable/stylesheet/embedded-pagination.mjs +33 -0
- package/source/components/datatable/stylesheet/filter-button.mjs +33 -0
- package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +33 -0
- package/source/components/datatable/stylesheet/filter-date-range.mjs +33 -0
- package/source/components/datatable/stylesheet/filter-range.mjs +33 -0
- package/source/components/datatable/stylesheet/filter.mjs +33 -0
- package/source/components/datatable/stylesheet/namespace.mjs +13 -0
- package/source/components/datatable/stylesheet/pagination.mjs +33 -0
- package/source/components/datatable/stylesheet/select-filter.mjs +33 -0
- package/source/components/datatable/util.mjs +60 -0
- package/source/components/form/action-button.mjs +262 -0
- package/source/components/form/api-button.mjs +515 -0
- package/source/components/form/button-bar.mjs +739 -0
- package/source/components/form/button.mjs +350 -0
- package/source/components/form/confirm-button.mjs +330 -0
- package/source/components/form/constants.mjs +111 -0
- package/source/components/form/context-help.mjs +123 -0
- package/source/components/form/events.mjs +84 -0
- package/source/components/form/form.mjs +601 -0
- package/source/components/form/message-state-button.mjs +396 -0
- package/source/components/form/namespace.mjs +13 -0
- package/source/components/form/popper-button.mjs +435 -0
- package/source/components/form/popper.mjs +487 -0
- package/source/components/form/reload.mjs +360 -0
- package/source/components/form/select.mjs +2314 -0
- package/source/components/form/shadow-reload.mjs +137 -0
- package/source/components/form/state-button.mjs +182 -0
- package/source/components/form/style/action-button.pcss +41 -0
- package/source/components/form/style/api-button.pcss +0 -0
- package/source/components/form/style/button-bar.pcss +51 -0
- package/source/components/form/style/button.pcss +8 -0
- package/source/components/form/style/confirm-button.pcss +17 -0
- package/source/components/form/style/context-help.pcss +16 -0
- package/source/components/form/style/form.pcss +10 -0
- package/source/components/form/style/message-state-button.pcss +10 -0
- package/source/components/form/style/popper-button.pcss +16 -0
- package/source/components/form/style/popper.pcss +8 -0
- package/source/components/form/style/select.pcss +265 -0
- package/source/components/form/style/state-button.pcss +116 -0
- package/source/components/form/style/tabs.pcss +170 -0
- package/source/components/form/style/tree-select.pcss +81 -0
- package/source/components/form/stylesheet/action-button.mjs +33 -0
- package/source/components/form/stylesheet/api-button.mjs +33 -0
- package/source/components/form/stylesheet/button-bar.mjs +33 -0
- package/source/components/form/stylesheet/button.mjs +33 -0
- package/source/components/form/stylesheet/confirm-button.mjs +33 -0
- package/source/components/form/stylesheet/context-help.mjs +33 -0
- package/source/components/form/stylesheet/form.mjs +33 -0
- package/source/components/form/stylesheet/message-state-button.mjs +33 -0
- package/source/components/form/stylesheet/namespace.mjs +13 -0
- package/source/components/form/stylesheet/popper-button.mjs +33 -0
- package/source/components/form/stylesheet/popper.mjs +33 -0
- package/source/components/form/stylesheet/select.mjs +33 -0
- package/source/components/form/stylesheet/state-button.mjs +33 -0
- package/source/components/form/stylesheet/tabs.mjs +33 -0
- package/source/components/form/stylesheet/tree-select.mjs +33 -0
- package/source/components/form/tabs.mjs +1011 -0
- package/source/components/form/template.mjs +373 -0
- package/source/components/form/tree-select.mjs +527 -0
- package/source/components/form/types/namespace.mjs +13 -0
- package/source/components/form/types/state.mjs +93 -0
- package/source/components/form/util/fetch.mjs +133 -0
- package/source/components/form/util/floating-ui.mjs +245 -0
- package/source/components/form/util/namespace.mjs +13 -0
- package/source/components/form/util/popper.mjs +49 -0
- package/source/components/host/call-button.mjs +236 -0
- package/source/components/host/collapse.mjs +526 -0
- package/source/components/host/config-manager.mjs +304 -0
- package/source/components/host/constants.mjs +18 -0
- package/source/components/host/details.mjs +268 -0
- package/source/components/host/events.mjs +131 -0
- package/source/components/host/host.mjs +420 -0
- package/source/components/host/namespace.mjs +13 -0
- package/source/components/host/overlay.mjs +339 -0
- package/source/components/host/style/call-button.pcss +36 -0
- package/source/components/host/style/collapse.pcss +67 -0
- package/source/components/host/style/config-manager.pcss +5 -0
- package/source/components/host/style/details.pcss +68 -0
- package/source/components/host/style/host.pcss +43 -0
- package/source/components/host/style/overlay.pcss +73 -0
- package/source/components/host/style/toggle-button.pcss +36 -0
- package/source/components/host/style/viewer.pcss +13 -0
- package/source/components/host/stylesheet/call-button.mjs +33 -0
- package/source/components/host/stylesheet/collapse.mjs +33 -0
- package/source/components/host/stylesheet/config-manager.mjs +33 -0
- package/source/components/host/stylesheet/details.mjs +33 -0
- package/source/components/host/stylesheet/host.mjs +33 -0
- package/source/components/host/stylesheet/namespace.mjs +13 -0
- package/source/components/host/stylesheet/overlay.mjs +33 -0
- package/source/components/host/stylesheet/toggle-button.mjs +33 -0
- package/source/components/host/stylesheet/viewer.mjs +33 -0
- package/source/components/host/toggle-button.mjs +88 -0
- package/source/components/host/util.mjs +23 -0
- package/source/components/host/viewer.mjs +309 -0
- package/source/components/namespace.mjs +14 -0
- package/source/components/notify/constants.mjs +15 -0
- package/source/components/notify/events.mjs +15 -0
- package/source/components/notify/message.mjs +374 -0
- package/source/components/notify/namespace.mjs +15 -0
- package/source/components/notify/notify.mjs +236 -0
- package/source/components/notify/style/message.pcss +57 -0
- package/source/components/notify/style/notify.pcss +118 -0
- package/source/components/notify/stylesheet/message.mjs +33 -0
- package/source/components/notify/stylesheet/namespace.mjs +15 -0
- package/source/components/notify/stylesheet/notify.mjs +33 -0
- package/source/components/state/log/entry.mjs +126 -0
- package/source/components/state/log/namespace.mjs +13 -0
- package/source/components/state/log.mjs +275 -0
- package/source/components/state/namespace.mjs +13 -0
- package/source/components/state/state.mjs +131 -0
- package/source/components/state/style/log.pcss +111 -0
- package/source/components/state/style/state.pcss +113 -0
- package/source/components/state/stylesheet/log.mjs +33 -0
- package/source/components/state/stylesheet/state.mjs +33 -0
- package/source/components/style/badge.pcss +92 -0
- package/source/components/style/border.pcss +77 -0
- package/source/components/style/button.pcss +105 -0
- package/source/components/style/card.pcss +108 -0
- package/source/components/style/color.pcss +257 -0
- package/source/components/style/common.pcss +103 -0
- package/source/components/style/control.pcss +11 -0
- package/source/components/style/data-grid.pcss +43 -0
- package/source/components/style/display.pcss +42 -0
- package/source/components/style/floating-ui.pcss +33 -0
- package/source/components/style/form.pcss +5 -0
- package/source/components/style/host.pcss +15 -0
- package/source/components/style/link.pcss +63 -0
- package/source/components/style/mixin/badge.pcss +18 -0
- package/source/components/style/mixin/button.pcss +54 -0
- package/source/components/style/mixin/form.pcss +247 -0
- package/source/components/style/mixin/hover.pcss +8 -0
- package/source/components/style/mixin/media.pcss +107 -0
- package/source/components/style/mixin/property.pcss +288 -0
- package/source/components/style/mixin/skeleton.pcss +26 -0
- package/source/components/style/mixin/spinner.pcss +24 -0
- package/source/components/style/mixin/typography.pcss +52 -0
- package/source/components/style/normalize.pcss +14 -0
- package/source/components/style/popper.pcss +78 -0
- package/source/components/style/property.pcss +17 -0
- package/source/components/style/ripple.pcss +14 -0
- package/source/components/style/skeleton.pcss +28 -0
- package/source/components/style/space.pcss +47 -0
- package/source/components/style/spinner.pcss +6 -0
- package/source/components/style/table.pcss +46 -0
- package/source/components/style/theme.pcss +119 -0
- package/source/components/style/typography.pcss +131 -0
- package/source/components/stylesheet/badge.mjs +33 -0
- package/source/components/stylesheet/border.mjs +33 -0
- package/source/components/stylesheet/button.mjs +33 -0
- package/source/components/stylesheet/card.mjs +33 -0
- package/source/components/stylesheet/color.mjs +33 -0
- package/source/components/stylesheet/common.mjs +33 -0
- package/source/components/stylesheet/control.mjs +33 -0
- package/source/components/stylesheet/data-grid.mjs +33 -0
- package/source/components/stylesheet/display.mjs +33 -0
- package/source/components/stylesheet/floating-ui.mjs +33 -0
- package/source/components/stylesheet/form.mjs +33 -0
- package/source/components/stylesheet/host.mjs +33 -0
- package/source/components/stylesheet/link.mjs +33 -0
- package/source/components/stylesheet/namespace.mjs +13 -0
- package/source/components/stylesheet/normalize.mjs +33 -0
- package/source/components/stylesheet/popper.mjs +33 -0
- package/source/components/stylesheet/property.mjs +33 -0
- package/source/components/stylesheet/ripple.mjs +33 -0
- package/source/components/stylesheet/skeleton.mjs +33 -0
- package/source/components/stylesheet/space.mjs +33 -0
- package/source/components/stylesheet/spinner.mjs +33 -0
- package/source/components/stylesheet/table.mjs +33 -0
- package/source/components/stylesheet/theme.mjs +33 -0
- package/source/components/stylesheet/tree-menu.mjs +33 -0
- package/source/components/stylesheet/typography.mjs +33 -0
- package/source/components/tree-menu/namespace.mjs +13 -0
- package/source/components/tree-menu/style/tree-menu.pcss +107 -0
- package/source/components/tree-menu/stylesheet/namespace.mjs +13 -0
- package/source/components/tree-menu/stylesheet/tree-menu.mjs +33 -0
- package/source/components/tree-menu/tree-menu.mjs +660 -0
- package/source/constraints/abstract.mjs +17 -24
- package/source/constraints/abstractoperator.mjs +27 -22
- package/source/constraints/andoperator.mjs +20 -17
- package/source/constraints/invalid.mjs +17 -17
- package/source/constraints/isarray.mjs +20 -20
- package/source/constraints/isobject.mjs +20 -20
- package/source/constraints/oroperator.mjs +45 -45
- package/source/constraints/valid.mjs +17 -17
- package/source/data/buildmap.mjs +108 -103
- package/source/data/buildtree.mjs +59 -57
- package/source/data/datasource/dom.mjs +80 -84
- package/source/data/datasource/namespace.mjs +1 -1
- package/source/data/datasource/server/restapi/data-fetch-error.mjs +27 -25
- package/source/data/datasource/server/restapi/writeerror.mjs +34 -32
- package/source/data/datasource/server/restapi.mjs +176 -177
- package/source/data/datasource/server/webconnect.mjs +150 -156
- package/source/data/datasource/server.mjs +58 -59
- package/source/data/datasource/storage/localstorage.mjs +25 -24
- package/source/data/datasource/storage/sessionstorage.mjs +28 -25
- package/source/data/datasource/storage.mjs +74 -73
- package/source/data/datasource.mjs +176 -167
- package/source/data/diff.mjs +98 -97
- package/source/data/extend.mjs +42 -42
- package/source/data/pathfinder.mjs +301 -288
- package/source/data/pipe.mjs +36 -36
- package/source/data/transformer.mjs +742 -726
- package/source/dom/assembler.mjs +44 -44
- package/source/dom/attributes.mjs +142 -122
- package/source/dom/constants.mjs +62 -58
- package/source/dom/customcontrol.mjs +299 -299
- package/source/dom/customelement.mjs +843 -806
- package/source/dom/dimension.mjs +56 -46
- package/source/dom/events.mjs +74 -69
- package/source/dom/focusmanager.mjs +175 -175
- package/source/dom/locale.mjs +28 -28
- package/source/dom/ready.mjs +13 -13
- package/source/dom/resource/data.mjs +117 -111
- package/source/dom/resource/link/stylesheet.mjs +16 -16
- package/source/dom/resource/link.mjs +94 -96
- package/source/dom/resource/script.mjs +72 -74
- package/source/dom/resource.mjs +174 -172
- package/source/dom/resourcemanager.mjs +152 -156
- package/source/dom/slotted.mjs +78 -80
- package/source/dom/template.mjs +126 -112
- package/source/dom/theme.mjs +35 -35
- package/source/dom/updater.mjs +673 -651
- package/source/dom/util/extract-keys.mjs +34 -22
- package/source/dom/util/init-options-from-attributes.mjs +46 -38
- package/source/dom/util/namespace.mjs +13 -0
- package/source/dom/util/set-option-from-attribute.mjs +35 -29
- package/source/dom/util.mjs +112 -81
- package/source/dom/worker/factory.mjs +83 -83
- package/source/i18n/formatter.mjs +75 -73
- package/source/i18n/locale.mjs +146 -144
- package/source/i18n/provider.mjs +70 -64
- package/source/i18n/providers/embed.mjs +136 -127
- package/source/i18n/providers/fetch.mjs +84 -76
- package/source/i18n/translations.mjs +205 -195
- package/source/logging/handler/console.mjs +36 -36
- package/source/logging/handler.mjs +140 -140
- package/source/logging/logentry.mjs +25 -25
- package/source/logging/logger.mjs +177 -175
- package/source/math/random.mjs +63 -59
- package/source/monster.mjs +226 -217
- package/source/net/webconnect/message.mjs +31 -31
- package/source/net/webconnect.mjs +278 -271
- package/source/text/bracketed-key-value-hash.mjs +182 -179
- package/source/text/formatter.mjs +235 -210
- package/source/text/generate-range-comparison-expression.mjs +56 -34
- package/source/text/namespace.mjs +1 -1
- package/source/types/base.mjs +69 -61
- package/source/types/basewithoptions.mjs +46 -46
- package/source/types/binary.mjs +20 -20
- package/source/types/dataurl.mjs +96 -90
- package/source/types/global.mjs +45 -39
- package/source/types/id.mjs +25 -25
- package/source/types/internal.mjs +115 -114
- package/source/types/is.mjs +56 -40
- package/source/types/mediatype.mjs +119 -119
- package/source/types/namespace.mjs +1 -1
- package/source/types/node.mjs +160 -150
- package/source/types/nodelist.mjs +94 -96
- package/source/types/noderecursiveiterator.mjs +50 -50
- package/source/types/observablequeue.mjs +73 -73
- package/source/types/observer.mjs +104 -104
- package/source/types/observerlist.mjs +66 -66
- package/source/types/proxyobserver.mjs +210 -210
- package/source/types/queue.mjs +63 -63
- package/source/types/randomid.mjs +13 -13
- package/source/types/regex.mjs +3 -1
- package/source/types/stack.mjs +64 -64
- package/source/types/tokenlist.mjs +206 -205
- package/source/types/typeof.mjs +12 -10
- package/source/types/uniquequeue.mjs +48 -48
- package/source/types/uuid.mjs +32 -32
- package/source/types/validate.mjs +67 -67
- package/source/types/version.mjs +115 -105
- package/source/util/clone.mjs +103 -91
- package/source/util/comparator.mjs +97 -97
- package/source/util/deadmansswitch.mjs +40 -44
- package/source/util/freeze.mjs +10 -9
- package/source/util/namespace.mjs +1 -1
- package/source/util/processing.mjs +104 -105
- package/source/util/runtime.mjs +56 -44
- package/source/util/trimspaces.mjs +24 -24
- package/test/cases/components/form/button.mjs +122 -0
- package/test/cases/components/form/confirm-button.mjs +127 -0
- package/test/cases/components/form/form.mjs +317 -0
- package/test/cases/components/form/reload.mjs +188 -0
- package/test/cases/components/form/select.mjs +229 -0
- package/test/cases/components/form/state-button.mjs +130 -0
- package/test/cases/components/form/tabs.mjs +98 -0
- package/test/cases/components/form/template.mjs +189 -0
- package/test/cases/components/form/tree-select.mjs +216 -0
- package/test/cases/components/host/details.mjs +68 -0
- package/test/cases/components/host/host.mjs +70 -0
- package/test/cases/components/host/overlay.mjs +60 -0
- package/test/cases/components/host/util.mjs +79 -0
- package/test/cases/components/notify/message.mjs +39 -0
- package/test/cases/components/notify/notify.mjs +89 -0
- package/test/cases/constraint/abstractoperator.mjs +2 -2
- package/test/cases/constraint/andoperator.mjs +3 -3
- package/test/cases/constraint/invalid.mjs +1 -1
- package/test/cases/constraint/isarray.mjs +1 -1
- package/test/cases/constraint/isobject.mjs +1 -1
- package/test/cases/constraint/oroperator.mjs +3 -3
- package/test/cases/constraint/valid.mjs +1 -1
- package/test/cases/data/buildmap.mjs +1 -1
- package/test/cases/data/buildtree.mjs +2 -2
- package/test/cases/data/datasource/dom.mjs +1 -1
- package/test/cases/data/datasource/server/restapi.mjs +2 -2
- package/test/cases/data/datasource/server/websocket.mjs +1 -1
- package/test/cases/data/datasource/server.mjs +1 -1
- package/test/cases/data/datasource/storage/localstorage.mjs +1 -1
- package/test/cases/data/datasource/storage/sessionstorage.mjs +1 -1
- package/test/cases/data/datasource.mjs +1 -1
- package/test/cases/data/diff.mjs +2 -2
- package/test/cases/data/extend.mjs +1 -1
- package/test/cases/data/pathfinder.mjs +1 -1
- package/test/cases/data/pipe.mjs +2 -2
- package/test/cases/data/transformer.mjs +3 -4
- package/test/cases/dom/assembler.mjs +1 -1
- package/test/cases/dom/attributes.mjs +1 -1
- package/test/cases/dom/customcontrol.mjs +8 -7
- package/test/cases/dom/customelement-initfromscripthost.mjs +6 -6
- package/test/cases/dom/customelement.mjs +7 -7
- package/test/cases/dom/dimension.mjs +4 -4
- package/test/cases/dom/events.mjs +1 -1
- package/test/cases/dom/find.mjs +1 -1
- package/test/cases/dom/focusmanager.mjs +1 -1
- package/test/cases/dom/locale.mjs +2 -2
- package/test/cases/dom/ready.mjs +1 -1
- package/test/cases/dom/resource/data.mjs +3 -3
- package/test/cases/dom/resource/link/stylesheet.mjs +3 -3
- package/test/cases/dom/resource/link.mjs +3 -3
- package/test/cases/dom/resource/script.mjs +3 -3
- package/test/cases/dom/resource.mjs +1 -1
- package/test/cases/dom/resourcemanager.mjs +1 -1
- package/test/cases/dom/slotted-nodes.mjs +1 -1
- package/test/cases/dom/template.mjs +2 -2
- package/test/cases/dom/theme.mjs +2 -2
- package/test/cases/dom/updater.mjs +4 -4
- package/test/cases/dom/util/extract-keys.mjs +1 -1
- package/test/cases/dom/util/init-options-from-attributes.mjs +1 -1
- package/test/cases/dom/util.mjs +2 -2
- package/test/cases/dom/worker/factory.mjs +2 -2
- package/test/cases/i18n/formatter.mjs +2 -2
- package/test/cases/i18n/locale.mjs +1 -1
- package/test/cases/i18n/provider.mjs +4 -4
- package/test/cases/i18n/providers/embed.mjs +3 -3
- package/test/cases/i18n/providers/fetch.mjs +3 -3
- package/test/cases/i18n/translations.mjs +3 -3
- package/test/cases/logging/handler/console.mjs +3 -3
- package/test/cases/logging/handler.mjs +3 -3
- package/test/cases/logging/logentry.mjs +1 -1
- package/test/cases/logging/logger.mjs +1 -1
- package/test/cases/math/random.mjs +1 -2
- package/test/cases/monster.mjs +2 -2
- package/test/cases/net/webconnect/message.mjs +1 -2
- package/test/cases/net/webconnect.mjs +3 -3
- package/test/cases/text/bracketed-key-value-hash.mjs +1 -1
- package/test/cases/text/formatter.mjs +1 -1
- package/test/cases/text/util.mjs +1 -1
- package/test/cases/types/base.mjs +2 -2
- package/test/cases/types/basewithoptions.mjs +1 -1
- package/test/cases/types/binary.mjs +1 -1
- package/test/cases/types/dataurl.mjs +1 -1
- package/test/cases/types/global.mjs +1 -1
- package/test/cases/types/id.mjs +1 -1
- package/test/cases/types/internal.mjs +2 -2
- package/test/cases/types/is.mjs +2 -2
- package/test/cases/types/mediatype.mjs +1 -1
- package/test/cases/types/node.mjs +4 -4
- package/test/cases/types/nodelist.mjs +2 -2
- package/test/cases/types/noderecursiveiterator.mjs +3 -3
- package/test/cases/types/observablequeue.mjs +2 -2
- package/test/cases/types/observer.mjs +1 -1
- package/test/cases/types/observerlist.mjs +2 -2
- package/test/cases/types/proxyobserver.mjs +4 -4
- package/test/cases/types/queue.mjs +1 -1
- package/test/cases/types/randomid.mjs +1 -1
- package/test/cases/types/regex.mjs +1 -1
- package/test/cases/types/stack.mjs +1 -1
- package/test/cases/types/tokenlist.mjs +1 -1
- package/test/cases/types/typeof.mjs +2 -2
- package/test/cases/types/uniquequeue.mjs +1 -1
- package/test/cases/types/uuid.mjs +1 -1
- package/test/cases/types/validate.mjs +3 -3
- package/test/cases/types/version.mjs +1 -1
- package/test/cases/util/clone.mjs +1 -1
- package/test/cases/util/comparator.mjs +1 -1
- package/test/cases/util/deadmansswitch.mjs +1 -1
- package/test/cases/util/freeze.mjs +1 -1
- package/test/cases/util/processing.mjs +1 -1
- package/test/cases/util/trimspaces.mjs +1 -1
- package/test/util/chai-dom.mjs +2 -2
- package/test/util/intersection-mock.mjs +69 -0
- package/test/util/jsdom.mjs +43 -27
- package/test/util/localstorage.mjs +1 -0
- package/test/util/resize-observer.mjs +29 -0
- package/test/util/websocket.mjs +5 -2
- package/test/web/import.js +92 -73
- package/test/web/test.html +28 -5
- package/test/web/tests.js +29430 -15209
- package/CHANGELOG +0 -438
@@ -0,0 +1,108 @@
|
|
1
|
+
@import "mixin/hover.pcss";
|
2
|
+
|
3
|
+
|
4
|
+
.cards {
|
5
|
+
display: grid;
|
6
|
+
grid-template-columns: repeat(4, 1fr);
|
7
|
+
grid-gap: 22px;
|
8
|
+
|
9
|
+
& .card {
|
10
|
+
|
11
|
+
display: flex;
|
12
|
+
background-color: var(--monster-bg-color-primary-1);
|
13
|
+
color: var(--monster-color-primary-1);
|
14
|
+
box-sizing: border-box;
|
15
|
+
|
16
|
+
align-items: stretch;
|
17
|
+
flex-direction: column;
|
18
|
+
justify-content: space-between;
|
19
|
+
align-content: stretch;
|
20
|
+
flex-wrap: nowrap;
|
21
|
+
|
22
|
+
border-width: var(--monster-border-width);
|
23
|
+
border-radius: var(--monster-border-radius);
|
24
|
+
border-style: var(--monster-border-style);
|
25
|
+
border-shadow: var(--monster-box-shadow-1);
|
26
|
+
|
27
|
+
overflow: hidden;
|
28
|
+
|
29
|
+
|
30
|
+
& img {
|
31
|
+
object-fit: scale-down;
|
32
|
+
display: block;
|
33
|
+
padding: 0;
|
34
|
+
margin-left: 0;
|
35
|
+
width: 101%;
|
36
|
+
overflow: hidden;
|
37
|
+
|
38
|
+
&:hover {
|
39
|
+
@mixin box-hover;
|
40
|
+
transform: scale(1.05);
|
41
|
+
}
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
& p, & h1, & h2, & h3, & h4, & h5, & h6 {
|
47
|
+
margin: 0;
|
48
|
+
padding-right: 1rem;
|
49
|
+
padding-left: 1rem;
|
50
|
+
}
|
51
|
+
|
52
|
+
& p:last-child, & h1:last-child, & h2:last-child, & h3:last-child, & h4:last-child, & h5:last-child, & h6:last-child {
|
53
|
+
padding-bottom: 1rem;
|
54
|
+
}
|
55
|
+
|
56
|
+
& p:first-child, & h1:first-child, & h2:first-child, & h3:first-child, & h4:first-child, & h5:first-child, & h6:first-child {
|
57
|
+
padding-top: 1rem;
|
58
|
+
}
|
59
|
+
|
60
|
+
& img + p, & img + h1, & img + h2, & img + h3, & img + h4, & img + h5, & img + h6 {
|
61
|
+
padding-top: 1rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
& p + img, & h1 + img, & h2 + img, & h3 + img, & h4 + img, & h5 + img, & h6 + img {
|
65
|
+
padding-bottom: 1rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
& p + p, & h1 + p, & h2 + p, & h3 + p, & h4 + p, & h5 + p, & h6 + p {
|
69
|
+
padding-top: 1rem;
|
70
|
+
}
|
71
|
+
|
72
|
+
& button + p, & .button + p, & button + h1, & .button + h1, & button + h2, & .button + h2, & button + h3, & .button + h3, & button + h4, & .button + h4, & button + h5, & .button + h5, & button + h6, & .button + h6 {
|
73
|
+
padding-bottom: 1rem;
|
74
|
+
}
|
75
|
+
|
76
|
+
& p + button, & p + .button, & h1 + button, & h1 + .button, & h2 + button, & h2 + .button, & h3 + button,
|
77
|
+
& h3 + .button, & h4 + button, & h4 + .button, & h5 + button, & h5 + .button, & h6 + button, & h6 + .button {
|
78
|
+
margin-top: 1rem;
|
79
|
+
}
|
80
|
+
|
81
|
+
& button, & .button {
|
82
|
+
border-left: none;
|
83
|
+
border-right: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
& button:first-child, & .button:first-child {
|
87
|
+
border-top: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
& button:last-child, & .button:last-child {
|
91
|
+
border-bottom: none;
|
92
|
+
|
93
|
+
&:hover {
|
94
|
+
@mixin box-hover;
|
95
|
+
transform: scale(1.05);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
&.card:hover {
|
100
|
+
@mixin box-hover;
|
101
|
+
z-index: var(--monster-z-index-outline);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
@@ -0,0 +1,257 @@
|
|
1
|
+
/*******
|
2
|
+
|
3
|
+
Format for CSS variables: --monster-color-COLORNAME-SHADE
|
4
|
+
|
5
|
+
Available values for COLORNAME:
|
6
|
+
gray,
|
7
|
+
rose, raspberry, red, orange, cinnamon, amber, yellow, lime,
|
8
|
+
chartreuse, green, emerald, aquamarine, teal, cyan, powder, sky
|
9
|
+
cerulean, azure, blue, indigo, violet, purple, magenta, pink
|
10
|
+
|
11
|
+
Available values for SHADE:
|
12
|
+
1, 2, 3, 4, 5, 6
|
13
|
+
|
14
|
+
Minimum contrast can be inferred by the difference between two SHADE numbers
|
15
|
+
|
16
|
+
- Difference of 2: (3:1)
|
17
|
+
- Difference of 3: (4.5:1)
|
18
|
+
- Difference of 4: (7:1)
|
19
|
+
|
20
|
+
reasonable-colors.css uses hex values. HSL, LCH, and RGB color spaces are available.
|
21
|
+
|
22
|
+
For .scss friendly variable declarations, FILENAME.scss for each color space are provided.
|
23
|
+
|
24
|
+
More information available at: https://www.reasonable.work/colors
|
25
|
+
License: [MIT](https://github.com/matthewhowell/reasonable-colors/blob/master/LICENSE)
|
26
|
+
|
27
|
+
*******/
|
28
|
+
|
29
|
+
:root,
|
30
|
+
::after,
|
31
|
+
::before {
|
32
|
+
/** palette **/
|
33
|
+
|
34
|
+
/* gray */
|
35
|
+
--monster-color-gray-1: #f6f6f6;
|
36
|
+
--monster-color-gray-2: #e2e2e2;
|
37
|
+
--monster-color-gray-3: #8b8b8b;
|
38
|
+
--monster-color-gray-4: #6f6f6f;
|
39
|
+
--monster-color-gray-5: #3e3e3e;
|
40
|
+
--monster-color-gray-6: #222222;
|
41
|
+
|
42
|
+
/* rose */
|
43
|
+
/* hue 1 */
|
44
|
+
--monster-color-rose-1: #fff7f9;
|
45
|
+
--monster-color-rose-2: #ffdce5;
|
46
|
+
--monster-color-rose-3: #ff3b8d;
|
47
|
+
--monster-color-rose-4: #db0072;
|
48
|
+
--monster-color-rose-5: #800040;
|
49
|
+
--monster-color-rose-6: #4c0023;
|
50
|
+
|
51
|
+
/* raspberry */
|
52
|
+
/* hue 2 */
|
53
|
+
--monster-color-raspberry-1: #fff8f8;
|
54
|
+
--monster-color-raspberry-2: #ffdddf;
|
55
|
+
--monster-color-raspberry-3: #ff426c;
|
56
|
+
--monster-color-raspberry-4: #de0051;
|
57
|
+
--monster-color-raspberry-5: #82002c;
|
58
|
+
--monster-color-raspberry-6: #510018;
|
59
|
+
|
60
|
+
/* red */
|
61
|
+
/* hue 3 */
|
62
|
+
--monster-color-red-1: #fff8f6;
|
63
|
+
--monster-color-red-2: #ffddd8;
|
64
|
+
--monster-color-red-3: #ff4647;
|
65
|
+
--monster-color-red-4: #e0002b;
|
66
|
+
--monster-color-red-5: #830014;
|
67
|
+
--monster-color-red-6: #530003;
|
68
|
+
|
69
|
+
/* orange */
|
70
|
+
/* hue 4 */
|
71
|
+
--monster-color-orange-1: #fff8f5;
|
72
|
+
--monster-color-orange-2: #ffded1;
|
73
|
+
--monster-color-orange-3: #fd4d00;
|
74
|
+
--monster-color-orange-4: #cd3c00;
|
75
|
+
--monster-color-orange-5: #752100;
|
76
|
+
--monster-color-orange-6: #401600;
|
77
|
+
|
78
|
+
/* cinnamon */
|
79
|
+
/* hue 5 */
|
80
|
+
--monster-color-cinnamon-1: #fff8f3;
|
81
|
+
--monster-color-cinnamon-2: #ffdfc6;
|
82
|
+
--monster-color-cinnamon-3: #d57300;
|
83
|
+
--monster-color-cinnamon-4: #ac5c00;
|
84
|
+
--monster-color-cinnamon-5: #633300;
|
85
|
+
--monster-color-cinnamon-6: #371d00;
|
86
|
+
|
87
|
+
/* amber */
|
88
|
+
/* hue 6 */
|
89
|
+
--monster-color-amber-1: #fff8ef;
|
90
|
+
--monster-color-amber-2: #ffe0b2;
|
91
|
+
--monster-color-amber-3: #b98300;
|
92
|
+
--monster-color-amber-4: #926700;
|
93
|
+
--monster-color-amber-5: #523800;
|
94
|
+
--monster-color-amber-6: #302100;
|
95
|
+
|
96
|
+
/* yellow */
|
97
|
+
/* hue 7 */
|
98
|
+
--monster-color-yellow-1: #fff9e5;
|
99
|
+
--monster-color-yellow-2: #ffe53e;
|
100
|
+
--monster-color-yellow-3: #9c8b00;
|
101
|
+
--monster-color-yellow-4: #7d6f00;
|
102
|
+
--monster-color-yellow-5: #463d00;
|
103
|
+
--monster-color-yellow-6: #292300;
|
104
|
+
|
105
|
+
/* lime */
|
106
|
+
/* hue 8 */
|
107
|
+
--monster-color-lime-1: #f7ffac;
|
108
|
+
--monster-color-lime-2: #d5f200;
|
109
|
+
--monster-color-lime-3: #819300;
|
110
|
+
--monster-color-lime-4: #677600;
|
111
|
+
--monster-color-lime-5: #394100;
|
112
|
+
--monster-color-lime-6: #222600;
|
113
|
+
|
114
|
+
/* chartreuse */
|
115
|
+
/* hue 9 */
|
116
|
+
--monster-color-chartreuse-1: #e5ffc3;
|
117
|
+
--monster-color-chartreuse-2: #98fb00;
|
118
|
+
--monster-color-chartreuse-3: #5c9b00;
|
119
|
+
--monster-color-chartreuse-4: #497c00;
|
120
|
+
--monster-color-chartreuse-5: #264500;
|
121
|
+
--monster-color-chartreuse-6: #182600;
|
122
|
+
|
123
|
+
/* green */
|
124
|
+
/* hue 10 */
|
125
|
+
--monster-color-green-1: #e0ffd9;
|
126
|
+
--monster-color-green-2: #72ff6c;
|
127
|
+
--monster-color-green-3: #00a21f;
|
128
|
+
--monster-color-green-4: #008217;
|
129
|
+
--monster-color-green-5: #004908;
|
130
|
+
--monster-color-green-6: #062800;
|
131
|
+
|
132
|
+
/* emerald */
|
133
|
+
/* hue 11 */
|
134
|
+
--monster-color-emerald-1: #dcffe6;
|
135
|
+
--monster-color-emerald-2: #5dffa2;
|
136
|
+
--monster-color-emerald-3: #00a05a;
|
137
|
+
--monster-color-emerald-4: #008147;
|
138
|
+
--monster-color-emerald-5: #004825;
|
139
|
+
--monster-color-emerald-6: #002812;
|
140
|
+
|
141
|
+
/* aquamarine */
|
142
|
+
/* hue 12 */
|
143
|
+
--monster-color-aquamarine-1: #daffef;
|
144
|
+
--monster-color-aquamarine-2: #42ffc6;
|
145
|
+
--monster-color-aquamarine-3: #009f78;
|
146
|
+
--monster-color-aquamarine-4: #007f5f;
|
147
|
+
--monster-color-aquamarine-5: #004734;
|
148
|
+
--monster-color-aquamarine-6: #00281b;
|
149
|
+
|
150
|
+
/* teal */
|
151
|
+
/* hue 13 */
|
152
|
+
--monster-color-teal-1: #d7fff7;
|
153
|
+
--monster-color-teal-2: #00ffe4;
|
154
|
+
--monster-color-teal-3: #009e8c;
|
155
|
+
--monster-color-teal-4: #007c6e;
|
156
|
+
--monster-color-teal-5: #00443c;
|
157
|
+
--monster-color-teal-6: #002722;
|
158
|
+
|
159
|
+
/* cyan */
|
160
|
+
/* hue 14 */
|
161
|
+
--monster-color-cyan-1: #c4fffe;
|
162
|
+
--monster-color-cyan-2: #00fafb;
|
163
|
+
--monster-color-cyan-3: #00999a;
|
164
|
+
--monster-color-cyan-4: #007a7b;
|
165
|
+
--monster-color-cyan-5: #004344;
|
166
|
+
--monster-color-cyan-6: #002525;
|
167
|
+
|
168
|
+
/* powder */
|
169
|
+
/* hue 15 */
|
170
|
+
--monster-color-powder-1: #dafaff;
|
171
|
+
--monster-color-powder-2: #8df0ff;
|
172
|
+
--monster-color-powder-3: #0098a9;
|
173
|
+
--monster-color-powder-4: #007987;
|
174
|
+
--monster-color-powder-5: #004048;
|
175
|
+
--monster-color-powder-6: #002227;
|
176
|
+
|
177
|
+
/* sky */
|
178
|
+
/* hue 16 */
|
179
|
+
--monster-color-sky-1: #e3f7ff;
|
180
|
+
--monster-color-sky-2: #aee9ff;
|
181
|
+
--monster-color-sky-3: #0094b4;
|
182
|
+
--monster-color-sky-4: #007590;
|
183
|
+
--monster-color-sky-5: #00404f;
|
184
|
+
--monster-color-sky-6: #001f28;
|
185
|
+
|
186
|
+
/* cerulean */
|
187
|
+
/* hue 17 */
|
188
|
+
--monster-color-cerulean-1: #e8f6ff;
|
189
|
+
--monster-color-cerulean-2: #b9e3ff;
|
190
|
+
--monster-color-cerulean-3: #0092c5;
|
191
|
+
--monster-color-cerulean-4: #00749d;
|
192
|
+
--monster-color-cerulean-5: #003c54;
|
193
|
+
--monster-color-cerulean-6: #001d2a;
|
194
|
+
|
195
|
+
/* azure */
|
196
|
+
/* hue 18 */
|
197
|
+
--monster-color-azure-1: #e8f2ff;
|
198
|
+
--monster-color-azure-2: #c6e0ff;
|
199
|
+
--monster-color-azure-3: #008fdb;
|
200
|
+
--monster-color-azure-4: #0071af;
|
201
|
+
--monster-color-azure-5: #003b5e;
|
202
|
+
--monster-color-azure-6: #001c30;
|
203
|
+
|
204
|
+
/* blue */
|
205
|
+
/* hue 19 */
|
206
|
+
--monster-color-blue-1: #f0f4ff;
|
207
|
+
--monster-color-blue-2: #d4e0ff;
|
208
|
+
--monster-color-blue-3: #0089fc;
|
209
|
+
--monster-color-blue-4: #006dca;
|
210
|
+
--monster-color-blue-5: #00386d;
|
211
|
+
--monster-color-blue-6: #001a39;
|
212
|
+
|
213
|
+
/* indigo */
|
214
|
+
/* hue 20 */
|
215
|
+
--monster-color-indigo-1: #f3f3ff;
|
216
|
+
--monster-color-indigo-2: #deddff;
|
217
|
+
--monster-color-indigo-3: #657eff;
|
218
|
+
--monster-color-indigo-4: #0061fc;
|
219
|
+
--monster-color-indigo-5: #00328a;
|
220
|
+
--monster-color-indigo-6: #001649;
|
221
|
+
|
222
|
+
/* violet */
|
223
|
+
/* hue 21 */
|
224
|
+
--monster-color-violet-1: #f7f1ff;
|
225
|
+
--monster-color-violet-2: #e8daff;
|
226
|
+
--monster-color-violet-3: #9b70ff;
|
227
|
+
--monster-color-violet-4: #794aff;
|
228
|
+
--monster-color-violet-5: #2d0fbf;
|
229
|
+
--monster-color-violet-6: #0b0074;
|
230
|
+
|
231
|
+
/* purple */
|
232
|
+
/* hue 22 */
|
233
|
+
--monster-color-purple-1: #fdf4ff;
|
234
|
+
--monster-color-purple-2: #f7d9ff;
|
235
|
+
--monster-color-purple-3: #d150ff;
|
236
|
+
--monster-color-purple-4: #b01fe3;
|
237
|
+
--monster-color-purple-5: #660087;
|
238
|
+
--monster-color-purple-6: #3a004f;
|
239
|
+
|
240
|
+
/* magenta */
|
241
|
+
/* hue 23 */
|
242
|
+
--monster-color-magenta-1: #fff3fc;
|
243
|
+
--monster-color-magenta-2: #ffd7f6;
|
244
|
+
--monster-color-magenta-3: #f911e0;
|
245
|
+
--monster-color-magenta-4: #ca00b6;
|
246
|
+
--monster-color-magenta-5: #740068;
|
247
|
+
--monster-color-magenta-6: #44003c;
|
248
|
+
|
249
|
+
/* pink */
|
250
|
+
/* hue 24 */
|
251
|
+
--monster-color-pink-1: #fff7fb;
|
252
|
+
--monster-color-pink-2: #ffdcec;
|
253
|
+
--monster-color-pink-3: #ff2fb2;
|
254
|
+
--monster-color-pink-4: #d2008f;
|
255
|
+
--monster-color-pink-5: #790051;
|
256
|
+
--monster-color-pink-6: #4b0030;
|
257
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
html, body, div, span, applet, object, iframe,
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
+
a, abbr, acronym, address, big, cite, code,
|
4
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
+
small, strike, strong, sub, sup, tt, var,
|
6
|
+
b, u, i, center,
|
7
|
+
dl, dt, dd, ol, ul, li,
|
8
|
+
fieldset, form, label, legend,
|
9
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
+
article, aside, canvas, details, embed,
|
11
|
+
figure, figcaption, footer, header, hgroup,
|
12
|
+
menu, nav, output, ruby, section, summary,
|
13
|
+
time, mark, audio, video {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0;
|
16
|
+
border: 0;
|
17
|
+
font-size: 100%;
|
18
|
+
font: inherit;
|
19
|
+
vertical-align: baseline;
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
* {
|
24
|
+
box-sizing: border-box;
|
25
|
+
font-family: var(--monster-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
.visible {
|
32
|
+
tvisibility: visible !important;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
.invisible {
|
38
|
+
visibility: hidden !important;
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
.hidden {
|
43
|
+
display: none !important;
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
.inline {
|
48
|
+
display: inline !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
.block {
|
53
|
+
display: block !important;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
.flex {
|
58
|
+
display: flex !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
[data-monster-role=control] {
|
63
|
+
outline: none;
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
div[data-monster-role=popper] {
|
68
|
+
box-sizing: border-box;
|
69
|
+
display: none;
|
70
|
+
border: var(--monster-border-width, 1px) solid var(--monster-border-color, black);
|
71
|
+
padding: 0px;
|
72
|
+
z-index: 10;
|
73
|
+
background-color: white;
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
:host([disabled]) {
|
78
|
+
border-color: var(--monster-disabled-border-color, rgba(118, 118, 118, 0.3));
|
79
|
+
color: var(--monster-disabled-color, rgb(84, 84, 84));
|
80
|
+
background-color: var(--monster-disabled-background-color, rgba(239, 239, 239, 0.3));
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
:host([disabled]) * {
|
85
|
+
border-color: var(--monster-disabled-border-color, rgba(118, 118, 118, 0.3));
|
86
|
+
color: var(--monster-disabled-color, rgb(84, 84, 84));
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
:disabled {
|
91
|
+
border-color: var(--monster-disabled-border-color, rgba(118, 118, 118, 0.3));
|
92
|
+
color: var(--monster-disabled-color, rgb(84, 84, 84));
|
93
|
+
background-color: var(--monster-disabled-background-color, rgba(239, 239, 239, 0.3));
|
94
|
+
cursor: not-allowed;
|
95
|
+
pointer-events: none;
|
96
|
+
opacity: .55;
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
input:focus-visible {
|
102
|
+
outline: none;
|
103
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
@import "mixin/media.pcss";
|
2
|
+
@import "mixin/typography.pcss";
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
.monster-data-grid-container {
|
7
|
+
display: block;
|
8
|
+
width: 100%;
|
9
|
+
overflow-x: auto;
|
10
|
+
background-color: var(--monster-bg-color-primary-2);
|
11
|
+
color: var(--monster-color-primary-2);
|
12
|
+
padding: 20px;
|
13
|
+
box-sizing: border-box;
|
14
|
+
|
15
|
+
& > div {
|
16
|
+
display: grid;
|
17
|
+
}
|
18
|
+
|
19
|
+
@for $i from 1 to 50 {
|
20
|
+
& .col-$(i) {
|
21
|
+
grid-column: $(i);
|
22
|
+
color: var(--monster-color-primary-1);
|
23
|
+
background-color: var(--monster-bg-color-primary-1);
|
24
|
+
border: none;
|
25
|
+
padding: 0.4rem 0.4rem;
|
26
|
+
display: flex;
|
27
|
+
@mixin paragraph;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
& .col-start-end {
|
32
|
+
grid-column: 1 / -1;
|
33
|
+
}
|
34
|
+
|
35
|
+
& .header {
|
36
|
+
font-weight: 600;
|
37
|
+
font-size: 1rem;
|
38
|
+
margin-bottom: 0.4rem;
|
39
|
+
@mixin paragraph;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
.block {
|
2
|
+
display: block;
|
3
|
+
}
|
4
|
+
|
5
|
+
.inline {
|
6
|
+
display: inline;
|
7
|
+
}
|
8
|
+
|
9
|
+
.inline-block {
|
10
|
+
display: inline-block;
|
11
|
+
}
|
12
|
+
|
13
|
+
.grid {
|
14
|
+
display: grid;
|
15
|
+
}
|
16
|
+
|
17
|
+
.inline-grid {
|
18
|
+
display: inline-grid;
|
19
|
+
}
|
20
|
+
|
21
|
+
.flex {
|
22
|
+
display: flex;
|
23
|
+
}
|
24
|
+
|
25
|
+
.inline-flex {
|
26
|
+
display: inline-flex;
|
27
|
+
}
|
28
|
+
|
29
|
+
.hidden,
|
30
|
+
.none,
|
31
|
+
.hide {
|
32
|
+
display: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.visible {
|
36
|
+
visibility: visible;
|
37
|
+
}
|
38
|
+
|
39
|
+
.invisible {
|
40
|
+
visibility: hidden;
|
41
|
+
}
|
42
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
div[data-monster-role=popper] {
|
2
|
+
|
3
|
+
box-sizing: border-box;
|
4
|
+
display: none;
|
5
|
+
padding: 1.1em;
|
6
|
+
z-index: var(--monster-z-index-modal);
|
7
|
+
background: var(--monster-bg-color-primary-1);
|
8
|
+
color: var(--monster-color-primary-1);
|
9
|
+
border-radius: var(--monster-border-radius);
|
10
|
+
border-width: var(--monster-border-width);
|
11
|
+
border-style: var(--monster-border-style);
|
12
|
+
border-color: var(--monster-bg-color-primary-4);
|
13
|
+
box-shadow: var(--monster-box-shadow-1);
|
14
|
+
|
15
|
+
justify-content: space-between;
|
16
|
+
align-content: center;
|
17
|
+
|
18
|
+
width: max-content;
|
19
|
+
position: absolute;
|
20
|
+
|
21
|
+
top: 0;
|
22
|
+
left: 0;
|
23
|
+
|
24
|
+
& div[data-monster-role=arrow] {
|
25
|
+
position: absolute;
|
26
|
+
width: calc(2 * max(var(--monster-popper-witharrrow-distance), -1 * var(--monster-popper-witharrrow-distance)));
|
27
|
+
height: calc(2 * max(var(--monster-popper-witharrrow-distance), -1 * var(--monster-popper-witharrrow-distance)));
|
28
|
+
z-index: -1;
|
29
|
+
pointer-events: none;
|
30
|
+
background: var(--monster-bg-color-primary-1);
|
31
|
+
}
|
32
|
+
|
33
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
:host([disabled]), :host([disabled]) * {
|
2
|
+
color: var(--monster-color-primary-3, inherit);
|
3
|
+
background-color: var(--monster-bg-color-primary-3, inherit);
|
4
|
+
border-color: var(--monster-color-primary-3, inherit);
|
5
|
+
}
|
6
|
+
|
7
|
+
:disabled {
|
8
|
+
color: var(--monster-color-primary-3, inherit);
|
9
|
+
background-color: var(--monster-bg-color-primary-3, inherit);
|
10
|
+
border-color: var(--monster-color-primary-3, inherit);
|
11
|
+
cursor: not-allowed;
|
12
|
+
pointer-events: none;
|
13
|
+
opacity: .55;
|
14
|
+
}
|
15
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
/**
|
6
|
+
Note the order there is important (LVHA-order):
|
7
|
+
- Link
|
8
|
+
- Visited
|
9
|
+
- Hover
|
10
|
+
- Active
|
11
|
+
- Focus
|
12
|
+
|
13
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/:link?retiredLocale=de
|
14
|
+
|
15
|
+
*/
|
16
|
+
|
17
|
+
|
18
|
+
a, a:link, a:visited, a:hover, a:active, a:focus {
|
19
|
+
color: var(--monster-color-primary-1);
|
20
|
+
text-decoration: none;
|
21
|
+
outline: none;
|
22
|
+
background:
|
23
|
+
linear-gradient(
|
24
|
+
to right,
|
25
|
+
var(--monster-color-gradient-1),
|
26
|
+
var(--monster-color-gradient-2),
|
27
|
+
var(--monster-color-gradient-3)
|
28
|
+
);
|
29
|
+
background-size: 100% 1px, 0 3px;
|
30
|
+
background-position: 100% 100%, 0 100%;
|
31
|
+
background-repeat: no-repeat;
|
32
|
+
transition: background-size 400ms;
|
33
|
+
}
|
34
|
+
|
35
|
+
a:hover, a:active, a:focus {
|
36
|
+
outline: none;
|
37
|
+
background: linear-gradient(
|
38
|
+
to right,
|
39
|
+
var(--monster-color-gradient-1),
|
40
|
+
var(--monster-color-gradient-2),
|
41
|
+
var(--monster-color-gradient-3)
|
42
|
+
);
|
43
|
+
|
44
|
+
background-clip: text;
|
45
|
+
color: transparent;
|
46
|
+
|
47
|
+
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
a:focus {
|
52
|
+
outline: 1px dashed var(--monster-color-selection-4);
|
53
|
+
outline-offset: 2px;
|
54
|
+
}
|
55
|
+
|
56
|
+
@media (prefers-color-scheme: light) {
|
57
|
+
|
58
|
+
a:focus {
|
59
|
+
outline: 1px dashed var(--monster-color-selection-3);
|
60
|
+
outline-offset: 2px;
|
61
|
+
}
|
62
|
+
|
63
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@define-mixin badge {
|
2
|
+
display: inline-block;
|
3
|
+
padding: .25em .4em;
|
4
|
+
font-size: 75%;
|
5
|
+
font-weight: 700;
|
6
|
+
line-height: 1;
|
7
|
+
text-align: center;
|
8
|
+
white-space: nowrap;
|
9
|
+
vertical-align: baseline;
|
10
|
+
border-radius: .25rem;
|
11
|
+
text-decoration: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
@define-mixin pill {
|
15
|
+
padding-right: .6em;
|
16
|
+
padding-left: .6em;
|
17
|
+
border-radius: 10rem;
|
18
|
+
}
|