@sewadah/selaras-docs 1.0.1 → 1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.1.0
4
+
5
+ [compare changes](https://github.com/sewadahapp/selaras/compare/selaras-docs-v1.0.1...selaras-docs-v1.1.0)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - **feat(color-mode-switch):** add switch for light and dark modes ([0fea5d4](https://github.com/sewadahapp/selaras/commit/0fea5d4cfcdd1be2fcdad10241d0e5dabbaf720a))
10
+ - **feat(button):** add subtle variant and underline links on hover ([62e77b3](https://github.com/sewadahapp/selaras/commit/62e77b312a6a32c53cab0127006fd27305658f37))
11
+ - **feat:** add confirm service and refine component behavior ([f3cf73b](https://github.com/sewadahapp/selaras/commit/f3cf73b9f492f7cb8ed44a4ded4c26ec6b165e19))
12
+ - **feat(select):** support object options as values ([be2ae38](https://github.com/sewadahapp/selaras/commit/be2ae38485110f2fa1e6cfdfc2e12eecf69885e4))
13
+ - **feat(code-group):** add Bun package manager icon ([4d8c927](https://github.com/sewadahapp/selaras/commit/4d8c927d4a2f8058d0a1a6a61e2996609bf4550a))
14
+ - **feat(docs):** redesign theme picker ([22cc5f2](https://github.com/sewadahapp/selaras/commit/22cc5f229eba4aae0dc65a7104d0d6d26a74a42d))
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **fix(ci):** allow headroom in packed consumer CSS budgets ([d1bd54a](https://github.com/sewadahapp/selaras/commit/d1bd54adb2247945e9ec05477fa6b944ac4a1a41))
19
+ - **fix(button):** strengthen text variant hover colors ([586d38c](https://github.com/sewadahapp/selaras/commit/586d38c570b7e19ff5cd5f167319a2cd098d26ff))
20
+ - **fix(docs):** remove default footer attribution ([5cd46ba](https://github.com/sewadahapp/selaras/commit/5cd46ba3a538ccbe37ef12177fcf49babce459b3))
21
+ - **fix(theme):** allow chip variant conditions ([2ecefb0](https://github.com/sewadahapp/selaras/commit/2ecefb0425083d08cea9447d212278291407f7c3))
22
+ - **fix(degung):** join grouped buttons back into one segmented pill ([ca3a14e](https://github.com/sewadahapp/selaras/commit/ca3a14e0a8a7c1083b2f1da2bc904aae133cbdf2))
23
+ - **fix(degung):** taper each display rim before its own corner ([4e025fe](https://github.com/sewadahapp/selaras/commit/4e025feb87f70c0f8e66c555ebe08aa7b53b05c6))
24
+ - **fix(degung):** use a fixed-pixel display rim inset instead of a percentage ([ac6567d](https://github.com/sewadahapp/selaras/commit/ac6567dd1d042686ec3cf432a09e9a87397c61b9))
25
+ - **fix(degung):** apply the display look to every accordion, flatten nested groups ([38b8d20](https://github.com/sewadahapp/selaras/commit/38b8d2058478ac80e58d724d8b6a886860416e14))
26
+ - **fix(degung):** collapse the rail's leftover gutter on nested nav rows ([e138ce8](https://github.com/sewadahapp/selaras/commit/e138ce80f178cefe5470340f63a16df249a8c3e3))
27
+ - **fix(degung):** tone down the display text glow for readability ([a65a32a](https://github.com/sewadahapp/selaras/commit/a65a32a038e93bc0ace34d4d19daf2ef23eda9d9))
28
+ - **fix(degung):** drop the tree-connector rail and readable nav hover ([f712787](https://github.com/sewadahapp/selaras/commit/f71278758a3a686229f589dac0de9242d0fc259a))
29
+ - **fix(toast):** carry a card's full background into its stacked cover ([d7c7562](https://github.com/sewadahapp/selaras/commit/d7c7562e6a3f32bbec646eaafbdc51c40c0df9e7))
30
+
31
+ ### 📖 Documentation
32
+
33
+ - **docs(degung):** restyle the preset as rounded glossy hardware ([9be8a84](https://github.com/sewadahapp/selaras/commit/9be8a84cdd37706a982a05c80c093cf3636ecbc1))
34
+
35
+ ### 🤖 Other changes
36
+
37
+ - **chore(test):** restore default worker parallelism ([e4b7f59](https://github.com/sewadahapp/selaras/commit/e4b7f59a6628a0de1567a5ef61e5e29870394d17))
38
+ - **chore(scripts):** run docs template from docs dev ([f743ad4](https://github.com/sewadahapp/selaras/commit/f743ad4e99bcdeff581c18f287cb3dc3729b03b5))
39
+ - **chore(dev):** add Nix shell and limit test workers ([055c03d](https://github.com/sewadahapp/selaras/commit/055c03dcbbe7b6b5fab37210c59b36f03c1a6580))
40
+ - **style(docs):** refine footer and display finish ([31a9dae](https://github.com/sewadahapp/selaras/commit/31a9dae7d7fa23a22d6dbad1e19d5d0616552453))
41
+ - **style(docs):** refine footer content and alignment ([d29b947](https://github.com/sewadahapp/selaras/commit/d29b9479a86caca36c39d1d66d1580257f74b184))
42
+ - **style(degung):** brighten, lengthen and thin the display rim highlight ([413cad5](https://github.com/sewadahapp/selaras/commit/413cad5fae769b5338f45b0c9537f65bc17aa9ab))
43
+ - **style(degung):** enlarge the slider thumb, inset the display rim from the edge ([7530118](https://github.com/sewadahapp/selaras/commit/75301182347d14d16d5b2d7aa1ad7e4381e94465))
44
+ - **style(degung):** tighten the display rim to a hairline ([ed8d531](https://github.com/sewadahapp/selaras/commit/ed8d53190907fa630aff7c2db26eb1333b47702f))
45
+ - **style(degung):** widen the slider thumb, tuck the display rim to all four edges ([8d51891](https://github.com/sewadahapp/selaras/commit/8d51891c41a5323b0713d50568b88fef281e886b))
46
+ - **style(degung):** twin-edge display highlight, chrome pill slider thumb ([c385bb9](https://github.com/sewadahapp/selaras/commit/c385bb948194bfd04f0c3aca3d34e1b9eb7ae911))
47
+ - **style(degung):** add display glow, screen highlight and selection color ([5a2897e](https://github.com/sewadahapp/selaras/commit/5a2897e627f90acf134f4bfc07f35d8bb4365a58))
48
+
49
+ Published against `@sewadah/selaras` ^0.3.2.
50
+
3
51
  ## v1.0.1
4
52
 
5
53
  [compare changes](https://github.com/sewadahapp/selaras/compare/selaras-docs-v1.0.0...selaras-docs-v1.0.1)
@@ -156,6 +156,7 @@
156
156
  position: relative;
157
157
  width: min(100%, 90rem);
158
158
  margin-inline: auto;
159
+ isolation: isolate;
159
160
  }
160
161
 
161
162
  .selaras-docs-footer--fluid {
@@ -164,11 +165,13 @@
164
165
 
165
166
  .selaras-docs-footer::before {
166
167
  position: absolute;
168
+ z-index: -1;
169
+ inset-block: 0;
167
170
  inset-inline-start: 50%;
168
- top: 0;
169
171
  width: 100vw;
170
172
  transform: translateX(-50%);
171
- border-top: 1px solid var(--selaras-resolved-border-default);
173
+ border-top: 1px solid color-mix(in oklab, var(--selaras-resolved-border-default) 72%, transparent);
174
+ background: color-mix(in oklab, var(--selaras-resolved-surface-canvas) 34%, var(--selaras-resolved-surface-default));
172
175
  content: '';
173
176
  pointer-events: none;
174
177
  }
@@ -181,7 +184,8 @@
181
184
  align-items: center;
182
185
  justify-content: space-between;
183
186
  gap: 1rem;
184
- min-height: 5rem;
187
+ min-height: 4.5rem;
188
+ padding-block: 0.875rem;
185
189
  }
186
190
 
187
191
  .selaras-docs-footer-text {
@@ -193,21 +197,37 @@
193
197
  .selaras-docs-footer-links {
194
198
  display: flex;
195
199
  flex-wrap: wrap;
196
- gap: 1rem;
200
+ align-items: center;
201
+ gap: 0.375rem;
197
202
  }
198
203
 
199
204
  .selaras-docs-footer-links a {
200
205
  display: inline-flex;
206
+ min-height: 2.25rem;
207
+ padding: 0.5rem 0.75rem;
201
208
  align-items: center;
202
209
  gap: 0.375rem;
203
210
  color: var(--selaras-resolved-text-muted);
204
211
  font-size: 0.875rem;
205
212
  text-decoration: none;
213
+ border-radius: var(--selaras-resolved-radius-md);
214
+ transition: color 150ms ease, background-color 150ms ease;
206
215
  }
207
216
 
208
217
  .selaras-docs-footer-links a:hover {
209
218
  color: var(--selaras-resolved-text-default);
210
- text-decoration: underline;
219
+ background: var(--selaras-resolved-surface-elevated);
220
+ }
221
+
222
+ .selaras-docs-footer-links a:focus-visible {
223
+ outline: 2px solid var(--selaras-resolved-color-primary-fill);
224
+ outline-offset: 2px;
225
+ }
226
+
227
+ @media (prefers-reduced-motion: reduce) {
228
+ .selaras-docs-footer-links a {
229
+ transition: none;
230
+ }
211
231
  }
212
232
 
213
233
  @media (min-width: 64rem) {
@@ -245,8 +265,9 @@
245
265
  align-items: flex-start;
246
266
  flex-direction: column;
247
267
  justify-content: center;
248
- padding-top: 1rem;
249
- padding-bottom: 1rem;
268
+ gap: 0.5rem;
269
+ padding-top: 1.25rem;
270
+ padding-bottom: 1.25rem;
250
271
  }
251
272
  }
252
273
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sewadah/selaras-docs",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.1.0",
5
5
  "description": "Nuxt Content documentation layer for Selaras",
6
6
  "repository": {
7
7
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@nuxt/content": "^3.16.0",
35
35
  "@nuxt/kit": "^4.5.2",
36
- "@sewadah/selaras": "^0.3.1",
36
+ "@sewadah/selaras": "^0.3.2",
37
37
  "tailwindcss": "^4.3.0"
38
38
  }
39
39
  }