@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11
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/README.md +232 -191
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +911 -137
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +594 -262
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +870 -338
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +513 -147
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +602 -210
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +1046 -269
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +506 -231
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1984 -668
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +884 -430
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +2927 -923
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -144
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +1601 -312
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +48 -8
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/runtime/schematics/ng-add/options.js +4 -4
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +447 -137
- package/styles/controls.css +205 -35
- package/tools/aeris-theme.mjs +4 -4
- package/tools/aeris-theme.schema.json +18 -13
- package/types/aeris-ui-core-accordion.d.ts +167 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
- package/types/aeris-ui-core-auto-complete.d.ts +339 -140
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -46
- package/types/aeris-ui-core-block-ui.d.ts +48 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +150 -16
- package/types/aeris-ui-core-button.d.ts +274 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +213 -117
- package/types/aeris-ui-core-cascade-select.d.ts +275 -123
- package/types/aeris-ui-core-chart.d.ts +150 -84
- package/types/aeris-ui-core-checkbox.d.ts +173 -54
- package/types/aeris-ui-core-chip.d.ts +316 -56
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-code-block.d.ts +201 -0
- package/types/aeris-ui-core-color-picker.d.ts +450 -143
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +230 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +270 -146
- package/types/aeris-ui-core-date-picker.d.ts +594 -219
- package/types/aeris-ui-core-dialog.d.ts +301 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +380 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
- package/types/aeris-ui-core-editor.d.ts +257 -123
- package/types/aeris-ui-core-file-upload.d.ts +385 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +163 -0
- package/types/aeris-ui-core-galleria.d.ts +636 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -32
- package/types/aeris-ui-core-inplace.d.ts +129 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +201 -69
- package/types/aeris-ui-core-input-number.d.ts +291 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +195 -60
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +181 -121
- package/types/aeris-ui-core-menu.d.ts +283 -168
- package/types/aeris-ui-core-menubar.d.ts +289 -135
- package/types/aeris-ui-core-message.d.ts +138 -60
- package/types/aeris-ui-core-meter-group.d.ts +169 -90
- package/types/aeris-ui-core-multi-select.d.ts +469 -180
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +168 -66
- package/types/aeris-ui-core-organization-chart.d.ts +139 -77
- package/types/aeris-ui-core-paginator.d.ts +129 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +276 -102
- package/types/aeris-ui-core-pick-list.d.ts +428 -179
- package/types/aeris-ui-core-popover.d.ts +294 -105
- package/types/aeris-ui-core-progress-bar.d.ts +163 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
- package/types/aeris-ui-core-radio-button.d.ts +146 -50
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +73 -29
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +487 -217
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -115
- package/types/aeris-ui-core-speed-dial.d.ts +241 -111
- package/types/aeris-ui-core-split-button.d.ts +267 -113
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +184 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +729 -304
- package/types/aeris-ui-core-tabs.d.ts +193 -76
- package/types/aeris-ui-core-textarea.d.ts +271 -78
- package/types/aeris-ui-core-theme-builder.d.ts +220 -463
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +231 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +314 -47
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +394 -171
- package/types/aeris-ui-core-tree-table.d.ts +629 -288
- package/types/aeris-ui-core-tree.d.ts +294 -165
- package/types/aeris-ui-core.d.ts +338 -74
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// Shared presentation only: selection and keyboard behavior stay with the native inputs.
|
|
2
|
+
@mixin styles {
|
|
3
|
+
:host([data-appearance='card']) {
|
|
4
|
+
display: block;
|
|
5
|
+
min-inline-size: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.aeris-choice-card {
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
inline-size: 100%;
|
|
13
|
+
min-inline-size: 0;
|
|
14
|
+
padding: var(--aeris-choice-card-padding, var(--aeris-surface-padding, 1rem));
|
|
15
|
+
gap: var(--aeris-choice-card-gap, var(--aeris-content-gap, 0.75rem));
|
|
16
|
+
border: 1px solid var(--aeris-choice-card-border, var(--aeris-border));
|
|
17
|
+
border-radius: var(--aeris-choice-card-radius, var(--aeris-radius-surface, 0.75rem));
|
|
18
|
+
background: var(--aeris-choice-card-background, var(--aeris-surface));
|
|
19
|
+
color: var(--aeris-text);
|
|
20
|
+
transition:
|
|
21
|
+
background-color var(--aeris-motion-normal, 150ms) var(--aeris-ease-standard, ease),
|
|
22
|
+
border-color var(--aeris-motion-normal, 150ms) var(--aeris-ease-standard, ease);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.aeris-choice-card > span:last-child {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
flex: 1;
|
|
29
|
+
min-inline-size: 0;
|
|
30
|
+
gap: var(--aeris-choice-card-gap, var(--aeris-content-gap, 0.75rem));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.aeris-choice-card__body {
|
|
34
|
+
min-inline-size: 0;
|
|
35
|
+
overflow-wrap: anywhere;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.aeris-choice-card__description {
|
|
39
|
+
display: block;
|
|
40
|
+
margin-block-start: 0.25rem;
|
|
41
|
+
color: var(--aeris-text-2);
|
|
42
|
+
font-size: var(--aeris-font-size-md, 0.8125rem);
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.aeris-choice-card .aeris-choice-card__body > span:first-child {
|
|
47
|
+
font-weight: var(--aeris-font-weight-semibold, 600);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.aeris-choice-card__icon {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
flex: 0 0 auto;
|
|
53
|
+
inline-size: var(--aeris-icon-size, 1rem);
|
|
54
|
+
block-size: var(--aeris-icon-size, 1rem);
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.aeris-choice-card[data-selected='true'] {
|
|
60
|
+
border-color: var(--aeris-choice-card-selected-border, var(--aeris-primary));
|
|
61
|
+
background: var(--aeris-choice-card-selected-background, var(--aeris-primary-soft));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Native radio arrow navigation does not retain :focus-visible in every engine.
|
|
65
|
+
.aeris-choice-card:focus-within {
|
|
66
|
+
outline: var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus-ring-color);
|
|
67
|
+
outline-offset: var(--aeris-focus-ring-offset, 2px);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.aeris-choice-card input:focus + [aria-hidden='true'] {
|
|
71
|
+
outline: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.aeris-choice-card:is([data-invalid='true'], :has(input:user-invalid)) {
|
|
75
|
+
border-color: var(--aeris-control-invalid-border, var(--aeris-danger));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.aeris-choice-card:is([data-invalid='true'], :has(input:user-invalid)):focus-within {
|
|
79
|
+
outline-color: var(--aeris-control-invalid-focus-ring-color);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (hover: hover) {
|
|
83
|
+
.aeris-choice-card:has(input:enabled):hover {
|
|
84
|
+
border-color: var(--aeris-choice-card-selected-border, var(--aeris-primary));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (prefers-reduced-motion: reduce) {
|
|
89
|
+
.aeris-choice-card {
|
|
90
|
+
transition: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Static Lucide SVGs (ISC/MIT); see the packaged THIRD_PARTY_LICENSES.md.
|
|
2
|
+
$chevrons: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m7 6 5 5 5-5"/%3E%3Cpath d="m7 13 5 5 5-5"/%3E%3C/svg%3E');
|
|
3
|
+
$info: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="12" cy="12" r="10"/%3E%3Cpath d="M12 16v-4"/%3E%3Cpath d="M12 8h.01"/%3E%3C/svg%3E');
|
|
4
|
+
$success: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="12" cy="12" r="10"/%3E%3Cpath d="m16 9-5.5 5.5L8 12"/%3E%3C/svg%3E');
|
|
5
|
+
$warning: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/%3E%3Cpath d="M12 9v4"/%3E%3Cpath d="M12 17h.01"/%3E%3C/svg%3E');
|
|
6
|
+
$danger: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="12" cy="12" r="10"/%3E%3Cpath d="m15 9-6 6"/%3E%3Cpath d="m9 9 6 6"/%3E%3C/svg%3E');
|
|
7
|
+
$maximize: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M8 3H5a2 2 0 0 0-2 2v3"/%3E%3Cpath d="M21 8V5a2 2 0 0 0-2-2h-3"/%3E%3Cpath d="M3 16v3a2 2 0 0 0 2 2h3"/%3E%3Cpath d="M16 21h3a2 2 0 0 0 2-2v-3"/%3E%3C/svg%3E');
|
|
8
|
+
$restore: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M8 3v3a2 2 0 0 1-2 2H3"/%3E%3Cpath d="M21 8h-3a2 2 0 0 1-2-2V3"/%3E%3Cpath d="M3 16h3a2 2 0 0 1 2 2v3"/%3E%3Cpath d="M16 21v-3a2 2 0 0 1 2-2h3"/%3E%3C/svg%3E');
|
|
9
|
+
$menu: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 5h16"/%3E%3Cpath d="M4 12h16"/%3E%3Cpath d="M4 19h16"/%3E%3C/svg%3E');
|
|
10
|
+
$file: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/%3E%3Cpath d="M14 2v5a1 1 0 0 0 1 1h5"/%3E%3C/svg%3E');
|
|
11
|
+
$loader: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M21 12a9 9 0 1 1-6.219-8.56"/%3E%3C/svg%3E');
|
|
12
|
+
$sort: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m21 16-4 4-4-4"/%3E%3Cpath d="M17 20V4"/%3E%3Cpath d="m3 8 4-4 4 4"/%3E%3Cpath d="M7 4v16"/%3E%3C/svg%3E');
|
|
13
|
+
$sort-asc: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m5 12 7-7 7 7"/%3E%3Cpath d="M12 19V5"/%3E%3C/svg%3E');
|
|
14
|
+
$sort-desc: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M12 5v14"/%3E%3Cpath d="m19 12-7 7-7-7"/%3E%3C/svg%3E');
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Keep component-owned geometry and transforms, replacing only the artwork.
|
|
2
|
+
@mixin custom-icon {
|
|
3
|
+
:host [data-aeris-custom-icon]:not([data-aeris-global-icon]) {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
inline-size: var(--aeris-icon-size, 1rem);
|
|
8
|
+
block-size: var(--aeris-icon-size, 1rem);
|
|
9
|
+
background: transparent;
|
|
10
|
+
border: 0;
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
-webkit-mask: none;
|
|
13
|
+
mask: none;
|
|
14
|
+
line-height: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host [data-aeris-custom-icon]::before,
|
|
18
|
+
:host [data-aeris-custom-icon]::after {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Rotate application artwork without disturbing positioned wrappers' transforms.
|
|
24
|
+
@mixin rotate($selector, $angle) {
|
|
25
|
+
#{$selector}[data-aeris-custom-icon] {
|
|
26
|
+
rotate: $angle;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin dropdown($selector, $expanded) {
|
|
31
|
+
#{$selector}[data-aeris-custom-icon] {
|
|
32
|
+
transition: rotate var(--aeris-motion-normal, 150ms) var(--aeris-ease-standard, ease);
|
|
33
|
+
}
|
|
34
|
+
#{$expanded} #{$selector}[data-aeris-custom-icon] {
|
|
35
|
+
rotate: 180deg;
|
|
36
|
+
}
|
|
37
|
+
@media (prefers-reduced-motion: reduce) {
|
|
38
|
+
#{$selector}[data-aeris-custom-icon] {
|
|
39
|
+
transition: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@mixin input-font($selectors) {
|
|
2
|
+
@media (pointer: coarse) {
|
|
3
|
+
#{$selectors} {
|
|
4
|
+
font-size: var(--aeris-mobile-input-font-size, 1rem);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin targets($selectors) {
|
|
10
|
+
@media (pointer: coarse) {
|
|
11
|
+
#{$selectors} {
|
|
12
|
+
min-block-size: var(--aeris-touch-target-size, 2.75rem);
|
|
13
|
+
min-inline-size: var(--aeris-touch-target-size, 2.75rem);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// A shared artwork contract for native and composite selection controls.
|
|
2
|
+
@mixin mark($selector, $name) {
|
|
3
|
+
#{$selector}:not([data-aeris-custom-icon]) {
|
|
4
|
+
top: 0;
|
|
5
|
+
width: min(var(--aeris-icon-size, 1rem), 100%);
|
|
6
|
+
height: min(var(--aeris-icon-size, 1rem), 100%);
|
|
7
|
+
border: 0;
|
|
8
|
+
background: currentColor;
|
|
9
|
+
-webkit-mask: var(--aeris-icon-#{$name}) center / 100% 100% no-repeat;
|
|
10
|
+
mask: var(--aeris-icon-#{$name}) center / 100% 100% no-repeat;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// Sticky layers: columns 2, rows 4, intersections 6, headers 10/12.
|
|
2
|
+
@mixin styles($root, $prefix: 'aeris-table') {
|
|
3
|
+
#{$root} [data-sticky-header] {
|
|
4
|
+
isolation: isolate;
|
|
5
|
+
}
|
|
6
|
+
#{$root} thead tr > th {
|
|
7
|
+
position: relative;
|
|
8
|
+
top: auto;
|
|
9
|
+
inset-block-start: auto;
|
|
10
|
+
}
|
|
11
|
+
#{$root} [data-sticky-header='true'] thead tr > th {
|
|
12
|
+
position: sticky;
|
|
13
|
+
top: var(--aeris-table-header-offset, 0px);
|
|
14
|
+
z-index: 10;
|
|
15
|
+
}
|
|
16
|
+
#{$root} [data-pinned-column] {
|
|
17
|
+
position: sticky;
|
|
18
|
+
inset-inline-start: var(--aeris-table-pin-start, auto);
|
|
19
|
+
inset-inline-end: var(--aeris-table-pin-end, auto);
|
|
20
|
+
z-index: 2;
|
|
21
|
+
}
|
|
22
|
+
#{$root} [data-sticky-header] tbody tr > td[data-pinned-column],
|
|
23
|
+
#{$root} [data-sticky-header] tbody tr[data-pinned-row] > td {
|
|
24
|
+
background: var(--_aeris-pinned-background, var(--aeris-surface, #fff));
|
|
25
|
+
}
|
|
26
|
+
#{$root} tr[data-pinned-row='top'] > td {
|
|
27
|
+
position: sticky;
|
|
28
|
+
top: var(--aeris-table-row-offset);
|
|
29
|
+
z-index: 4;
|
|
30
|
+
}
|
|
31
|
+
#{$root} tr[data-pinned-row='bottom'] > td {
|
|
32
|
+
position: sticky;
|
|
33
|
+
bottom: var(--aeris-table-row-offset);
|
|
34
|
+
z-index: 4;
|
|
35
|
+
}
|
|
36
|
+
#{$root} tr[data-pinned-row] > td[data-pinned-column] {
|
|
37
|
+
z-index: 6;
|
|
38
|
+
}
|
|
39
|
+
#{$root} [data-sticky-header] thead tr > th[data-pinned-column] {
|
|
40
|
+
z-index: 12;
|
|
41
|
+
}
|
|
42
|
+
#{$root}[data-striped] tbody tr:nth-child(odd) {
|
|
43
|
+
--_aeris-pinned-background: color-mix(
|
|
44
|
+
in srgb,
|
|
45
|
+
var(--aeris-surface-2, #f3f3f3) 55%,
|
|
46
|
+
var(--aeris-surface, #fff)
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
@media (hover: hover) {
|
|
50
|
+
#{$root}[data-hoverable] tbody tr:hover {
|
|
51
|
+
--_aeris-pinned-background: var(
|
|
52
|
+
--#{$prefix}-row-hover,
|
|
53
|
+
var(--aeris-interactive-hover, var(--aeris-surface-2, #f3f3f3))
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
#{$root} tbody tr[data-selected='true'] {
|
|
58
|
+
--_aeris-pinned-background: var(
|
|
59
|
+
--#{$prefix}-row-selected,
|
|
60
|
+
color-mix(in srgb, var(--aeris-primary, #666) 12%, var(--aeris-surface, #fff))
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
#{$root} tbody tr[data-context-menu-active] {
|
|
64
|
+
--_aeris-pinned-background: color-mix(
|
|
65
|
+
in srgb,
|
|
66
|
+
var(--aeris-primary, #666) 12%,
|
|
67
|
+
var(--aeris-surface, #fff)
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
#{$root} td[data-editable]:focus-within {
|
|
71
|
+
--_aeris-pinned-background: color-mix(
|
|
72
|
+
in srgb,
|
|
73
|
+
var(--aeris-primary, #666) 7%,
|
|
74
|
+
var(--aeris-surface, #fff)
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
@media (hover: hover) {
|
|
78
|
+
#{$root} td[data-editable]:hover {
|
|
79
|
+
--_aeris-pinned-background: color-mix(
|
|
80
|
+
in srgb,
|
|
81
|
+
var(--aeris-primary, #666) 7%,
|
|
82
|
+
var(--aeris-surface, #fff)
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
#{$root} [data-pin-inline-disabled] [data-pinned-column] {
|
|
87
|
+
inset-inline-start: auto;
|
|
88
|
+
inset-inline-end: auto;
|
|
89
|
+
}
|
|
90
|
+
#{$root} [data-pin-header-disabled] thead tr > th {
|
|
91
|
+
top: auto;
|
|
92
|
+
inset-block-start: auto;
|
|
93
|
+
}
|
|
94
|
+
#{$root} [data-pin-inline-disabled] tbody tr:not([data-pinned-row]) > td[data-pinned-column] {
|
|
95
|
+
position: relative;
|
|
96
|
+
z-index: auto;
|
|
97
|
+
}
|
|
98
|
+
#{$root} [data-pin-block-disabled] tr[data-pinned-row] > td {
|
|
99
|
+
top: auto;
|
|
100
|
+
bottom: auto;
|
|
101
|
+
position: relative;
|
|
102
|
+
z-index: auto;
|
|
103
|
+
}
|
|
104
|
+
#{$root}
|
|
105
|
+
[data-pin-block-disabled]:not([data-pin-inline-disabled])
|
|
106
|
+
tr[data-pinned-row]
|
|
107
|
+
> td[data-pinned-column] {
|
|
108
|
+
position: sticky;
|
|
109
|
+
z-index: 2;
|
|
110
|
+
}
|
|
111
|
+
@media (max-width: 42rem) {
|
|
112
|
+
#{$root}[data-responsive='stack'] tr[data-pinned-row] > td,
|
|
113
|
+
#{$root}[data-responsive='stack'] td[data-pinned-column] {
|
|
114
|
+
position: static;
|
|
115
|
+
inset: auto;
|
|
116
|
+
z-index: auto;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
package/styles/_tokens.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
$aeris-default-palette: (
|
|
2
|
-
'surface': #
|
|
3
|
-
'primary': #
|
|
4
|
-
'secondary': #
|
|
5
|
-
'accent': #
|
|
6
|
-
'contrast': #
|
|
2
|
+
'surface': #f4f4f4,
|
|
3
|
+
'primary': #111111,
|
|
4
|
+
'secondary': #1f1f1f,
|
|
5
|
+
'accent': #f8f8f8,
|
|
6
|
+
'contrast': #050505,
|
|
7
7
|
);
|
|
8
8
|
|
|
9
9
|
@mixin aeris-palette($palette) {
|