ng-hub-ui-ds 22.7.18 → 22.8.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/CHANGELOG.md +27 -0
- package/docs/variables-css-library.en.md +161 -104
- package/package.json +64 -64
- package/styles/utilities/text.css +17 -0
- package/styles/utilities/text.scss +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ All notable changes to `ng-hub-ui-ds` are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [22.8.0] - 2026-09-01
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`.font-tabular-nums`** — the one utility here Bootstrap does not have, and deliberately
|
|
13
|
+
so: Bootstrap ships no `font-variant-numeric` helper at all, so there was nothing to
|
|
14
|
+
mirror. Named into the `.font-*` family beside `.font-monospace`, because it is the same
|
|
15
|
+
kind of decision — which shapes the glyphs take.
|
|
16
|
+
|
|
17
|
+
Proportional numerals give every digit its own width, so a 1 is narrower than a 0 and two
|
|
18
|
+
amounts in a column have their units in different places. Money is read by comparing it
|
|
19
|
+
downwards, and a column whose units do not line up has to be read figure by figure
|
|
20
|
+
instead. Consumers were writing the declaration by hand in their own sheets — five screens
|
|
21
|
+
of one product, which is what asked for this.
|
|
22
|
+
|
|
23
|
+
## [22.7.20] - 2026-09-01
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- **docs (datepicker)** — `--hub-datepicker-grid-gap`, the gap between the calendar's day cells (`ng-hub-ui-forms` 22.29.0), defaulting to `0.125rem`. Consumed-only, like the overlay's stacking hook before it. What earns it a row is that the panel now measures itself from the same arithmetic the grid lays itself out with — seven cells and the six gaps between them — so this token no longer only spaces the days: widening it widens the panel, which is the supported way to make room for `monthFormat="long"`. A reader who tunes it expecting a purely cosmetic change gets a wider calendar, and the table should say so before they find out.
|
|
28
|
+
|
|
29
|
+
## [22.7.19] - 2026-08-31
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **docs (datepicker)** — `--hub-datepicker-overlay-zindex`, the calendar overlay's stacking hook (`ng-hub-ui-forms` 22.28.0), defaulting to `calc(var(--hub-sys-zindex-modal, 1055) + 5)`. It is the datepicker's counterpart of `--hub-select-dropdown-zindex`: both panels now open above `HubModal`, so the two controls of that package answer the same question the same way. Consumed-only, like the select's canonical spelling — the default lives in the `var()` fallback, so an override anywhere in the cascade wins.
|
|
34
|
+
|
|
8
35
|
## [22.7.18] - 2026-08-27
|
|
9
36
|
|
|
10
37
|
### Fixed
|
|
@@ -590,6 +590,9 @@ Every accent slot discovered in the libraries (declared or consumed), one row pe
|
|
|
590
590
|
| `--hub-avatar-accent-subtle` | subtle |
|
|
591
591
|
| `--hub-avatar-accent-emphasis` | emphasis |
|
|
592
592
|
| `--hub-avatar-accent-on` | on |
|
|
593
|
+
| `--hub-action-sheet-accent` | base |
|
|
594
|
+
| `--hub-action-sheet-accent-subtle` | subtle |
|
|
595
|
+
| `--hub-action-sheet-accent-emphasis` | emphasis |
|
|
593
596
|
| `--hub-badge-accent` | base |
|
|
594
597
|
| `--hub-badge-accent-subtle` | subtle |
|
|
595
598
|
| `--hub-badge-accent-emphasis` | emphasis |
|
|
@@ -699,6 +702,46 @@ Source legend:
|
|
|
699
702
|
| `--hub-accordion-inner-border-radius` | `calc(var(--hub-accordion-border-radius, var(--hub-ref-radius-sm, 0.25rem)) - var(--hub-accordion-border-width, var(--hub-ref-border-width, 1px)))` | Inner border radius | `IN_USE` | `panels/src/lib/components/panels/panels.variables.scss:125` |
|
|
700
703
|
| `--hub-accordion-transition` | `color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease` | Header visual transition | `IN_USE` | `panels/src/lib/components/panels/panels.variables.scss:148` |
|
|
701
704
|
|
|
705
|
+
### `action sheet`
|
|
706
|
+
|
|
707
|
+
| Token | Initial value | Usage | Status | Source |
|
|
708
|
+
| --- | --- | --- | --- | --- |
|
|
709
|
+
| `--hub-action-sheet-z-index` | `1055` | Stacking layer of the whole overlay | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:3` |
|
|
710
|
+
| `--hub-action-sheet-backdrop-bg` | `rgba(0, 0, 0, 0.45)` | Backdrop behind the sheet | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:4` |
|
|
711
|
+
| `--hub-action-sheet-bg` | `var(--hub-sys-surface-page, #fff)` | Sheet background color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:5` |
|
|
712
|
+
| `--hub-action-sheet-color` | `var(--hub-sys-text-primary, #212529)` | Sheet text color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:6` |
|
|
713
|
+
| `--hub-action-sheet-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Rule between groups and above the cancel action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:7` |
|
|
714
|
+
| `--hub-action-sheet-border-radius` | `var(--hub-ref-radius-lg, 0.5rem)` | Sheet corner radius | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:8` |
|
|
715
|
+
| `--hub-action-sheet-shadow` | `0 -0.5rem 1.5rem rgba(0, 0, 0, 0.18)` | Sheet shadow | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:9` |
|
|
716
|
+
| `--hub-action-sheet-max-width` | `34rem` | Width cap of the sheet on wide screens | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:10` |
|
|
717
|
+
| `--hub-action-sheet-padding` | `var(--hub-ref-space-2, 0.5rem)` | Padding inside the sheet | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:11` |
|
|
718
|
+
| `--hub-action-sheet-gap` | `var(--hub-ref-space-2, 0.5rem)` | Space between the sheet blocks | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:12` |
|
|
719
|
+
| `--hub-action-sheet-inset` | `var(--hub-ref-space-2, 0.5rem)` | Margin between the sheet and the viewport edges | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:13` |
|
|
720
|
+
| `--hub-action-sheet-duration` | `240ms` | Entry, exit and snap-back duration | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:14` |
|
|
721
|
+
| `--hub-action-sheet-header-color` | `var(--hub-sys-text-primary, #212529)` | Header text color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:16` |
|
|
722
|
+
| `--hub-action-sheet-sub-header-color` | `var(--hub-sys-text-muted, #6c757d)` | Sub-header text color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:17` |
|
|
723
|
+
| `--hub-action-sheet-group-title-color` | `var(--hub-sys-text-muted, #6c757d)` | Group title color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:18` |
|
|
724
|
+
| `--hub-action-sheet-action-color` | `var(--hub-sys-text-primary, #212529)` | Action text color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:20` |
|
|
725
|
+
| `--hub-action-sheet-action-bg` | `transparent` | Action background color | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:21` |
|
|
726
|
+
| `--hub-action-sheet-action-hover-bg` | `var(--hub-sys-color-surface-subtle, #f8f9fa)` | Action background on hover | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:22` |
|
|
727
|
+
| `--hub-action-sheet-action-min-height` | `3rem` | Minimum height of an action — the touch target | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:23` |
|
|
728
|
+
| `--hub-action-sheet-action-padding-x` | `var(--hub-ref-space-3, 1rem)` | Horizontal padding of an action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:24` |
|
|
729
|
+
| `--hub-action-sheet-action-gap` | `var(--hub-ref-space-2, 0.5rem)` | Space between an action icon and its label | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:25` |
|
|
730
|
+
| `--hub-action-sheet-action-font-size` | `1rem` | Action font size | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:26` |
|
|
731
|
+
| `--hub-action-sheet-action-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Action corner radius | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:27` |
|
|
732
|
+
| `--hub-action-sheet-action-disabled-opacity` | `0.5` | Opacity of a disabled action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:28` |
|
|
733
|
+
| `--hub-action-sheet-destructive-color` | `var(--hub-sys-color-danger, #dc3545)` | Text color of the destructive action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:30` |
|
|
734
|
+
| `--hub-action-sheet-accent` | `var(--hub-sys-color-primary, #0d6efd)` | Semantic accent for the sheet — re-based per `variant` (default = primary) | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:34` |
|
|
735
|
+
| `--hub-action-sheet-accent-emphasis` | `color-mix(in oklch, var(--hub-action-sheet-accent) 80%, var(--hub-sys-color-ink, #212529))` | Accent role: emphasis, derived locally from the accent slot | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:35` |
|
|
736
|
+
| `--hub-action-sheet-accent-subtle` | `color-mix(in oklch, var(--hub-action-sheet-accent) 12%, var(--hub-action-sheet-bg))` | Accent role: subtle, derived locally from the accent slot | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:40` |
|
|
737
|
+
| `--hub-action-sheet-selected-color` | `var(--hub-action-sheet-accent)` | Text color of the selected action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:41` |
|
|
738
|
+
| `--hub-action-sheet-selected-bg` | `var(--hub-action-sheet-accent-subtle)` | Background of the selected action | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:42` |
|
|
739
|
+
| `--hub-action-sheet-handle-width` | `2.25rem` | Width of the drag handle | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:44` |
|
|
740
|
+
| `--hub-action-sheet-handle-height` | `0.25rem` | Height of the drag handle | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:45` |
|
|
741
|
+
| `--hub-action-sheet-handle-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Color of the drag handle | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:46` |
|
|
742
|
+
| `--hub-action-sheet-focus-ring-width` | `var(--hub-sys-focus-ring-width, 0.25rem)` | Width of the keyboard focus ring | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:48` |
|
|
743
|
+
| `--hub-action-sheet-focus-ring-color` | `var(--hub-sys-focus-ring-color, rgba(13, 110, 253, 0.25))` | Color of the keyboard focus ring | `IN_USE` | `action-sheet/src/lib/components/action-sheet/action-sheet.component.scss:49` |
|
|
744
|
+
|
|
702
745
|
### `avatar`
|
|
703
746
|
|
|
704
747
|
| Token | Initial value | Usage | Status | Source |
|
|
@@ -820,11 +863,11 @@ Source legend:
|
|
|
820
863
|
| `--hub-breadcrumb-margin-bottom` | `var(--hub-ref-space-0, 0)` | Bottom margin of the breadcrumb list | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:5` |
|
|
821
864
|
| `--hub-breadcrumb-bg` | `var(--hub-sys-surface-page, transparent)` | Background color of the breadcrumb list | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:6` |
|
|
822
865
|
| `--hub-breadcrumb-color` | `var(--hub-sys-text-primary, #212529)` | Base text color of the breadcrumb list | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:7` |
|
|
823
|
-
| `--hub-breadcrumb-font-size` | `inherit` | Font size of the breadcrumb list; inherits from parent by default | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:
|
|
866
|
+
| `--hub-breadcrumb-font-size` | `inherit` | Font size of the breadcrumb list; inherits from parent by default | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:42` |
|
|
824
867
|
| `--hub-breadcrumb-border-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Border radius of the breadcrumb list container | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:8` |
|
|
825
868
|
| `--hub-breadcrumb-divider-color` | `var(--hub-sys-text-muted, #6c757d)` | Color of the separator between breadcrumb items | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:9` |
|
|
826
|
-
| `--hub-breadcrumb-divider` | `'>'` | Content of the separator (LTR) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:
|
|
827
|
-
| `--hub-breadcrumb-divider-flipped` | `'<'` | Content of the separator (RTL) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:
|
|
869
|
+
| `--hub-breadcrumb-divider` | `'>'` | Content of the separator (LTR) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:40` |
|
|
870
|
+
| `--hub-breadcrumb-divider-flipped` | `'<'` | Content of the separator (RTL) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:41` |
|
|
828
871
|
| `--hub-breadcrumb-item-padding-x` | `var(--hub-ref-space-1, 0.25rem)` | Horizontal padding between breadcrumb items | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:10` |
|
|
829
872
|
| `--hub-breadcrumb-item-active-color` | `var(--hub-sys-text-muted, #6c757d)` | Text color of the last (active) breadcrumb item | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:11` |
|
|
830
873
|
| `--hub-breadcrumb-accent` | `var(--hub-sys-color-primary, #0d6efd)` | Semantic accent for the links — re-based per `variant` (default = link colour) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:19` |
|
|
@@ -832,7 +875,16 @@ Source legend:
|
|
|
832
875
|
| `--hub-breadcrumb-link-hover-color` | `var(--hub-breadcrumb-accent-emphasis, var(--hub-sys-link-hover-color, #0a58ca))` | Text color of breadcrumb links on hover | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:24` |
|
|
833
876
|
| `--hub-breadcrumb-link-decoration` | `none` | Text decoration of breadcrumb links | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:25` |
|
|
834
877
|
| `--hub-breadcrumb-link-hover-decoration` | `underline` | Text decoration of breadcrumb links on hover | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:26` |
|
|
835
|
-
| `--hub-breadcrumb-max-item-width` | `12rem` | Max width of a breadcrumb item label before it is clipped with an ellipsis (opt-in via the `truncateItems` input) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:
|
|
878
|
+
| `--hub-breadcrumb-max-item-width` | `12rem` | Max width of a breadcrumb item label before it is clipped with an ellipsis (opt-in via the `truncateItems` input) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:45` |
|
|
879
|
+
| `--hub-breadcrumb-link-focus-color` | `var(--hub-breadcrumb-accent-emphasis)` | Text color of a link, or of the collapsed indicator, while it holds keyboard focus | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:30` |
|
|
880
|
+
| `--hub-breadcrumb-focus-bg` | `transparent` | Background behind a link while it holds keyboard focus | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:31` |
|
|
881
|
+
| `--hub-breadcrumb-focus-ring-width` | `var(--hub-sys-focus-ring-width, 0.25rem)` | Width of the keyboard focus ring | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:32` |
|
|
882
|
+
| `--hub-breadcrumb-focus-ring-color` | `var(--hub-sys-focus-ring-color, rgba(13, 110, 253, 0.25))` | Color of the keyboard focus ring | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:33` |
|
|
883
|
+
| `--hub-breadcrumb-focus-ring-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Corner radius the keyboard focus ring is drawn with | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:34` |
|
|
884
|
+
| `--hub-breadcrumb-collapsed-color` | `var(--hub-sys-text-muted, #6c757d)` | Text color of the collapsed indicator (the `…` button shown when `maxItems` folds the trail) | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:36` |
|
|
885
|
+
| `--hub-breadcrumb-collapsed-hover-color` | `var(--hub-breadcrumb-accent)` | Text color of the collapsed indicator on hover | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:37` |
|
|
886
|
+
| `--hub-breadcrumb-collapsed-bg` | `transparent` | Background of the collapsed indicator | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:38` |
|
|
887
|
+
| `--hub-breadcrumb-collapsed-hover-bg` | `var(--hub-breadcrumb-accent-subtle)` | Background of the collapsed indicator on hover | `IN_USE` | `breadcrumbs/src/lib/components/breadcrumb/breadcrumb.component.scss:39` |
|
|
836
888
|
|
|
837
889
|
### `calendar`
|
|
838
890
|
|
|
@@ -1328,56 +1380,56 @@ The `detail` token set is defined as a single, standardized collection that supp
|
|
|
1328
1380
|
|
|
1329
1381
|
| Token | Initial value | Usage | Status | Source |
|
|
1330
1382
|
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ----------------------------------------- |
|
|
1331
|
-
| `--hub-select-arrow-color` | `var(--hub-sys-text-muted, #6c757d)` | Select arrow color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1332
|
-
| `--hub-select-arrow-size` | `5px` | Border of the caret's CSS triangle (its width is 2×, its height 1×); tune to follow a denser field scale | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1333
|
-
| `--hub-select-arrow-gap` | `var(--hub-ref-space-2, 0.5rem)` | Inline clearance of the caret wrapper — separation from the value and from the field edge | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1334
|
-
| `--hub-select-bg` | `var(--hub-input-bg)` | Select bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1335
|
-
| `--hub-select-border-color` | `var( --hub-input-border-color )` | Select border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1336
|
-
| `--hub-select-border-radius` | `var( --hub-input-border-radius )` | Select border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1337
|
-
| `--hub-select-border-width` | `var( --hub-input-border-width )` | Select border width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1338
|
-
| `--hub-select-clear-color` | `var(--hub-sys-text-muted, #6c757d)` | Select clear color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1339
|
-
| `--hub-select-clear-hover-color` | `var(--hub-sys-color-danger, #dc3545)` | Select clear hover color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1340
|
-
| `--hub-select-color` | `var(--hub-input-color)` | Select color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1341
|
-
| `--hub-select-dropdown-bg` | `var(--hub-sys-surface-page, #fff)` | Select dropdown bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1342
|
-
| `--hub-select-dropdown-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Select dropdown border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1343
|
-
| `--hub-select-dropdown-border-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Select dropdown border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1344
|
-
| `--hub-select-dropdown-box-shadow` | `var(--hub-sys-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15))` | Select dropdown box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1345
|
-
| `--hub-select-focus-border-color` | `var( --hub-input-focus-border-color )` | Select focus border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1346
|
-
| `--hub-select-focus-box-shadow` | `var( --hub-input-focus-box-shadow )` | Select focus box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1347
|
-
| `--hub-select-font-size` | `var(--hub-input-font-size)` | Select font size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1348
|
-
| `--hub-select-option-color` | `var(--hub-sys-text-primary, #212529)` | Select option color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1349
|
-
| `--hub-select-option-marked-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Select option marked bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1350
|
-
| `--hub-select-option-padding-x` | `var(--hub-ref-space-3, 1rem)` | Select option padding x | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1351
|
-
| `--hub-select-option-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Select option padding y | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1352
|
-
| `--hub-select-option-selected-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Select option selected bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1353
|
-
| `--hub-select-option-selected-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Select option selected color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1354
|
-
| `--hub-select-padding-x` | `var(--hub-input-padding-x)` | Select padding x | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1355
|
-
| `--hub-select-group-action-bg` | `var(--hub-input-group-action-bg)` | Select attached-action fill | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1356
|
-
| `--hub-select-group-action-color` | `var(--hub-input-group-action-color)` | Select attached-action ink | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1357
|
-
| `--hub-select-group-attached-radius` | `var(--hub-input-group-attached-radius)` | Select group seam radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1358
|
-
| `--hub-select-group-attached-gap` | `var(--hub-input-group-attached-gap)` | Select attached-content gap | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1359
|
-
| `--hub-select-group-attached-border-width` | `var(--hub-select-border-width)` | Select attached-content border width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1360
|
-
| `--hub-select-group-attached-border-color` | `var(--hub-select-border-color)` | Select attached-content border colour | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1361
|
-
| `--hub-select-group-addon-bg` | `var(--hub-input-group-addon-bg)` | Select group addon bg (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1362
|
-
| `--hub-select-group-addon-border-color` | `var(--hub-input-group-addon-border-color)` | Select group addon border color (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1363
|
-
| `--hub-select-group-addon-color` | `var(--hub-input-group-addon-color)` | Select group addon color (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1364
|
-
| `--hub-select-placeholder-color` | `var( --hub-input-placeholder-color )` | Select placeholder color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1365
|
-
| `--hub-select-value-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Select value bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1366
|
-
| `--hub-select-value-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Select value border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1367
|
-
| `--hub-select-value-color` | `var(--hub-sys-text-primary, #212529)` | Select value color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1368
|
-
| `--hub-select-button-bg` | `var(--hub-sys-surface-page, #fff)` | Segmented select button background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1369
|
-
| `--hub-select-button-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Segmented select button border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1370
|
-
| `--hub-select-button-color` | `var(--hub-sys-text-primary, #212529)` | Segmented select button text color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1371
|
-
| `--hub-select-button-gap` | `var(--hub-ref-space-2, 0.5rem)` | Segmented select button gap | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1372
|
-
| `--hub-select-button-padding-x` | `var(--hub-ref-space-3, 1rem)` | Segmented select button horizontal padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1373
|
-
| `--hub-select-button-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Segmented select button vertical padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1374
|
-
| `--hub-select-button-selected-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Selected segmented button background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1375
|
-
| `--hub-select-button-selected-border-color` | `var(--hub-sys-color-primary, #0d6efd)` | Selected segmented button border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1376
|
-
| `--hub-select-button-selected-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Selected segmented button text color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1377
|
-
| `--hub-select-min-height` | `calc( var(--hub-input-line-height) * var(--hub-input-font-size) + 2 * var(--hub-input-padding-y) + 2 * var(--hub-input-border-width) )` | Minimum height of the select control. Derived rather than declared: it spells out the height an input reaches by construction — one line of text between two paddings and two borders — because a select is a div and inherits none of it. Held as a number it drifted, and the select stood 2px taller than every other field | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1378
|
-
| `--hub-select-optgroup-color` | `var(--hub-sys-text-muted, #6c757d)` | Select option group label color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1383
|
+
| `--hub-select-arrow-color` | `var(--hub-sys-text-muted, #6c757d)` | Select arrow color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:371` |
|
|
1384
|
+
| `--hub-select-arrow-size` | `5px` | Border of the caret's CSS triangle (its width is 2×, its height 1×); tune to follow a denser field scale | `IN_USE` | `forms/src/lib/styles/_tokens.scss:375` |
|
|
1385
|
+
| `--hub-select-arrow-gap` | `var(--hub-ref-space-2, 0.5rem)` | Inline clearance of the caret wrapper — separation from the value and from the field edge | `IN_USE` | `forms/src/lib/styles/_tokens.scss:376` |
|
|
1386
|
+
| `--hub-select-bg` | `var(--hub-input-bg)` | Select bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:341` |
|
|
1387
|
+
| `--hub-select-border-color` | `var( --hub-input-border-color )` | Select border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:344` |
|
|
1388
|
+
| `--hub-select-border-radius` | `var( --hub-input-border-radius )` | Select border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:345` |
|
|
1389
|
+
| `--hub-select-border-width` | `var( --hub-input-border-width )` | Select border width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:343` |
|
|
1390
|
+
| `--hub-select-clear-color` | `var(--hub-sys-text-muted, #6c757d)` | Select clear color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:377` |
|
|
1391
|
+
| `--hub-select-clear-hover-color` | `var(--hub-sys-color-danger, #dc3545)` | Select clear hover color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:378` |
|
|
1392
|
+
| `--hub-select-color` | `var(--hub-input-color)` | Select color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:340` |
|
|
1393
|
+
| `--hub-select-dropdown-bg` | `var(--hub-sys-surface-page, #fff)` | Select dropdown bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:391` |
|
|
1394
|
+
| `--hub-select-dropdown-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Select dropdown border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:392` |
|
|
1395
|
+
| `--hub-select-dropdown-border-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Select dropdown border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:393` |
|
|
1396
|
+
| `--hub-select-dropdown-box-shadow` | `var(--hub-sys-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15))` | Select dropdown box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:394` |
|
|
1397
|
+
| `--hub-select-focus-border-color` | `var( --hub-input-focus-border-color )` | Select focus border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:346` |
|
|
1398
|
+
| `--hub-select-focus-box-shadow` | `var( --hub-input-focus-box-shadow )` | Select focus box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:347` |
|
|
1399
|
+
| `--hub-select-font-size` | `var(--hub-input-font-size)` | Select font size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:342` |
|
|
1400
|
+
| `--hub-select-option-color` | `var(--hub-sys-text-primary, #212529)` | Select option color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:379` |
|
|
1401
|
+
| `--hub-select-option-marked-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Select option marked bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:382` |
|
|
1402
|
+
| `--hub-select-option-padding-x` | `var(--hub-ref-space-3, 1rem)` | Select option padding x | `IN_USE` | `forms/src/lib/styles/_tokens.scss:380` |
|
|
1403
|
+
| `--hub-select-option-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Select option padding y | `IN_USE` | `forms/src/lib/styles/_tokens.scss:381` |
|
|
1404
|
+
| `--hub-select-option-selected-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Select option selected bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:383` |
|
|
1405
|
+
| `--hub-select-option-selected-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Select option selected color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:386` |
|
|
1406
|
+
| `--hub-select-padding-x` | `var(--hub-input-padding-x)` | Select padding x | `IN_USE` | `forms/src/lib/styles/_tokens.scss:349` |
|
|
1407
|
+
| `--hub-select-group-action-bg` | `var(--hub-input-group-action-bg)` | Select attached-action fill | `IN_USE` | `forms/src/lib/styles/_tokens.scss:365` |
|
|
1408
|
+
| `--hub-select-group-action-color` | `var(--hub-input-group-action-color)` | Select attached-action ink | `IN_USE` | `forms/src/lib/styles/_tokens.scss:366` |
|
|
1409
|
+
| `--hub-select-group-attached-radius` | `var(--hub-input-group-attached-radius)` | Select group seam radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:367` |
|
|
1410
|
+
| `--hub-select-group-attached-gap` | `var(--hub-input-group-attached-gap)` | Select attached-content gap | `IN_USE` | `forms/src/lib/styles/_tokens.scss:368` |
|
|
1411
|
+
| `--hub-select-group-attached-border-width` | `var(--hub-select-border-width)` | Select attached-content border width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:369` |
|
|
1412
|
+
| `--hub-select-group-attached-border-color` | `var(--hub-select-border-color)` | Select attached-content border colour | `IN_USE` | `forms/src/lib/styles/_tokens.scss:370` |
|
|
1413
|
+
| `--hub-select-group-addon-bg` | `var(--hub-input-group-addon-bg)` | Select group addon bg (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:362` |
|
|
1414
|
+
| `--hub-select-group-addon-border-color` | `var(--hub-input-group-addon-border-color)` | Select group addon border color (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:364` |
|
|
1415
|
+
| `--hub-select-group-addon-color` | `var(--hub-input-group-addon-color)` | Select group addon color (prepend/append) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:363` |
|
|
1416
|
+
| `--hub-select-placeholder-color` | `var( --hub-input-placeholder-color )` | Select placeholder color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:348` |
|
|
1417
|
+
| `--hub-select-value-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Select value bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:388` |
|
|
1418
|
+
| `--hub-select-value-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Select value border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:390` |
|
|
1419
|
+
| `--hub-select-value-color` | `var(--hub-sys-text-primary, #212529)` | Select value color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:389` |
|
|
1420
|
+
| `--hub-select-button-bg` | `var(--hub-sys-surface-page, #fff)` | Segmented select button background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:438` |
|
|
1421
|
+
| `--hub-select-button-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Segmented select button border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:440` |
|
|
1422
|
+
| `--hub-select-button-color` | `var(--hub-sys-text-primary, #212529)` | Segmented select button text color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:439` |
|
|
1423
|
+
| `--hub-select-button-gap` | `var(--hub-ref-space-2, 0.5rem)` | Segmented select button gap | `IN_USE` | `forms/src/lib/styles/_tokens.scss:443` |
|
|
1424
|
+
| `--hub-select-button-padding-x` | `var(--hub-ref-space-3, 1rem)` | Segmented select button horizontal padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:441` |
|
|
1425
|
+
| `--hub-select-button-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Segmented select button vertical padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:442` |
|
|
1426
|
+
| `--hub-select-button-selected-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Selected segmented button background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:444` |
|
|
1427
|
+
| `--hub-select-button-selected-border-color` | `var(--hub-sys-color-primary, #0d6efd)` | Selected segmented button border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:447` |
|
|
1428
|
+
| `--hub-select-button-selected-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Selected segmented button text color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:446` |
|
|
1429
|
+
| `--hub-select-min-height` | `calc( var(--hub-input-line-height) * var(--hub-input-font-size) + 2 * var(--hub-input-padding-y) + 2 * var(--hub-input-border-width) )` | Minimum height of the select control. Derived rather than declared: it spells out the height an input reaches by construction — one line of text between two paddings and two borders — because a select is a div and inherits none of it. Held as a number it drifted, and the select stood 2px taller than every other field | `IN_USE` | `forms/src/lib/styles/_tokens.scss:355` |
|
|
1430
|
+
| `--hub-select-optgroup-color` | `var(--hub-sys-text-muted, #6c757d)` | Select option group label color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:387` |
|
|
1379
1431
|
| `--hub-select-dropdown-zindex` | `var(--hub-select-dropdown-z-index, calc(var(--hub-sys-zindex-modal, 1055) + 5))` | Stacking of the ng-select dropdown panel (canonical `zindex` spelling); sits above HubModal so a select inside a modal is not clipped | `IN_USE` | `forms/src/lib/select/select.component.scss:304` |
|
|
1380
|
-
| `--hub-select-dropdown-z-index` | `calc(var(--hub-sys-zindex-modal, 1055) + 5)` | Deprecated spelling — default carrier and override bridge for `--hub-select-dropdown-zindex`; scheduled for removal after one release cycle | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1432
|
+
| `--hub-select-dropdown-z-index` | `calc(var(--hub-sys-zindex-modal, 1055) + 5)` | Deprecated spelling — default carrier and override bridge for `--hub-select-dropdown-zindex`; scheduled for removal after one release cycle | `IN_USE` | `forms/src/lib/styles/_tokens.scss:402` |
|
|
1381
1433
|
|
|
1382
1434
|
> **Superseded proposals (removed):** the former `--hub-select-btn-*` PENDING block shipped as the `--hub-select-button-*` tokens listed above, and the `--hub-select-checkbox-input-*` / `--hub-select-radio-input-*` proposals were dropped — option checkboxes/radios in the dropdown reuse the `check` component tokens (`--hub-check-*`, see [`check`](#check)), applied in `forms/src/lib/select/select.component.scss`.
|
|
1383
1435
|
|
|
@@ -1392,44 +1444,49 @@ The `detail` token set is defined as a single, standardized collection that supp
|
|
|
1392
1444
|
| `--hub-check-input-checked-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Check input checked bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:297` |
|
|
1393
1445
|
| `--hub-check-input-checked-border-color` | `var(--hub-sys-color-primary, #0d6efd)` | Check input checked border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:298` |
|
|
1394
1446
|
| `--hub-check-input-checked-icon` | `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E")` | Check input checked icon | `IN_USE` | `forms/src/lib/styles/_tokens.scss:299` |
|
|
1447
|
+
| `--hub-check-input-indeterminate-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Check input background in the mixed state | `IN_USE` | `forms/src/lib/styles/_tokens.scss:300` |
|
|
1448
|
+
| `--hub-check-input-indeterminate-border-color` | `var(--hub-sys-color-primary, #0d6efd)` | Check input border colour in the mixed state | `IN_USE` | `forms/src/lib/styles/_tokens.scss:301` |
|
|
1449
|
+
| `--hub-check-input-indeterminate-icon` | `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8h10'/%3E%3C/svg%3E")` | Check input mixed-state icon (a dash) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:302` |
|
|
1395
1450
|
| `--hub-check-input-height` | `1.15rem` | Check input height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:292` |
|
|
1396
1451
|
| `--hub-check-input-width` | `1.15rem` | Check input width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:291` |
|
|
1397
|
-
| `--hub-check-radio-border-radius` | `50%` | Check radio border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1398
|
-
| `--hub-check-label-gap` | `var(--hub-ref-space-2, 0.5rem)` | Gap between check control and label | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1452
|
+
| `--hub-check-radio-border-radius` | `50%` | Check radio border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:304` |
|
|
1453
|
+
| `--hub-check-label-gap` | `var(--hub-ref-space-2, 0.5rem)` | Gap between check control and label | `IN_USE` | `forms/src/lib/styles/_tokens.scss:303` |
|
|
1399
1454
|
|
|
1400
1455
|
### `datepicker`
|
|
1401
1456
|
|
|
1402
1457
|
| Token | Initial value | Usage | Status | Source |
|
|
1403
1458
|
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------- |
|
|
1404
|
-
| `--hub-datepicker-icon` | `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E")` | Datepicker icon | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1405
|
-
| `--hub-datepicker-icon-size` | `1rem` | Datepicker icon size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1459
|
+
| `--hub-datepicker-icon` | `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E")` | Datepicker icon | `IN_USE` | `forms/src/lib/styles/_tokens.scss:405` |
|
|
1460
|
+
| `--hub-datepicker-icon-size` | `1rem` | Datepicker icon size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:406` |
|
|
1406
1461
|
| `--hub-timepicker-width` | `fit-content` | Width of the time field. Sized to its content by default, because an `HH:MM` control that stretches across a form row reads as if it expected more than four digits | `IN_USE` | `forms/src/lib/components/timepicker/timepicker.component.scss:13` |
|
|
1407
1462
|
| `--hub-timepicker-min-width` | `8rem` | Floor for that width, so the native stepper and the AM/PM segment still fit where a locale shows them | `IN_USE` | `forms/src/lib/components/timepicker/timepicker.component.scss:14` |
|
|
1408
1463
|
| `--hub-timepicker-indicator-opacity` | `0.6` | Opacity of the browser's own clock indicator, dimmed so it sits with the field's chrome instead of competing with it | `IN_USE` | `forms/src/lib/components/timepicker/timepicker.component.scss:21` |
|
|
1409
|
-
| `--hub-datepicker-icon-width` | `2.5rem` | Datepicker icon width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1410
|
-
| `--hub-
|
|
1411
|
-
| `--hub-daterangepicker-padding-
|
|
1464
|
+
| `--hub-datepicker-icon-width` | `2.5rem` | Datepicker icon width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:407` |
|
|
1465
|
+
| `--hub-datepicker-overlay-zindex` | `calc(var(--hub-sys-zindex-modal, 1055) + 5)` | Stacking of the calendar overlay, and of its backdrop one layer below it. Sits above HubModal so a datepicker opened inside a dialog draws its calendar over the dialog instead of behind it — the counterpart of `--hub-select-dropdown-zindex`. Read through its `var()` fallback and never declared, so setting it anywhere in the cascade wins | `IN_USE` | `forms/src/lib/components/datepicker/datepicker.component.scss:158` |
|
|
1466
|
+
| `--hub-daterangepicker-padding-x` | `var(--hub-ref-space-3, 1rem)` | Calendar panel horizontal padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:415` |
|
|
1467
|
+
| `--hub-daterangepicker-padding-y` | `var(--hub-ref-space-3, 1rem)` | Calendar panel vertical padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:416` |
|
|
1412
1468
|
|
|
1413
1469
|
### `daterangepicker`
|
|
1414
1470
|
|
|
1415
1471
|
| Token | Initial value | Usage | Status | Source |
|
|
1416
1472
|
| ----------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------- | -------- | ----------------------------------------- |
|
|
1417
|
-
| `--hub-daterangepicker-active-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Daterangepicker active bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1418
|
-
| `--hub-daterangepicker-active-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Daterangepicker active color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1419
|
-
| `--hub-daterangepicker-bg` | `var(--hub-sys-surface-page, #fff)` | Daterangepicker bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1420
|
-
| `--hub-daterangepicker-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Daterangepicker border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1421
|
-
| `--hub-daterangepicker-border-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Daterangepicker border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1422
|
-
| `--hub-daterangepicker-box-shadow` | `var(--hub-sys-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15))` | Daterangepicker box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1423
|
-
| `--hub-daterangepicker-cell-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Daterangepicker cell border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1424
|
-
| `--hub-daterangepicker-cell-color` | `var(--hub-sys-text-primary, #212529)` | Daterangepicker cell color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1425
|
-
| `--hub-daterangepicker-cell-hover-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Daterangepicker cell hover bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1426
|
-
| `--hub-daterangepicker-cell-size` | `2rem` | Daterangepicker cell size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1427
|
-
| `--hub-
|
|
1428
|
-
| `--hub-daterangepicker-
|
|
1429
|
-
| `--hub-daterangepicker-
|
|
1430
|
-
| `--hub-daterangepicker-nav-arrow-
|
|
1431
|
-
| `--hub-daterangepicker-
|
|
1432
|
-
| `--hub-daterangepicker-
|
|
1473
|
+
| `--hub-daterangepicker-active-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Daterangepicker active bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:421` |
|
|
1474
|
+
| `--hub-daterangepicker-active-color` | `var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff))` | Daterangepicker active color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:423` |
|
|
1475
|
+
| `--hub-daterangepicker-bg` | `var(--hub-sys-surface-page, #fff)` | Daterangepicker bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:410` |
|
|
1476
|
+
| `--hub-daterangepicker-border-color` | `var(--hub-sys-border-color-default, #dee2e6)` | Daterangepicker border color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:412` |
|
|
1477
|
+
| `--hub-daterangepicker-border-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Daterangepicker border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:413` |
|
|
1478
|
+
| `--hub-daterangepicker-box-shadow` | `var(--hub-sys-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15))` | Daterangepicker box shadow | `IN_USE` | `forms/src/lib/styles/_tokens.scss:414` |
|
|
1479
|
+
| `--hub-daterangepicker-cell-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Daterangepicker cell border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:419` |
|
|
1480
|
+
| `--hub-daterangepicker-cell-color` | `var(--hub-sys-text-primary, #212529)` | Daterangepicker cell color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:418` |
|
|
1481
|
+
| `--hub-daterangepicker-cell-hover-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Daterangepicker cell hover bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:420` |
|
|
1482
|
+
| `--hub-daterangepicker-cell-size` | `2rem` | Daterangepicker cell size | `IN_USE` | `forms/src/lib/styles/_tokens.scss:417` |
|
|
1483
|
+
| `--hub-datepicker-grid-gap` | `0.125rem` | Gap between the calendar's day cells. Read twice on purpose — the grid lays itself out with it and the panel measures its own width from it — because the panel is exactly seven cells and the six gaps between them, and two literals would drift the first time either was tuned. Widening it widens the panel, which is what makes room for `monthFormat="long"` | `IN_USE` | `forms/src/lib/components/datepicker/datepicker.component.scss:178` |
|
|
1484
|
+
| `--hub-daterangepicker-color` | `var(--hub-sys-text-primary, #212529)` | Daterangepicker color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:411` |
|
|
1485
|
+
| `--hub-daterangepicker-in-range-bg` | `color-mix(in oklch, var(--hub-sys-color-primary, #0d6efd) 14%, transparent)` | Daterangepicker in range bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:427` |
|
|
1486
|
+
| `--hub-daterangepicker-nav-arrow-color` | `var(--hub-sys-text-muted, #6c757d)` | Daterangepicker nav arrow color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:434` |
|
|
1487
|
+
| `--hub-daterangepicker-nav-arrow-hover-color` | `var(--hub-sys-text-primary, #212529)` | Daterangepicker nav arrow hover color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:435` |
|
|
1488
|
+
| `--hub-daterangepicker-off-color` | `var(--hub-sys-text-muted, #6c757d)` | Daterangepicker off color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:433` |
|
|
1489
|
+
| `--hub-daterangepicker-preview-bg` | `color-mix(in oklch, var(--hub-daterangepicker-in-range-bg) 50%, transparent)` | Band a half-open range would take if it closed on the previewed cell. Derived from the committed in-range tint so retinting the range moves the preview with it | `IN_USE` | `forms/src/lib/styles/_tokens.scss:432` |
|
|
1433
1490
|
|
|
1434
1491
|
### `label`
|
|
1435
1492
|
|
|
@@ -1444,33 +1501,33 @@ The `detail` token set is defined as a single, standardized collection that supp
|
|
|
1444
1501
|
|
|
1445
1502
|
| Token | Initial value | Usage | Status | Source |
|
|
1446
1503
|
| ------------------------------------- | --------------------------------------------------- | -------------------------------------------------------------------------------- | -------- | ----------------------------------------- |
|
|
1447
|
-
| `--hub-slider-thumb-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Slider thumb bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1448
|
-
| `--hub-slider-thumb-border` | `2px solid var(--hub-sys-surface-page, #fff)` | Slider thumb border | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1449
|
-
| `--hub-slider-thumb-border-radius` | `50%` | Slider thumb border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1450
|
-
| `--hub-slider-thumb-height` | `1.1rem` | Slider thumb height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1451
|
-
| `--hub-slider-thumb-width` | `1.1rem` | Slider thumb width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1452
|
-
| `--hub-slider-tooltip-bg` | `var(--hub-sys-text-primary, #212529)` | Slider tooltip bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1453
|
-
| `--hub-slider-tooltip-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Slider tooltip border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1454
|
-
| `--hub-slider-tooltip-color` | `var(--hub-sys-surface-page, #fff)` | Slider tooltip color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1455
|
-
| `--hub-slider-track-bg` | `var(--hub-sys-border-color-default, #dee2e6)` | Slider track bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1456
|
-
| `--hub-slider-track-border-radius` | `var(--hub-ref-radius-pill, 50rem)` | Slider track border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1457
|
-
| `--hub-slider-track-height` | `0.375rem` | Slider track height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1458
|
-
| `--hub-slider-track-width` | `100%` | Slider track width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1459
|
-
| `--hub-slider-thumb-shadow` | `0 0 0 1px var(--hub-sys-border-color-default, #dee2e6)` | Slider thumb shadow ring | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1460
|
-
| `--hub-slider-track-fill-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Slider filled track background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1504
|
+
| `--hub-slider-thumb-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Slider thumb bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:332` |
|
|
1505
|
+
| `--hub-slider-thumb-border` | `2px solid var(--hub-sys-surface-page, #fff)` | Slider thumb border | `IN_USE` | `forms/src/lib/styles/_tokens.scss:333` |
|
|
1506
|
+
| `--hub-slider-thumb-border-radius` | `50%` | Slider thumb border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:331` |
|
|
1507
|
+
| `--hub-slider-thumb-height` | `1.1rem` | Slider thumb height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:330` |
|
|
1508
|
+
| `--hub-slider-thumb-width` | `1.1rem` | Slider thumb width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:329` |
|
|
1509
|
+
| `--hub-slider-tooltip-bg` | `var(--hub-sys-text-primary, #212529)` | Slider tooltip bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:335` |
|
|
1510
|
+
| `--hub-slider-tooltip-border-radius` | `var(--hub-ref-radius-sm, 0.25rem)` | Slider tooltip border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:337` |
|
|
1511
|
+
| `--hub-slider-tooltip-color` | `var(--hub-sys-surface-page, #fff)` | Slider tooltip color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:336` |
|
|
1512
|
+
| `--hub-slider-track-bg` | `var(--hub-sys-border-color-default, #dee2e6)` | Slider track bg | `IN_USE` | `forms/src/lib/styles/_tokens.scss:317` |
|
|
1513
|
+
| `--hub-slider-track-border-radius` | `var(--hub-ref-radius-pill, 50rem)` | Slider track border radius | `IN_USE` | `forms/src/lib/styles/_tokens.scss:316` |
|
|
1514
|
+
| `--hub-slider-track-height` | `0.375rem` | Slider track height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:315` |
|
|
1515
|
+
| `--hub-slider-track-width` | `100%` | Slider track width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:314` |
|
|
1516
|
+
| `--hub-slider-thumb-shadow` | `0 0 0 1px var(--hub-sys-border-color-default, #dee2e6)` | Slider thumb shadow ring | `IN_USE` | `forms/src/lib/styles/_tokens.scss:334` |
|
|
1517
|
+
| `--hub-slider-track-fill-bg` | `var(--hub-sys-color-primary, #0d6efd)` | Slider filled track background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:318` |
|
|
1461
1518
|
| `--hub-slider-from` | runtime (0–100) | Start position of the range slider's filled track | `INTERNAL` | `forms/src/lib/components/slider/slider.component.html:8` |
|
|
1462
1519
|
| `--hub-slider-to` | runtime (0–100) | End position of the range slider's filled track | `INTERNAL` | `forms/src/lib/components/slider/slider.component.html:9` |
|
|
1463
1520
|
| `--hub-slider-percent` | runtime (0–100) | Current value position driving fill and thumb/tooltip | `INTERNAL` | `forms/src/lib/components/slider/slider.component.html:7` |
|
|
1464
|
-
| `--hub-slider-track-fill` | `linear-gradient(var(--hub-slider-track-fill-bg), var(--hub-slider-track-fill-bg))` | Gradient-capable fill background image for the slider track (clipped to the current percentage) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1521
|
+
| `--hub-slider-track-fill` | `linear-gradient(var(--hub-slider-track-fill-bg), var(--hub-slider-track-fill-bg))` | Gradient-capable fill background image for the slider track (clipped to the current percentage) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:325` |
|
|
1465
1522
|
| `--hub-slider-value-space` | `0` | Vertical headroom above the rail for the value bubble; collapsed to 0 by the flush (labelless) modifier | `IN_USE` | `forms/src/lib/components/slider/slider.component.scss:21` |
|
|
1466
|
-
| `--hub-segmented-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Vertical padding of each segment (md) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1467
|
-
| `--hub-segmented-padding-x` | `var(--hub-ref-space-3, 1rem)` | Horizontal padding of each segment (md) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1468
|
-
| `--hub-segmented-gap` | `0.25rem` | Gap between segments and inner track padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1469
|
-
| `--hub-segmented-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Corner radius of the hub-segmented track | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1470
|
-
| `--hub-segmented-selected-color` | `var(--hub-sys-text-primary, #212529)` | Selected segment text colour | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1471
|
-
| `--hub-segmented-selected-bg` | `var(--hub-sys-surface-page, #fff)` | Selected segment background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1472
|
-
| `--hub-segmented-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Track background of the hub-segmented bar | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1473
|
-
| `--hub-segmented-indicator-transition` | `0.2s ease` | Duration/easing of the single-mode sliding indicator as it moves between options | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1523
|
+
| `--hub-segmented-padding-y` | `var(--hub-ref-space-2, 0.5rem)` | Vertical padding of each segment (md) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:461` |
|
|
1524
|
+
| `--hub-segmented-padding-x` | `var(--hub-ref-space-3, 1rem)` | Horizontal padding of each segment (md) | `IN_USE` | `forms/src/lib/styles/_tokens.scss:460` |
|
|
1525
|
+
| `--hub-segmented-gap` | `0.25rem` | Gap between segments and inner track padding | `IN_USE` | `forms/src/lib/styles/_tokens.scss:459` |
|
|
1526
|
+
| `--hub-segmented-radius` | `var(--hub-ref-radius-md, 0.375rem)` | Corner radius of the hub-segmented track | `IN_USE` | `forms/src/lib/styles/_tokens.scss:458` |
|
|
1527
|
+
| `--hub-segmented-selected-color` | `var(--hub-sys-text-primary, #212529)` | Selected segment text colour | `IN_USE` | `forms/src/lib/styles/_tokens.scss:457` |
|
|
1528
|
+
| `--hub-segmented-selected-bg` | `var(--hub-sys-surface-page, #fff)` | Selected segment background | `IN_USE` | `forms/src/lib/styles/_tokens.scss:456` |
|
|
1529
|
+
| `--hub-segmented-bg` | `var(--hub-sys-surface-elevated, #f8f9fa)` | Track background of the hub-segmented bar | `IN_USE` | `forms/src/lib/styles/_tokens.scss:450` |
|
|
1530
|
+
| `--hub-segmented-indicator-transition` | `0.2s ease` | Duration/easing of the single-mode sliding indicator as it moves between options | `IN_USE` | `forms/src/lib/styles/_tokens.scss:463` |
|
|
1474
1531
|
| `--hub-segmented-indicator-x` | `—` | Internal runtime X offset of the sliding indicator (set from the selected option's measured geometry) | `INTERNAL` | `forms/src/lib/components/segmented/segmented.component.scss:27` |
|
|
1475
1532
|
| `--hub-segmented-indicator-y` | `—` | Internal runtime Y offset of the sliding indicator (set from the selected option's measured geometry) | `INTERNAL` | `forms/src/lib/components/segmented/segmented.component.scss:28` |
|
|
1476
1533
|
| `--hub-segmented-indicator-width` | `—` | Internal runtime width of the sliding indicator (set from the selected option's measured geometry) | `INTERNAL` | `forms/src/lib/components/segmented/segmented.component.scss:29` |
|
|
@@ -1479,11 +1536,11 @@ The `detail` token set is defined as a single, standardized collection that supp
|
|
|
1479
1536
|
|
|
1480
1537
|
| Token | Initial value | Usage | Status | Source |
|
|
1481
1538
|
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------- |
|
|
1482
|
-
| `--hub-switch-height` | `1.25rem` | Switch height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1483
|
-
| `--hub-switch-width` | `2.25rem` | Switch width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1484
|
-
| `--hub-switch-thumb` | `var(--hub-sys-surface-page, #fff)` | Switch thumb color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1485
|
-
| `--hub-switch-track-off` | `var(--hub-sys-border-color-default, #dee2e6)` | Switch off-state track color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1486
|
-
| `--hub-switch-track-on` | `var(--hub-sys-color-primary, #0d6efd)` | Switch on-state track color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:
|
|
1539
|
+
| `--hub-switch-height` | `1.25rem` | Switch height | `IN_USE` | `forms/src/lib/styles/_tokens.scss:308` |
|
|
1540
|
+
| `--hub-switch-width` | `2.25rem` | Switch width | `IN_USE` | `forms/src/lib/styles/_tokens.scss:307` |
|
|
1541
|
+
| `--hub-switch-thumb` | `var(--hub-sys-surface-page, #fff)` | Switch thumb color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:311` |
|
|
1542
|
+
| `--hub-switch-track-off` | `var(--hub-sys-border-color-default, #dee2e6)` | Switch off-state track color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:309` |
|
|
1543
|
+
| `--hub-switch-track-on` | `var(--hub-sys-color-primary, #0d6efd)` | Switch on-state track color | `IN_USE` | `forms/src/lib/styles/_tokens.scss:310` |
|
|
1487
1544
|
|
|
1488
1545
|
### `otp`
|
|
1489
1546
|
|
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
"name": "ng-hub-ui-ds",
|
|
3
|
+
"version": "22.8.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build:tokens": "sass styles/tokens/hub-tokens.scss styles/tokens/hub-tokens.css --style=expanded --no-source-map",
|
|
7
|
+
"build:utilities": "sass styles/utilities/layout.scss:styles/utilities/layout.css styles/utilities/text.scss:styles/utilities/text.css styles/utilities/surfaces.scss:styles/utilities/surfaces.css --style=expanded --no-source-map",
|
|
8
|
+
"build:reset": "sass styles/base/reset.scss:styles/base/reset.css --style=expanded --no-source-map",
|
|
9
|
+
"build:styles": "npm run build:tokens && npm run build:utilities && npm run build:reset",
|
|
10
|
+
"prepublishOnly": "npm run build:styles"
|
|
11
|
+
},
|
|
12
|
+
"description": "Design tokens for the ng-hub-ui family — the canonical `--hub-ref-*` (primitive) and `--hub-sys-*` (semantic) CSS custom properties, with light/dark and 8 built-in themes. Framework-agnostic: ship the compiled CSS or the SCSS source. Import once and every ng-hub-ui library reads the same palette.",
|
|
13
|
+
"author": "Carlos Morcillo <carlos.morcillo@me.com> (https://www.carlosmorcillo.com)",
|
|
14
|
+
"homepage": "https://hubui.dev/en/design-system/",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/carlos-morcillo/ng-hub-ui-ds.git"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"design-tokens",
|
|
21
|
+
"design-system",
|
|
22
|
+
"css-variables",
|
|
23
|
+
"theme",
|
|
24
|
+
"dark-mode",
|
|
25
|
+
"scss",
|
|
26
|
+
"ng-hub-ui",
|
|
27
|
+
"hub-ui"
|
|
28
|
+
],
|
|
29
|
+
"sideEffects": [
|
|
30
|
+
"**/*.css",
|
|
31
|
+
"**/*.scss"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": "./styles/index.scss",
|
|
35
|
+
"./styles": "./styles/index.scss",
|
|
36
|
+
"./styles/index.scss": "./styles/index.scss",
|
|
37
|
+
"./styles/tokens/hub-tokens.css": "./styles/tokens/hub-tokens.css",
|
|
38
|
+
"./styles/tokens/hub-tokens": "./styles/tokens/hub-tokens.scss",
|
|
39
|
+
"./styles/tokens/hub-tokens.scss": "./styles/tokens/hub-tokens.scss",
|
|
40
|
+
"./styles/mixins/theme": "./styles/mixins/_theme.scss",
|
|
41
|
+
"./styles/mixins/breakpoints": "./styles/mixins/_breakpoints.scss",
|
|
42
|
+
"./styles/mixins/layout": "./styles/mixins/_layout.scss",
|
|
43
|
+
"./styles/mixins/typography": "./styles/mixins/_typography.scss",
|
|
44
|
+
"./styles/mixins/surfaces": "./styles/mixins/_surfaces.scss",
|
|
45
|
+
"./styles/mixins/helpers": "./styles/mixins/_helpers.scss",
|
|
46
|
+
"./styles/mixins/bridges": "./styles/mixins/_bridges.scss",
|
|
47
|
+
"./styles/base/reset": "./styles/base/reset.scss",
|
|
48
|
+
"./styles/base/reset.css": "./styles/base/reset.css",
|
|
49
|
+
"./styles/utilities/layout": "./styles/utilities/layout.scss",
|
|
50
|
+
"./styles/utilities/layout.css": "./styles/utilities/layout.css",
|
|
51
|
+
"./styles/utilities/text": "./styles/utilities/text.scss",
|
|
52
|
+
"./styles/utilities/text.css": "./styles/utilities/text.css",
|
|
53
|
+
"./styles/utilities/surfaces": "./styles/utilities/surfaces.scss",
|
|
54
|
+
"./styles/utilities/surfaces.css": "./styles/utilities/surfaces.css"
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"styles",
|
|
58
|
+
"docs",
|
|
59
|
+
"README.md",
|
|
60
|
+
"README.es.md",
|
|
61
|
+
"CHANGELOG.md"
|
|
62
|
+
],
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"sass": "^1.99.0"
|
|
65
|
+
}
|
|
66
66
|
}
|
|
@@ -249,6 +249,23 @@
|
|
|
249
249
|
font-family: var(--hub-ref-font-family-mono);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
+
/* ── Numerals ──
|
|
253
|
+
*
|
|
254
|
+
* The one name here Bootstrap does not have, and it is deliberate: Bootstrap ships no
|
|
255
|
+
* `font-variant-numeric` utility at all, so there was nothing to mirror. Named into the
|
|
256
|
+
* `.font-*` family beside `.font-monospace`, because it is the same kind of decision —
|
|
257
|
+
* which shapes the glyphs take — rather than a colour or a weight.
|
|
258
|
+
*
|
|
259
|
+
* Proportional numerals give every digit its own width, so a 1 is narrower than a 0 and
|
|
260
|
+
* two amounts in a column have their units in different places. Money is read by
|
|
261
|
+
* comparing it downwards; a column whose units do not line up has to be read figure by
|
|
262
|
+
* figure instead. Consumers were writing the declaration by hand in their own sheets —
|
|
263
|
+
* five screens of one product, which is what asked for this.
|
|
264
|
+
*/
|
|
265
|
+
.font-tabular-nums {
|
|
266
|
+
font-variant-numeric: tabular-nums;
|
|
267
|
+
}
|
|
268
|
+
|
|
252
269
|
/* ── Semantic text colours ── */
|
|
253
270
|
.text-primary {
|
|
254
271
|
color: color-mix(in srgb, var(--hub-sys-color-primary) calc(var(--hub-text-opacity, 1) * 100%), transparent);
|
|
@@ -158,6 +158,23 @@
|
|
|
158
158
|
@include typo.font-family(mono);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
/* ── Numerals ──
|
|
162
|
+
*
|
|
163
|
+
* The one name here Bootstrap does not have, and it is deliberate: Bootstrap ships no
|
|
164
|
+
* `font-variant-numeric` utility at all, so there was nothing to mirror. Named into the
|
|
165
|
+
* `.font-*` family beside `.font-monospace`, because it is the same kind of decision —
|
|
166
|
+
* which shapes the glyphs take — rather than a colour or a weight.
|
|
167
|
+
*
|
|
168
|
+
* Proportional numerals give every digit its own width, so a 1 is narrower than a 0 and
|
|
169
|
+
* two amounts in a column have their units in different places. Money is read by
|
|
170
|
+
* comparing it downwards; a column whose units do not line up has to be read figure by
|
|
171
|
+
* figure instead. Consumers were writing the declaration by hand in their own sheets —
|
|
172
|
+
* five screens of one product, which is what asked for this.
|
|
173
|
+
*/
|
|
174
|
+
.font-tabular-nums {
|
|
175
|
+
font-variant-numeric: tabular-nums;
|
|
176
|
+
}
|
|
177
|
+
|
|
161
178
|
/* ── Semantic text colours ── */
|
|
162
179
|
$_accents: primary, secondary, success, danger, warning, info, neutral, light, dark;
|
|
163
180
|
|