@masmarino/gabarit 1.4.0 → 2.1.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/README.md +231 -144
- package/accordion/README.md +56 -0
- package/alert/README.md +87 -0
- package/app-shell/README.md +133 -0
- package/auth/README.md +155 -0
- package/auth-activate/README.md +119 -0
- package/auth-login/README.md +113 -0
- package/auth-register/README.md +104 -0
- package/auth-reset-password/README.md +120 -0
- package/autocomplete/README.md +77 -0
- package/avatar/README.md +34 -0
- package/avatar-group/README.md +47 -0
- package/badge/README.md +177 -0
- package/bar-chart/README.md +44 -0
- package/breadcrumb/README.md +38 -0
- package/button/README.md +175 -0
- package/card/README.md +179 -0
- package/checkbox/README.md +50 -0
- package/checkbox-group/README.md +78 -0
- package/confirm-danger-modal/README.md +77 -0
- package/copy-button/README.md +90 -0
- package/copy-field/README.md +54 -0
- package/date-picker/README.md +84 -0
- package/description-list/README.md +63 -0
- package/dimension-card/README.md +39 -0
- package/disclosure/README.md +48 -0
- package/divider/README.md +31 -0
- package/drawer/README.md +49 -0
- package/empty-state/README.md +84 -0
- package/fesm2022/masmarino-gabarit-accordion.mjs +243 -0
- package/fesm2022/masmarino-gabarit-accordion.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-alert.mjs +208 -0
- package/fesm2022/masmarino-gabarit-alert.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-app-shell.mjs +378 -0
- package/fesm2022/masmarino-gabarit-app-shell.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-activate.mjs +415 -0
- package/fesm2022/masmarino-gabarit-auth-activate.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-login.mjs +467 -0
- package/fesm2022/masmarino-gabarit-auth-login.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-register.mjs +457 -0
- package/fesm2022/masmarino-gabarit-auth-register.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth-reset-password.mjs +364 -0
- package/fesm2022/masmarino-gabarit-auth-reset-password.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-auth.mjs +844 -0
- package/fesm2022/masmarino-gabarit-auth.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-autocomplete.mjs +477 -0
- package/fesm2022/masmarino-gabarit-autocomplete.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-avatar-group.mjs +199 -0
- package/fesm2022/masmarino-gabarit-avatar-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-avatar.mjs +107 -0
- package/fesm2022/masmarino-gabarit-avatar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-badge.mjs +449 -0
- package/fesm2022/masmarino-gabarit-badge.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-bar-chart.mjs +408 -0
- package/fesm2022/masmarino-gabarit-bar-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-breadcrumb.mjs +59 -0
- package/fesm2022/masmarino-gabarit-breadcrumb.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-button.mjs +374 -0
- package/fesm2022/masmarino-gabarit-button.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-card.mjs +400 -0
- package/fesm2022/masmarino-gabarit-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-chart.mjs +1289 -0
- package/fesm2022/masmarino-gabarit-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-checkbox-group.mjs +335 -0
- package/fesm2022/masmarino-gabarit-checkbox-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-checkbox.mjs +170 -0
- package/fesm2022/masmarino-gabarit-checkbox.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs +387 -0
- package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-copy-button.mjs +407 -0
- package/fesm2022/masmarino-gabarit-copy-button.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-copy-field.mjs +229 -0
- package/fesm2022/masmarino-gabarit-copy-field.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-date-picker.mjs +1238 -0
- package/fesm2022/masmarino-gabarit-date-picker.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-description-list.mjs +127 -0
- package/fesm2022/masmarino-gabarit-description-list.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-dimension-card.mjs +162 -0
- package/fesm2022/masmarino-gabarit-dimension-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-disclosure.mjs +154 -0
- package/fesm2022/masmarino-gabarit-disclosure.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-divider.mjs +90 -0
- package/fesm2022/masmarino-gabarit-divider.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-docs.mjs +21 -11
- package/fesm2022/masmarino-gabarit-docs.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-drawer.mjs +209 -0
- package/fesm2022/masmarino-gabarit-drawer.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-empty-state.mjs +226 -0
- package/fesm2022/masmarino-gabarit-empty-state.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-file-upload.mjs +335 -0
- package/fesm2022/masmarino-gabarit-file-upload.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-floating-panel.mjs +13 -0
- package/fesm2022/masmarino-gabarit-floating-panel.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-format.mjs +345 -0
- package/fesm2022/masmarino-gabarit-format.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-funnel-chart.mjs +247 -0
- package/fesm2022/masmarino-gabarit-funnel-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-gauge-bar.mjs +180 -0
- package/fesm2022/masmarino-gabarit-gauge-bar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-git-field.mjs +127 -0
- package/fesm2022/masmarino-gabarit-git-field.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-icon-marker.mjs +150 -0
- package/fesm2022/masmarino-gabarit-icon-marker.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-icon.mjs +308 -0
- package/fesm2022/masmarino-gabarit-icon.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-input.mjs +493 -0
- package/fesm2022/masmarino-gabarit-input.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-job-graph.mjs +216 -0
- package/fesm2022/masmarino-gabarit-job-graph.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-job-status.mjs +104 -0
- package/fesm2022/masmarino-gabarit-job-status.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-line-chart.mjs +574 -0
- package/fesm2022/masmarino-gabarit-line-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-card.mjs +320 -0
- package/fesm2022/masmarino-gabarit-list-card.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-row.mjs +58 -0
- package/fesm2022/masmarino-gabarit-list-row.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-list-toolbar.mjs +369 -0
- package/fesm2022/masmarino-gabarit-list-toolbar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-menu.mjs +461 -0
- package/fesm2022/masmarino-gabarit-menu.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs +897 -0
- package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-mfa-settings.mjs +629 -0
- package/fesm2022/masmarino-gabarit-mfa-settings.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-modal.mjs +260 -0
- package/fesm2022/masmarino-gabarit-modal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-nav-tabs.mjs +332 -0
- package/fesm2022/masmarino-gabarit-nav-tabs.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-notification-dot.mjs +119 -0
- package/fesm2022/masmarino-gabarit-notification-dot.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-page-header.mjs +78 -0
- package/fesm2022/masmarino-gabarit-page-header.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-page-layout.mjs +157 -0
- package/fesm2022/masmarino-gabarit-page-layout.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-pagination.mjs +415 -0
- package/fesm2022/masmarino-gabarit-pagination.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-panel.mjs +80 -0
- package/fesm2022/masmarino-gabarit-panel.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-passkey-settings.mjs +606 -0
- package/fesm2022/masmarino-gabarit-passkey-settings.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-pie-chart.mjs +317 -0
- package/fesm2022/masmarino-gabarit-pie-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-popover.mjs +139 -0
- package/fesm2022/masmarino-gabarit-popover.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-radio-group.mjs +202 -0
- package/fesm2022/masmarino-gabarit-radio-group.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-save-status.mjs +142 -0
- package/fesm2022/masmarino-gabarit-save-status.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-search-bar.mjs +576 -0
- package/fesm2022/masmarino-gabarit-search-bar.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-secret-reveal.mjs +348 -0
- package/fesm2022/masmarino-gabarit-secret-reveal.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-segmented-control.mjs +272 -0
- package/fesm2022/masmarino-gabarit-segmented-control.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-select.mjs +510 -0
- package/fesm2022/masmarino-gabarit-select.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-skeleton-list.mjs +189 -0
- package/fesm2022/masmarino-gabarit-skeleton-list.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-skeleton.mjs +109 -0
- package/fesm2022/masmarino-gabarit-skeleton.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-slider.mjs +239 -0
- package/fesm2022/masmarino-gabarit-slider.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-sparkline.mjs +276 -0
- package/fesm2022/masmarino-gabarit-sparkline.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-spinner.mjs +86 -0
- package/fesm2022/masmarino-gabarit-spinner.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stat-grid.mjs +139 -0
- package/fesm2022/masmarino-gabarit-stat-grid.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stat-tile.mjs +312 -0
- package/fesm2022/masmarino-gabarit-stat-tile.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-stepper.mjs +219 -0
- package/fesm2022/masmarino-gabarit-stepper.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-switch.mjs +151 -0
- package/fesm2022/masmarino-gabarit-switch.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-table.mjs +206 -0
- package/fesm2022/masmarino-gabarit-table.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tabs.mjs +210 -0
- package/fesm2022/masmarino-gabarit-tabs.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tag-input.mjs +288 -0
- package/fesm2022/masmarino-gabarit-tag-input.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tag.mjs +155 -0
- package/fesm2022/masmarino-gabarit-tag.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-textarea.mjs +369 -0
- package/fesm2022/masmarino-gabarit-textarea.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-timeline-chart.mjs +521 -0
- package/fesm2022/masmarino-gabarit-timeline-chart.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-toaster.mjs +220 -0
- package/fesm2022/masmarino-gabarit-toaster.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tooltip.mjs +182 -0
- package/fesm2022/masmarino-gabarit-tooltip.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-tree.mjs +258 -0
- package/fesm2022/masmarino-gabarit-tree.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-user-chip.mjs +106 -0
- package/fesm2022/masmarino-gabarit-user-chip.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit.mjs +83 -24785
- package/fesm2022/masmarino-gabarit.mjs.map +1 -1
- package/file-upload/README.md +47 -0
- package/fonts/OFL-ibm-plex.txt +93 -0
- package/fonts/ibm-plex-mono-400.woff2 +0 -0
- package/fonts/ibm-plex-mono-500.woff2 +0 -0
- package/fonts/ibm-plex-sans-400.woff2 +0 -0
- package/fonts/ibm-plex-sans-500.woff2 +0 -0
- package/fonts/ibm-plex-sans-600.woff2 +0 -0
- package/fonts/ibm-plex-sans-condensed-600.woff2 +0 -0
- package/fonts/index.scss +28 -0
- package/funnel-chart/README.md +39 -0
- package/gauge-bar/README.md +35 -0
- package/git-field/README.md +34 -0
- package/icon/README.md +52 -0
- package/icon-marker/README.md +37 -0
- package/input/README.md +120 -0
- package/job-graph/README.md +76 -0
- package/job-status/README.md +34 -0
- package/line-chart/README.md +52 -0
- package/list-card/README.md +144 -0
- package/list-row/README.md +72 -0
- package/list-toolbar/README.md +52 -0
- package/menu/README.md +90 -0
- package/mfa-enrollment/README.md +189 -0
- package/mfa-settings/README.md +154 -0
- package/modal/README.md +72 -0
- package/nav-tabs/README.md +106 -0
- package/notification-dot/README.md +43 -0
- package/package.json +335 -1
- package/page-header/README.md +56 -0
- package/page-layout/README.md +76 -0
- package/pagination/README.md +73 -0
- package/panel/README.md +56 -0
- package/passkey-settings/README.md +120 -0
- package/pie-chart/README.md +85 -0
- package/popover/README.md +62 -0
- package/radio-group/README.md +47 -0
- package/save-status/README.md +44 -0
- package/search-bar/README.md +84 -0
- package/secret-reveal/README.md +60 -0
- package/segmented-control/README.md +79 -0
- package/select/README.md +61 -0
- package/skeleton/README.md +49 -0
- package/skeleton-list/README.md +40 -0
- package/slider/README.md +44 -0
- package/sparkline/README.md +37 -0
- package/spinner/README.md +41 -0
- package/src/lib/tokens/_a11y.scss +22 -0
- package/src/lib/tokens/_base.scss +31 -0
- package/src/lib/tokens/_palette.scss +52 -51
- package/src/lib/tokens/_semantic.scss +17 -124
- package/src/lib/tokens/_themes.scss +144 -0
- package/src/lib/tokens/_utilities.scss +10 -10
- package/src/lib/tokens/index.scss +3 -0
- package/stat-grid/README.md +47 -0
- package/stat-tile/README.md +75 -0
- package/stepper/README.md +67 -0
- package/switch/README.md +51 -0
- package/table/README.md +75 -0
- package/tabs/README.md +34 -0
- package/tag/README.md +34 -0
- package/tag-input/README.md +45 -0
- package/textarea/README.md +76 -0
- package/timeline-chart/README.md +49 -0
- package/toaster/README.md +92 -0
- package/tooltip/README.md +50 -0
- package/tree/README.md +79 -0
- package/types/masmarino-gabarit-accordion.d.ts +54 -0
- package/types/masmarino-gabarit-alert.d.ts +65 -0
- package/types/masmarino-gabarit-app-shell.d.ts +102 -0
- package/types/masmarino-gabarit-auth-activate.d.ts +70 -0
- package/types/masmarino-gabarit-auth-login.d.ts +63 -0
- package/types/masmarino-gabarit-auth-register.d.ts +66 -0
- package/types/masmarino-gabarit-auth-reset-password.d.ts +53 -0
- package/types/masmarino-gabarit-auth.d.ts +543 -0
- package/types/masmarino-gabarit-autocomplete.d.ts +139 -0
- package/types/masmarino-gabarit-avatar-group.d.ts +59 -0
- package/types/masmarino-gabarit-avatar.d.ts +31 -0
- package/types/masmarino-gabarit-badge.d.ts +139 -0
- package/types/masmarino-gabarit-bar-chart.d.ts +111 -0
- package/types/masmarino-gabarit-breadcrumb.d.ts +12 -0
- package/types/masmarino-gabarit-button.d.ts +108 -0
- package/types/masmarino-gabarit-card.d.ts +102 -0
- package/types/masmarino-gabarit-chart.d.ts +361 -0
- package/types/masmarino-gabarit-checkbox-group.d.ts +113 -0
- package/types/masmarino-gabarit-checkbox.d.ts +49 -0
- package/types/masmarino-gabarit-confirm-danger-modal.d.ts +94 -0
- package/types/masmarino-gabarit-copy-button.d.ts +111 -0
- package/types/masmarino-gabarit-copy-field.d.ts +64 -0
- package/types/masmarino-gabarit-date-picker.d.ts +397 -0
- package/types/masmarino-gabarit-description-list.d.ts +40 -0
- package/types/masmarino-gabarit-dimension-card.d.ts +55 -0
- package/types/masmarino-gabarit-disclosure.d.ts +44 -0
- package/types/masmarino-gabarit-divider.d.ts +20 -0
- package/types/masmarino-gabarit-docs.d.ts +20 -59
- package/types/masmarino-gabarit-drawer.d.ts +51 -0
- package/types/masmarino-gabarit-empty-state.d.ts +67 -0
- package/types/masmarino-gabarit-file-upload.d.ts +95 -0
- package/types/masmarino-gabarit-floating-panel.d.ts +7 -0
- package/types/masmarino-gabarit-format.d.ts +54 -0
- package/types/masmarino-gabarit-funnel-chart.d.ts +78 -0
- package/types/masmarino-gabarit-gauge-bar.d.ts +54 -0
- package/types/masmarino-gabarit-git-field.d.ts +39 -0
- package/types/masmarino-gabarit-icon-marker.d.ts +47 -0
- package/types/masmarino-gabarit-icon.d.ts +23 -0
- package/types/masmarino-gabarit-input.d.ts +181 -0
- package/types/masmarino-gabarit-job-graph.d.ts +63 -0
- package/types/masmarino-gabarit-job-status.d.ts +20 -0
- package/types/masmarino-gabarit-line-chart.d.ts +153 -0
- package/types/masmarino-gabarit-list-card.d.ts +87 -0
- package/types/masmarino-gabarit-list-row.d.ts +14 -0
- package/types/masmarino-gabarit-list-toolbar.d.ts +100 -0
- package/types/masmarino-gabarit-menu.d.ts +92 -0
- package/types/masmarino-gabarit-mfa-enrollment.d.ts +142 -0
- package/types/masmarino-gabarit-mfa-settings.d.ts +89 -0
- package/types/masmarino-gabarit-modal.d.ts +60 -0
- package/types/masmarino-gabarit-nav-tabs.d.ts +65 -0
- package/types/masmarino-gabarit-notification-dot.d.ts +34 -0
- package/types/masmarino-gabarit-page-header.d.ts +20 -0
- package/types/masmarino-gabarit-page-layout.d.ts +46 -0
- package/types/masmarino-gabarit-pagination.d.ts +109 -0
- package/types/masmarino-gabarit-panel.d.ts +21 -0
- package/types/masmarino-gabarit-passkey-settings.d.ts +94 -0
- package/types/masmarino-gabarit-pie-chart.d.ts +94 -0
- package/types/masmarino-gabarit-popover.d.ts +32 -0
- package/types/masmarino-gabarit-radio-group.d.ts +66 -0
- package/types/masmarino-gabarit-save-status.d.ts +39 -0
- package/types/masmarino-gabarit-search-bar.d.ts +183 -0
- package/types/masmarino-gabarit-secret-reveal.d.ts +95 -0
- package/types/masmarino-gabarit-segmented-control.d.ts +76 -0
- package/types/masmarino-gabarit-select.d.ts +145 -0
- package/types/masmarino-gabarit-skeleton-list.d.ts +54 -0
- package/types/masmarino-gabarit-skeleton.d.ts +26 -0
- package/types/masmarino-gabarit-slider.d.ts +73 -0
- package/types/masmarino-gabarit-sparkline.d.ts +70 -0
- package/types/masmarino-gabarit-spinner.d.ts +20 -0
- package/types/masmarino-gabarit-stat-grid.d.ts +39 -0
- package/types/masmarino-gabarit-stat-tile.d.ts +79 -0
- package/types/masmarino-gabarit-stepper.d.ts +67 -0
- package/types/masmarino-gabarit-switch.d.ts +42 -0
- package/types/masmarino-gabarit-table.d.ts +60 -0
- package/types/masmarino-gabarit-tabs.d.ts +40 -0
- package/types/masmarino-gabarit-tag-input.d.ts +78 -0
- package/types/masmarino-gabarit-tag.d.ts +35 -0
- package/types/masmarino-gabarit-textarea.d.ts +109 -0
- package/types/masmarino-gabarit-timeline-chart.d.ts +145 -0
- package/types/masmarino-gabarit-toaster.d.ts +62 -0
- package/types/masmarino-gabarit-tooltip.d.ts +38 -0
- package/types/masmarino-gabarit-tree.d.ts +71 -0
- package/types/masmarino-gabarit-user-chip.d.ts +26 -0
- package/types/masmarino-gabarit.d.ts +83 -6605
- package/user-chip/README.md +42 -0
package/select/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Select
|
|
2
|
+
|
|
3
|
+
Dropdown list, single or multiple selection. Integrated with reactive
|
|
4
|
+
forms and `ngModel`.
|
|
5
|
+
|
|
6
|
+
**Selector**: `gbt-select`
|
|
7
|
+
|
|
8
|
+
## Inputs
|
|
9
|
+
|
|
10
|
+
| Input | Type | Default | Role |
|
|
11
|
+
| -------------------- | --------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
12
|
+
| `id` | `string` | generated (`gbt-select-N`) | DOM id, associates the `<label>`. |
|
|
13
|
+
| `label` | `string` | `''` | Visible label. |
|
|
14
|
+
| `hint` | `string` | `''` | Help text under the field, linked to the trigger with `aria-describedby`. Hidden (and unlinked) while an error shows. |
|
|
15
|
+
| `hideLabel` | `boolean` | `false` | Hides the label visually; it stays in the DOM and keeps naming the trigger. |
|
|
16
|
+
| `fullWidth` | `boolean` | `false` | Stretches the field to the width of its container (the default sizes to the content, 180px minimum). |
|
|
17
|
+
| `size` | `'md' \| 'sm'` | `'md'` | The trigger is 38px tall (`md`) or 32px (`sm`, for compact contexts like a table's rows-per-page selector, see `Pagination`): the shared `--gbt-control-height-md` / `-sm` scale, level with `gbt-input` and `gbt-button` of the same tier. |
|
|
18
|
+
| `options` | `SelectOption<T>[]` | required | `{ value, label, icon?, color? }` — the offered options. |
|
|
19
|
+
| `multiple` | `boolean` | `false` | Multiple selection. |
|
|
20
|
+
| `chips` | `boolean` | `false` | When `true` together with `multiple`, renders selected options as removable colored chips below the trigger instead of a collapsed count label. Each option's `color` field sets its chip color (a 6-digit hex — see `Tag`); options without one default to a neutral grey. When the field is disabled the chips stay visible but lose their remove buttons. |
|
|
21
|
+
| `placeholder` | `string` | `'Select…'` | Text shown with no selection. |
|
|
22
|
+
| `disabled` | `boolean` | `false` | Disables the field. |
|
|
23
|
+
| `required` | `boolean` | `false` | Native `required` attribute. |
|
|
24
|
+
| `errorMessage` | `string \| null` | `null` | Error message shown under the field. |
|
|
25
|
+
| `selectedCountLabel` | `(count: number) => string` | `` `${count} selected` `` | Trigger label in multiple-selection mode, beyond a single item. In `chips` mode the trigger shows the placeholder instead, and this string is what the screen-reader status region announces as chips are added or removed. |
|
|
26
|
+
| `chipRemoveLabel` | `(label: string) => string` | `` `Remove ${label}` `` | Accessible label of each chip's remove button, in `chips` mode. |
|
|
27
|
+
| `noOptionsMessage` | `string` | `'No options'` | Shown in place of the listbox when `options` is empty and the panel is opened. |
|
|
28
|
+
|
|
29
|
+
## Hint, hidden label, full width
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<gbt-select
|
|
33
|
+
label="Visibility"
|
|
34
|
+
hint="Who can see this repository."
|
|
35
|
+
[fullWidth]="true"
|
|
36
|
+
[options]="options"
|
|
37
|
+
formControlName="visibility"
|
|
38
|
+
/>
|
|
39
|
+
|
|
40
|
+
<gbt-select
|
|
41
|
+
label="Sort by"
|
|
42
|
+
[hideLabel]="true"
|
|
43
|
+
size="sm"
|
|
44
|
+
[options]="sortOptions"
|
|
45
|
+
formControlName="sort"
|
|
46
|
+
/>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
With `errorMessage` set the hint is not rendered and the trigger's
|
|
50
|
+
`aria-describedby` points at the error only (chips mode's chip row is
|
|
51
|
+
unaffected and still renders in the list).
|
|
52
|
+
|
|
53
|
+
## Example
|
|
54
|
+
|
|
55
|
+
```html
|
|
56
|
+
<gbt-select
|
|
57
|
+
label="Rôle"
|
|
58
|
+
[options]="[{ value: 'read', label: 'Lecture' }, { value: 'admin', label: 'Administration' }]"
|
|
59
|
+
formControlName="role"
|
|
60
|
+
/>
|
|
61
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Skeleton
|
|
2
|
+
|
|
3
|
+
Animated placeholder that echoes the shape of content still loading —
|
|
4
|
+
a line of text, a circle, or a rectangle. Combine several to mimic a
|
|
5
|
+
table row, a list item, or a card, instead of a generic spinner
|
|
6
|
+
unrelated to what's about to appear.
|
|
7
|
+
|
|
8
|
+
**Selector**: `gbt-skeleton`
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
| Input | Type | Default | Role |
|
|
13
|
+
| --------- | ----------------------------- | ------- | --------------------------------------------------------------------- |
|
|
14
|
+
| `variant` | `'text' \| 'circle' \| 'rect'` | `'text'` | Shape: rounded line, perfect circle (`aspect-ratio: 1`, sized by `width`), or rounded rectangle. |
|
|
15
|
+
| `width` | `string` | `'100%'` | Any CSS length (`'240px'`, `'60%'`, …). |
|
|
16
|
+
| `height` | `string \| null` | `null` | Any CSS length. Left unset, each variant falls back to a sensible default (`1em` for `text`, matches `width` for `circle`, `100px` for `rect`). |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<gbt-skeleton variant="text" width="60%" />
|
|
22
|
+
<gbt-skeleton variant="circle" width="40px" />
|
|
23
|
+
<gbt-skeleton variant="rect" width="100%" height="140px" />
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Composing a placeholder layout
|
|
27
|
+
|
|
28
|
+
There's no dedicated `TableSkeleton` or `CardSkeleton` — combine plain
|
|
29
|
+
`gbt-skeleton`s instead, e.g. a card:
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<div role="status" aria-label="Loading">
|
|
33
|
+
<gbt-skeleton variant="rect" width="100%" height="140px" />
|
|
34
|
+
<gbt-skeleton variant="text" width="80%" />
|
|
35
|
+
<gbt-skeleton variant="text" width="50%" />
|
|
36
|
+
</div>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Behavior
|
|
40
|
+
|
|
41
|
+
- A soft highlight band sweeps left to right across the shape to
|
|
42
|
+
signal "loading"; the animation is disabled under
|
|
43
|
+
`prefers-reduced-motion: reduce` (the shape stays visible, flat,
|
|
44
|
+
with no motion).
|
|
45
|
+
- Each `gbt-skeleton` sets `aria-hidden="true"` on itself — a screen
|
|
46
|
+
reader is never told about a dozen individual placeholder shapes.
|
|
47
|
+
Wrap the group in a single `role="status"` container with a label
|
|
48
|
+
(as in the example above) so "Loading" is announced once for the
|
|
49
|
+
whole layout, not once per shape.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# SkeletonList
|
|
2
|
+
|
|
3
|
+
The placeholder of a list while it loads: `rows` rows of an optional leading block (a status dot, an
|
|
4
|
+
avatar) and one to three text lines, at the rhythm of a real list row.
|
|
5
|
+
|
|
6
|
+
**Selector**: `gbt-skeleton-list`. Built on [`gbt-skeleton`](../skeleton/README.md). `gbt-list-card`
|
|
7
|
+
draws its own loading state; use this one in a settings section, a panel, a table body or any bordered box.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
| Input | Type | Default | Role |
|
|
12
|
+
| -------------- | -------------------------------- | ------------ | ------------------------------------------------------------------------------- |
|
|
13
|
+
| `rows` | `number` | `4` | Number of placeholder rows (`0` or less: none, only the status). |
|
|
14
|
+
| `leading` | `'circle' \| 'square' \| 'none'` | `'circle'` | The block before the lines: a dot or avatar, a square, or nothing. |
|
|
15
|
+
| `leadingSize` | `string` | `'1rem'` | Its size (`1rem` a status dot, `2.25rem` an avatar). |
|
|
16
|
+
| `lines` | `1 \| 2 \| 3` | `2` | Text lines per row. The first is the longest; its width varies from row to row. |
|
|
17
|
+
| `loadingLabel` | `string` | `'Loading…'` | Read out (visually hidden, polite) while loading. |
|
|
18
|
+
| `divided` | `boolean` | `true` | A hairline between rows. |
|
|
19
|
+
| `padded` | `boolean` | `true` | 1 rem of side padding (a row inside a card). Turn it off in a bare list. |
|
|
20
|
+
|
|
21
|
+
## Behaviour and accessibility
|
|
22
|
+
|
|
23
|
+
- A `role="status"` region with `loadingLabel` is always rendered; the shapes are `aria-hidden`.
|
|
24
|
+
- **No `aria-busy`**: it would sit on an ancestor of the status region, and assistive technology may then hold
|
|
25
|
+
the announcement back until the busy state ends, which is exactly when the announcement is useless.
|
|
26
|
+
- Placeholders animate with `gbt-skeleton`'s shimmer, which stops under `prefers-reduced-motion`.
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```html
|
|
31
|
+
@if (loading()) {
|
|
32
|
+
<gbt-skeleton-list [rows]="3" leadingSize="2.25rem" loadingLabel="Chargement des membres…" />
|
|
33
|
+
} @else {
|
|
34
|
+
<ul>
|
|
35
|
+
…
|
|
36
|
+
</ul>
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
See [AUDIT.md](AUDIT.md).
|
package/slider/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Slider
|
|
2
|
+
|
|
3
|
+
A numeric value picked by dragging — a styled native
|
|
4
|
+
`<input type="range">`, integrated with Angular forms via
|
|
5
|
+
`ControlValueAccessor`, like `Select`.
|
|
6
|
+
|
|
7
|
+
**Selector**: `gbt-slider`
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
| Input | Type | Default | Role |
|
|
12
|
+
| -------------- | ------------------------------ | ------------------------- | ----------------------------------------------------------- |
|
|
13
|
+
| `label` | `string` | required | Field label — also the accessible name of the range input. |
|
|
14
|
+
| `min`/`max` | `number` | `0` / `100` | Bounds. |
|
|
15
|
+
| `step` | `number` | `1` | Increment. |
|
|
16
|
+
| `disabled` | `boolean` | `false` | — |
|
|
17
|
+
| `errorMessage`| `string \| null` | `null` | Rendered as `role="alert"` below the slider. |
|
|
18
|
+
| `showValue` | `boolean` | `true` | Shows the current value next to the label. |
|
|
19
|
+
| `formatValue` | `(value: number) => string` | `(v) => \`${v}\`` | Formats the displayed value (e.g. `€`, `%`). |
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<gbt-slider label="Budget" [min]="0" [max]="1000" [step]="50" [formatValue]="formatEuros" [formControl]="budget" />
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Behavior
|
|
28
|
+
|
|
29
|
+
- Built on a native `<input type="range">`, not a custom
|
|
30
|
+
`role="slider"` widget — keyboard operability (arrows, Home/End,
|
|
31
|
+
Page Up/Down) and screen reader support come from the browser for
|
|
32
|
+
free, at the cost of styling it (done here via
|
|
33
|
+
`::-webkit-slider-thumb`/`::-moz-range-thumb` and friends) rather
|
|
34
|
+
than building a widget from scratch.
|
|
35
|
+
- `label` is required: a slider with no accessible name is
|
|
36
|
+
meaningless to a screen reader, and there's no universal generic
|
|
37
|
+
default text a value-picker could fall back to (unlike `Spinner`'s
|
|
38
|
+
`'Loading…'`).
|
|
39
|
+
|
|
40
|
+
## Scope
|
|
41
|
+
|
|
42
|
+
Single value only. A two-handle range slider (min/max) was
|
|
43
|
+
deliberately left for a separate iteration if a real use case comes
|
|
44
|
+
up, the same reasoning `DatePicker` applied to a date-range picker.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Sparkline
|
|
2
|
+
|
|
3
|
+
Fixed-size trend mini-chart — built to live in a table cell, where a
|
|
4
|
+
`ResizeObserver` per row would be expensive for a width the caller
|
|
5
|
+
already knows.
|
|
6
|
+
|
|
7
|
+
**Selector**: `gbt-sparkline`
|
|
8
|
+
|
|
9
|
+
Standalone, outside the dataviz base — no tooltip or keyboard
|
|
10
|
+
navigation in the base's sense, but **focusable** and given an
|
|
11
|
+
accessible name, with its own visually-hidden `gbt-chart-table`.
|
|
12
|
+
|
|
13
|
+
## Inputs
|
|
14
|
+
|
|
15
|
+
| Input | Type | Default | Role |
|
|
16
|
+
| -------------- | ---------- | -------- | ------------------------------------------- |
|
|
17
|
+
| `values` | `number[]` | required | Series values, in order. |
|
|
18
|
+
| `tableCaption` | `string` | required | Caption of the component's `sr-only` table. |
|
|
19
|
+
| `xColumn` | `string` | required | Header of that table's x-axis column. |
|
|
20
|
+
| `yColumn` | `string` | required | Header of that table's value column. |
|
|
21
|
+
| `locale` | `string` | required | Locale used to format numbers. |
|
|
22
|
+
| `emptyMessage` | `string` | required | Message shown when `values` is empty. |
|
|
23
|
+
| `width` | `number` | `80` | Width in pixels. |
|
|
24
|
+
| `height` | `number` | `24` | Height in pixels. |
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<gbt-sparkline
|
|
30
|
+
[values]="[12, 18, 9, 24, 30]"
|
|
31
|
+
tableCaption="Requêtes des 7 derniers jours"
|
|
32
|
+
xColumn="Jour"
|
|
33
|
+
yColumn="Requêtes"
|
|
34
|
+
locale="fr-FR"
|
|
35
|
+
emptyMessage="Aucune donnée"
|
|
36
|
+
/>
|
|
37
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Spinner
|
|
2
|
+
|
|
3
|
+
A standalone loading indicator, for use anywhere `Button`'s own
|
|
4
|
+
internal spinner doesn't reach — a card, a panel, a whole page section
|
|
5
|
+
— and `Skeleton` (which echoes the shape of content still loading)
|
|
6
|
+
isn't a fit, typically because there's no known destination layout to
|
|
7
|
+
echo yet.
|
|
8
|
+
|
|
9
|
+
**Selector**: `gbt-spinner`
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
| Input | Type | Default | Role |
|
|
14
|
+
| ------- | ----------------------- | -------------- | ------------------------------------------------- |
|
|
15
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | 16px / 24px / 40px. |
|
|
16
|
+
| `label` | `string` | `'Loading…'` | Announced once via `role="status"`, visually hidden. |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<gbt-spinner size="lg" label="Loading results…" />
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Behavior
|
|
25
|
+
|
|
26
|
+
- `role="status"` with a visually-hidden label — announced once,
|
|
27
|
+
unlike `Skeleton`'s "no live announcement per shape" stance, since a
|
|
28
|
+
spinner is usually the *only* loading cue on screen, not one of a
|
|
29
|
+
dozen placeholder shapes needing a single shared announcement.
|
|
30
|
+
- The ring inherits `color` (`--primary` by default) — set `color` on
|
|
31
|
+
an ancestor to recolor it, e.g. inside a button with a colored
|
|
32
|
+
background.
|
|
33
|
+
- The ring is two layers: a faint static track (`::before`, 15%
|
|
34
|
+
opacity) and the spinning arc on top (`::after`) — an arc alone,
|
|
35
|
+
with no track, reads as "a circle with a bite taken out of it"
|
|
36
|
+
rather than as motion over a fixed shape.
|
|
37
|
+
|
|
38
|
+
## Relationship to `Button`'s own spinner
|
|
39
|
+
|
|
40
|
+
`Button`'s internal loading spinner stays private and independent — the same call made for
|
|
41
|
+
`AppShell`'s mobile drawer versus `Drawer`: a separate, independent implementation.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Shared by the components' styles, and offered to applications through the tokens.
|
|
2
|
+
|
|
3
|
+
// Out of sight, still read by assistive technology.
|
|
4
|
+
@mixin visually-hidden {
|
|
5
|
+
position: absolute;
|
|
6
|
+
width: 1px;
|
|
7
|
+
height: 1px;
|
|
8
|
+
padding: 0;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
clip-path: inset(50%);
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
border: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// The keyboard focus ring. `--gbt-focus-ring` lets a theme recolour every ring at once.
|
|
17
|
+
@mixin focus-ring($offset: null) {
|
|
18
|
+
outline: 2px solid var(--gbt-focus-ring, var(--focus-ring));
|
|
19
|
+
@if $offset != null {
|
|
20
|
+
outline-offset: $offset;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// The document's own elements, for an application that wants them in the family's type: include once,
|
|
2
|
+
// at the root of its global styles (`@include tokens.document-base;`).
|
|
3
|
+
@mixin document-base {
|
|
4
|
+
body {
|
|
5
|
+
margin: 0;
|
|
6
|
+
font-family: var(--font-family);
|
|
7
|
+
font-feature-settings: 'kern', 'liga';
|
|
8
|
+
background: var(--bg-panel);
|
|
9
|
+
color: var(--text-primary);
|
|
10
|
+
-webkit-font-smoothing: antialiased;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Titles in Plex Condensed: a page and its panels read as a document.
|
|
14
|
+
h1,
|
|
15
|
+
h2,
|
|
16
|
+
h3 {
|
|
17
|
+
font-family: var(--gbt-font-display, var(--font-display));
|
|
18
|
+
letter-spacing: -0.005em;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
code,
|
|
22
|
+
kbd,
|
|
23
|
+
pre,
|
|
24
|
+
samp {
|
|
25
|
+
font-family: var(--gbt-font-mono);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
::selection {
|
|
29
|
+
background: color-mix(in srgb, var(--accent) 22%, transparent);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,58 +1,59 @@
|
|
|
1
|
+
// The raw colours of the Ferris family. Components never read these: they go through the semantic
|
|
2
|
+
// tokens, which pick a step per theme.
|
|
1
3
|
:root {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
4
|
+
// Light neutrals, from the paper to the ink.
|
|
5
|
+
--slate-0: #ffffff;
|
|
6
|
+
--slate-50: #eff2f5;
|
|
7
|
+
--slate-100: #e9edf1;
|
|
8
|
+
--slate-200: #dce2e9;
|
|
9
|
+
--slate-300: #cfd5dc;
|
|
10
|
+
--slate-400: #a9b3c0;
|
|
11
|
+
--slate-500: #7d8794;
|
|
12
|
+
--slate-600: #4a525f;
|
|
13
|
+
--slate-700: #404954;
|
|
14
|
+
--slate-900: #10151c;
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
// Dark neutrals: the graphite of the frame and the dark theme.
|
|
17
|
+
--graphite-1000: #0c1015;
|
|
18
|
+
--graphite-950: #0b0f14;
|
|
19
|
+
--graphite-900: #11161c;
|
|
20
|
+
--graphite-850: #181f27;
|
|
21
|
+
--graphite-800: #1f2730;
|
|
22
|
+
--graphite-700: #28323d;
|
|
23
|
+
--graphite-500: #646c77;
|
|
24
|
+
--graphite-400: #a1a9b5;
|
|
25
|
+
--graphite-300: #b8bfca;
|
|
26
|
+
--graphite-200: #cdd3db;
|
|
27
|
+
--graphite-100: #e7ebf1;
|
|
14
28
|
|
|
15
|
-
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--grey-500: #62889d;
|
|
21
|
-
--grey-600: #3f6070;
|
|
22
|
-
--grey-700: #2a4250;
|
|
23
|
-
--grey-800: #192a34;
|
|
24
|
-
--grey-900: #0d1b24;
|
|
29
|
+
// The crab's rust, kept for the marks that are the brand's own (focus, current page).
|
|
30
|
+
--rust-300: #ff9469;
|
|
31
|
+
--rust-400: #f0622a;
|
|
32
|
+
--rust-500: #c2410c;
|
|
33
|
+
--rust-600: #a8360a;
|
|
25
34
|
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--red-500: #d95a5a;
|
|
32
|
-
--red-600: #c04242;
|
|
33
|
-
--red-700: #a23333;
|
|
34
|
-
--red-800: #6e2e2e;
|
|
35
|
-
--red-900: #3c1313;
|
|
35
|
+
--patina-300: #7ed4b8;
|
|
36
|
+
--patina-400: #3fbf95;
|
|
37
|
+
--patina-600: #15805d;
|
|
38
|
+
--patina-700: #0d5d43;
|
|
39
|
+
--patina-800: #0c523b;
|
|
36
40
|
|
|
37
|
-
--amber-
|
|
38
|
-
--amber-
|
|
39
|
-
--amber-
|
|
40
|
-
--amber-
|
|
41
|
-
--amber-
|
|
42
|
-
--amber-500: #d5962b;
|
|
43
|
-
--amber-600: #bd7522;
|
|
44
|
-
--amber-700: #9c5621;
|
|
45
|
-
--amber-800: #673a20;
|
|
46
|
-
--amber-900: #3c1d0c;
|
|
41
|
+
--amber-300: #f6b649;
|
|
42
|
+
--amber-400: #f5b13d;
|
|
43
|
+
--amber-600: #9a5b04;
|
|
44
|
+
--amber-700: #774603;
|
|
45
|
+
--amber-800: #6a3e03;
|
|
47
46
|
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
|
|
56
|
-
--
|
|
57
|
-
--
|
|
47
|
+
--red-200: #f7aeaa;
|
|
48
|
+
--red-300: #f38c85;
|
|
49
|
+
--red-400: #f2857d;
|
|
50
|
+
--red-600: #c23a32;
|
|
51
|
+
--red-700: #a1302a;
|
|
52
|
+
--red-750: #942c26;
|
|
53
|
+
--red-800: #842822;
|
|
54
|
+
|
|
55
|
+
--indigo-200: #b3beff;
|
|
56
|
+
--indigo-400: #8b9bff;
|
|
57
|
+
--indigo-600: #2f49c9;
|
|
58
|
+
--indigo-800: #283da8;
|
|
58
59
|
}
|
|
@@ -1,144 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
--primary: var(--brand-600);
|
|
3
|
-
|
|
4
|
-
--primary-hover: #32344e;
|
|
5
|
-
--bg-principal: #ffffff;
|
|
6
|
-
--bg-panel: #f5f5f7;
|
|
7
|
-
--bg-hover: rgba(0, 0, 0, 0.05);
|
|
8
|
-
--bg-track: var(--grey-200);
|
|
9
|
-
|
|
10
|
-
--border-color: #7798b3;
|
|
11
|
-
--gbt-hairline: color-mix(in srgb, var(--border-color) 45%, transparent);
|
|
12
|
-
--gbt-card-border: color-mix(in srgb, var(--border-color) 60%, transparent);
|
|
13
|
-
|
|
14
|
-
--text-primary: var(--grey-900);
|
|
15
|
-
--text-secondary: var(--grey-700);
|
|
16
|
-
|
|
17
|
-
--text-discret: #425c6b;
|
|
18
|
-
--text-on-color: #ffffff;
|
|
19
|
-
|
|
20
|
-
--text-on-primary: #ffffff;
|
|
21
|
-
--text-on-error: #ffffff;
|
|
22
|
-
|
|
23
|
-
--color-success-base: var(--green-500);
|
|
24
|
-
--color-success-text: #195e48;
|
|
25
|
-
--color-success-hover: var(--green-700);
|
|
26
|
-
--color-success-bg: var(--green-100);
|
|
27
|
-
--color-success-bg-text: var(--green-800);
|
|
1
|
+
@use 'themes';
|
|
28
2
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
--color-warning-bg: var(--amber-100);
|
|
33
|
-
--color-warning-bg-text: var(--amber-800);
|
|
34
|
-
|
|
35
|
-
--color-error-base: var(--red-500);
|
|
36
|
-
--color-error-fill: #a82727;
|
|
37
|
-
--color-error-text: #9e2525;
|
|
38
|
-
--color-error-hover: #8f2121;
|
|
39
|
-
--color-error-bg: var(--red-100);
|
|
40
|
-
--color-error-bg-text: var(--red-800);
|
|
41
|
-
|
|
42
|
-
--color-info-bg: #dbeafe;
|
|
43
|
-
--color-info-bg-text: #1e40af;
|
|
44
|
-
|
|
45
|
-
--bg-inverse: var(--grey-900);
|
|
46
|
-
|
|
47
|
-
--color-success-vivid-base: var(--green-500);
|
|
48
|
-
--color-warning-vivid-base: #c38927;
|
|
49
|
-
--color-error-vivid-base: var(--red-500);
|
|
50
|
-
--color-info-vivid-base: #2f6feb;
|
|
3
|
+
:root {
|
|
4
|
+
color-scheme: light;
|
|
5
|
+
@include themes.light-tokens;
|
|
51
6
|
|
|
52
|
-
--
|
|
53
|
-
--chart-series-2-base: #009e73;
|
|
54
|
-
--chart-series-3-base: #0072b2;
|
|
55
|
-
--chart-series-4-base: #a6410f;
|
|
56
|
-
--chart-series-5-base: #9c3f78;
|
|
57
|
-
--chart-series-6-base: #5b4fb0;
|
|
58
|
-
--chart-grid: var(--grey-200);
|
|
7
|
+
--frame: var(--graphite-950);
|
|
59
8
|
|
|
60
|
-
--site-border-radius:
|
|
61
|
-
--site-border-radius-sm:
|
|
62
|
-
--site-border-radius-lg:
|
|
9
|
+
--site-border-radius: 4px;
|
|
10
|
+
--site-border-radius-sm: 3px;
|
|
11
|
+
--site-border-radius-lg: 6px;
|
|
63
12
|
|
|
64
13
|
--gbt-control-height-sm: 2rem;
|
|
65
14
|
--gbt-control-height-md: 2.375rem;
|
|
66
15
|
--gbt-control-height-lg: 2.75rem;
|
|
67
16
|
|
|
68
|
-
--site-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.06);
|
|
69
|
-
--site-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
70
|
-
--site-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
71
|
-
|
|
72
17
|
--site-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
73
18
|
--site-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
74
19
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
--primary: #a7aeff;
|
|
81
|
-
|
|
82
|
-
--primary-hover: #c6caff;
|
|
83
|
-
|
|
84
|
-
--bg-principal: var(--grey-900);
|
|
85
|
-
--bg-panel: #0f1c26;
|
|
86
|
-
--bg-hover: rgba(255, 255, 255, 0.06);
|
|
87
|
-
--bg-track: var(--grey-800);
|
|
88
|
-
--border-color: #436a80;
|
|
89
|
-
--gbt-hairline: color-mix(in srgb, var(--border-color) 45%, transparent);
|
|
90
|
-
--gbt-card-border: color-mix(in srgb, var(--border-color) 60%, transparent);
|
|
91
|
-
|
|
92
|
-
--text-primary: var(--grey-50);
|
|
93
|
-
|
|
94
|
-
--text-secondary: #9ebdcf;
|
|
95
|
-
--text-discret: #86a9bb;
|
|
96
|
-
--text-on-color: #ffffff;
|
|
97
|
-
|
|
98
|
-
--text-on-primary: var(--grey-900);
|
|
99
|
-
--text-on-error: var(--grey-900);
|
|
100
|
-
|
|
101
|
-
--color-success-base: var(--green-400);
|
|
102
|
-
--color-success-text: #56b693;
|
|
103
|
-
--color-success-hover: var(--green-500);
|
|
104
|
-
--color-success-bg: var(--green-900);
|
|
105
|
-
--color-success-bg-text: var(--green-100);
|
|
106
|
-
|
|
107
|
-
--color-warning-base: var(--amber-400);
|
|
108
|
-
--color-warning-text: var(--amber-400);
|
|
109
|
-
--color-warning-hover: var(--amber-500);
|
|
110
|
-
--color-warning-bg: var(--amber-900);
|
|
111
|
-
--color-warning-bg-text: var(--amber-100);
|
|
112
|
-
|
|
113
|
-
--color-error-base: var(--red-400);
|
|
114
|
-
--color-error-fill: #e98989;
|
|
115
|
-
--color-error-text: #e98b8b;
|
|
116
|
-
--color-error-hover: #eea3a3;
|
|
117
|
-
--color-error-bg: var(--red-900);
|
|
118
|
-
--color-error-bg-text: var(--red-100);
|
|
119
|
-
|
|
120
|
-
--color-info-bg: #1e3a8a;
|
|
121
|
-
--color-info-bg-text: #dbeafe;
|
|
122
|
-
|
|
123
|
-
--chart-series-1-base: #e69f00;
|
|
124
|
-
--chart-series-2-base: #009e73;
|
|
125
|
-
--chart-series-3-base: #0072b2;
|
|
126
|
-
--chart-series-4-base: #e2703a;
|
|
127
|
-
--chart-series-5-base: #d691bd;
|
|
128
|
-
--chart-series-6-base: #9d94e0;
|
|
129
|
-
--chart-grid: var(--grey-800);
|
|
130
|
-
|
|
131
|
-
--site-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
132
|
-
--site-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
133
|
-
--site-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.3);
|
|
20
|
+
// IBM Plex, served by the application (see `@masmarino/gabarit/fonts`). Without it the stacks fall
|
|
21
|
+
// back to the system's sans and monospace.
|
|
22
|
+
--font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
23
|
+
--font-display: 'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', Arial, sans-serif;
|
|
24
|
+
--gbt-font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
|
|
134
25
|
}
|
|
135
26
|
|
|
136
27
|
@media (prefers-color-scheme: dark) {
|
|
137
28
|
:root {
|
|
138
|
-
|
|
29
|
+
color-scheme: dark;
|
|
30
|
+
@include themes.dark-tokens;
|
|
139
31
|
}
|
|
140
32
|
}
|
|
141
33
|
|
|
142
34
|
:root[data-theme='dark'] {
|
|
143
|
-
|
|
35
|
+
color-scheme: dark;
|
|
36
|
+
@include themes.dark-tokens;
|
|
144
37
|
}
|