@dereekb/dbx-web 13.11.16 → 13.11.18

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.
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/eslint",
3
- "version": "13.11.16",
3
+ "version": "13.11.18",
4
4
  "peerDependencies": {
5
5
  "@typescript-eslint/utils": "8.59.3"
6
6
  },
7
7
  "devDependencies": {
8
8
  "@angular/core": "21.2.11",
9
- "@dereekb/dbx-core": "13.11.16",
10
- "@dereekb/rxjs": "13.11.16",
9
+ "@dereekb/dbx-core": "13.11.18",
10
+ "@dereekb/rxjs": "13.11.18",
11
11
  "@typescript-eslint/parser": "8.59.3",
12
12
  "eslint": "10.4.0",
13
13
  "rxjs": "^7.8.2"
@@ -88,6 +88,11 @@ $dbx-border-opacity-default: 20%;
88
88
  overflow-y: scroll;
89
89
  }
90
90
 
91
+ /// @dbx-utility content-pit-floating-button
92
+ /// @intent floats a button (typically a `dbx-button`) to the top-right of a `.dbx-content-pit` using `position: sticky` so it stays visible while the pit scrolls — used for inline pit actions like expand/collapse or copy
93
+ /// @role layout
94
+ /// @parent content-pit
95
+ /// @see-also dbx-content-pit, dbx-content-pit-scrollable
91
96
  .dbx-content-pit-floating-button {
92
97
  float: right;
93
98
  position: sticky;
@@ -123,6 +128,10 @@ $dbx-border-opacity-default: 20%;
123
128
  height: 100% !important;
124
129
  }
125
130
 
131
+ /// @dbx-utility content-scroll-lock
132
+ /// @intent locks a region to `height: 100%` with `overflow: hidden` so its children can scroll independently of the page — wrap potentially-infinite-height content (calendars, virtual lists) and let the inner element handle its own `overflow: scroll`
133
+ /// @role layout
134
+ /// @see-also dbx-content, dbx-content-page, dbx-scroll-content
126
135
  .dbx-content-scroll-lock {
127
136
  height: 100%;
128
137
  overflow: hidden;
@@ -200,6 +209,10 @@ $dbx-border-opacity-default: 20%;
200
209
  padding: $content-container-padding-small-screen;
201
210
  }
202
211
 
212
+ /// @dbx-utility scroll-content
213
+ /// @intent adds a small bottom padding (~42px) to a scrollable content region so the last item doesn't sit flush against the bottom edge of the viewport — apply to the scrolling element itself (typically a `.dbx-content-container` rendered inside a `dbx-two-column-right`, `dbx-content-page`, or any host whose body overflows)
214
+ /// @role spacing
215
+ /// @see-also dbx-content-container, dbx-content-page, dbx-content-pit-scrollable
203
216
  .dbx-scroll-content {
204
217
  padding-bottom: $scroll-content-bottom-padding;
205
218
  }
@@ -23,11 +23,27 @@
23
23
  height: 40px; // match the height of the icon
24
24
  }
25
25
 
26
+ /// @dbx-utility link
27
+ /// @intent clickable link affordance — underlined text with pointer cursor; pair with `[dbxTextColor]` or a text color utility for the link color. NOTE: `<dbx-anchor>` renders an inner `<a class="dbx-anchor-a">` with `text-decoration: none`, so apply this class to the projected content (e.g. a `<span>` inside the anchor) rather than the `<dbx-anchor>` host.
28
+ /// @role interaction
29
+ /// @see-also link-hover, dbx-u
26
30
  .dbx-link {
27
31
  text-decoration: underline;
28
32
  cursor: pointer;
29
33
  }
30
34
 
35
+ /// @dbx-utility link-hover
36
+ /// @intent clickable link affordance with hover-only underline — pointer cursor always, underline only on hover; pair with `[dbxTextColor]` or a text color utility for the link color. NOTE: `<dbx-anchor>` renders an inner `<a class="dbx-anchor-a">` with `text-decoration: none`, so apply this class to the projected content (e.g. a `<span>` inside the anchor) rather than the `<dbx-anchor>` host.
37
+ /// @role interaction
38
+ /// @see-also link, dbx-u
39
+ .dbx-link-hover {
40
+ cursor: pointer;
41
+
42
+ &:hover {
43
+ text-decoration: underline;
44
+ }
45
+ }
46
+
31
47
  .dbx-link-spacer:before {
32
48
  content: '|';
33
49
  margin: 0 8px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "13.11.16",
3
+ "version": "13.11.18",
4
4
  "sideEffects": [
5
5
  "*.scss",
6
6
  "*.css"
@@ -13,12 +13,12 @@
13
13
  "@angular/material": "^21.2.9",
14
14
  "@angular/platform-browser": "21.2.11",
15
15
  "@cantoo/pdf-lib": "^2.6.5",
16
- "@dereekb/browser": "13.11.16",
17
- "@dereekb/date": "13.11.16",
18
- "@dereekb/dbx-core": "13.11.16",
19
- "@dereekb/rxjs": "13.11.16",
20
- "@dereekb/util": "13.11.16",
21
- "@dereekb/vitest": "13.11.16",
16
+ "@dereekb/browser": "13.11.18",
17
+ "@dereekb/date": "13.11.18",
18
+ "@dereekb/dbx-core": "13.11.18",
19
+ "@dereekb/rxjs": "13.11.18",
20
+ "@dereekb/util": "13.11.18",
21
+ "@dereekb/vitest": "13.11.18",
22
22
  "@ngbracket/ngx-layout": "^21.0.0",
23
23
  "@ngrx/component-store": "^21.1.0",
24
24
  "@ngrx/effects": "^21.1.0",