@odx/foundation 1.0.0-rc.11 → 1.0.0-rc.12

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,3 +1,9 @@
1
+ ## 1.0.0-rc.12
2
+
3
+ ### Patch Changes
4
+
5
+ - Increase version range of `@odx/design-tokens` peer dependency to `^4.0.0 || ^5.0.0` to support latest version of design tokens package
6
+
1
7
  ## 1.0.0-rc.11
2
8
 
3
9
  ### Minor Changes
@@ -25,7 +31,7 @@
25
31
 
26
32
  ## 1.0.0-rc.8
27
33
 
28
- ### Bug Fixes
34
+ ### Patch Changes
29
35
 
30
36
  - Remove scroll lock gutter when scrollbar is not present to prevent unnecessary layout shift
31
37
 
@@ -44,7 +50,7 @@
44
50
  - `odx.base` to `odx-base`
45
51
  - `odx.overrides` to `odx-overrides`
46
52
 
47
- ### Bug Fixes
53
+ ### Patch Changes
48
54
 
49
55
  - Remove debug info from rolldown build output
50
56
  - Fix `.odx-cloak` if applied to `:root` element not working correctly
@@ -63,26 +69,26 @@
63
69
 
64
70
  ## 1.0.0-rc.4
65
71
 
66
- ### Bug Fixes
72
+ ### Patch Changes
67
73
 
68
74
  - Fix dark/light mode detection logic in `setTheme` function
69
75
 
70
76
  ## 1.0.0-rc.3
71
77
 
72
- ### Bug Fixes
78
+ ### Patch Changes
73
79
 
74
80
  - Add `package.json` package exports for better tooling support
75
81
 
76
82
  ## 1.0.0-rc.2
77
83
 
78
- ### Bug Fixes
84
+ ### Patch Changes
79
85
 
80
86
  - Fix default text alignment of title elements
81
87
 
82
88
 
83
89
  ## 1.0.0-rc.1
84
90
 
85
- ### Bug Fixes
91
+ ### Patch Changes
86
92
 
87
93
  - Fix `html.odx-root` selector not applying reset styles to `<body>` element
88
94
  - Fix `toggleDarkMode` function never enabling light mode due to incorrect mode detection logic
@@ -128,7 +134,7 @@ With custom label:
128
134
  </odx-accordion-item>
129
135
  ```
130
136
 
131
- ### Bug Fixes
137
+ ### Patch Changes
132
138
 
133
139
  - Fix `aria-expanded` attribute not updating correctly on `odx-accordion-item` component
134
140
  - Fix nested `odx-accordion` not collapsing when parent item is collapsed
@@ -156,7 +162,7 @@ With custom label:
156
162
 
157
163
  - Add `confirmation` variant to `odx-button`, `odx-icon-button`, and `odx-action-button` and `odx-inline-message` components
158
164
 
159
- ### Bug Fixes
165
+ ### Patch Changes
160
166
 
161
167
  - Hide labels when `odx-rail-navigation` is collapsed
162
168
  - Use correct background color for content of `odx-dropdown` and `odx-menu` components
@@ -180,7 +186,7 @@ With custom label:
180
186
  - Add `prefix` and `suffix` slots to horizontal `odx-tab-bar` component to allow adding elements before/after the tab items
181
187
  - Add `top` placement option to `odx-drawer` component
182
188
 
183
- ### Bug Fixes
189
+ ### Patch Changes
184
190
 
185
191
  - Fix `odx-scroll-container` focus outline
186
192
  - Fix disabled background for `danger-ghost` variant of `odx-button` component
@@ -201,7 +207,7 @@ With custom label:
201
207
  - Remove obsolete backdrop element from `odx-loading-overlay`
202
208
  - Add padding to `odx-loading-spinner` to align spinner size with icon sizes
203
209
 
204
- ### Bug Fixes
210
+ ### Patch Changes
205
211
 
206
212
  - Align `odx-accordion-item` indicator size with design spec for size `lg`
207
213
  - Align `odx-avatar` with design spec
@@ -210,7 +216,7 @@ With custom label:
210
216
 
211
217
  ## 1.0.0-beta.271
212
218
 
213
- ### Bug Fixes
219
+ ### Patch Changes
214
220
 
215
221
  - Fix `odx-area-header` base slot positioning and overflow issues
216
222
  - Fix `odx-loading-overlay` not hiding correctly when `loading` is set to `false`
@@ -248,7 +254,7 @@ With custom label:
248
254
  - Add `--safe-space` CSS custom property to `odx-area-header` to control minimum space taken by base slot
249
255
  - Improve `odx-slider-handle` accessibility and UI feedback during drag interaction
250
256
 
251
- ### Bug Fixes
257
+ ### Patch Changes
252
258
 
253
259
  - Update design token library
254
260
  - Fix area header prefix/suffix alignment issue
@@ -280,7 +286,7 @@ With custom label:
280
286
  - Add `touch-disabled` to `odx-tooltip` to disable it on touch devices
281
287
 
282
288
 
283
- ### Bug Fixes
289
+ ### Patch Changes
284
290
 
285
291
  - Fix `odx-rail-navigation` transition animation when expanding/collapsing
286
292
  - Fix cursor styles for `odx-checkbox`, `odx-radio-button`, and `odx-switch` when disabled
@@ -290,7 +296,7 @@ With custom label:
290
296
 
291
297
  ## 1.0.0-beta.268
292
298
 
293
- ### Bug Fixes
299
+ ### Patch Changes
294
300
 
295
301
  - Only apply `:hover` styles on non-touch devices to prevent sticky hover states
296
302
 
@@ -301,7 +307,7 @@ With custom label:
301
307
 
302
308
  - Remove HTML `part` attribute if not needed to reduce shadow DOM complexity
303
309
 
304
- ### Bug Fixes
310
+ ### Patch Changes
305
311
 
306
312
  - Disable native touch interaction feedback on elements which have an `:active` state
307
313
  - Fix nested control spacing issue
@@ -334,7 +340,7 @@ With custom label:
334
340
  - Add `bottom` placement option to `odx-drawer`
335
341
 
336
342
 
337
- ### Bug Fixes
343
+ ### Patch Changes
338
344
 
339
345
  - Fix `odx-card` outer spacing
340
346
  - Fix modal styles
@@ -345,7 +351,7 @@ With custom label:
345
351
 
346
352
  - Add `debounce` property to `odx-input` and `odx-search-bar` components to control input event debouncing
347
353
 
348
- ### Bug Fixes
354
+ ### Patch Changes
349
355
 
350
356
  - Disable `:hover` styles on touch devices to prevent sticky hover states
351
357
  - Dedupe mixins to prevent multiple instances of the same mixin being applied
@@ -356,14 +362,14 @@ With custom label:
356
362
 
357
363
  ## 1.0.0-beta.264
358
364
 
359
- ### Bug Fixes
365
+ ### Patch Changes
360
366
 
361
367
  - Fix `odx-input-number` not emitting change event with updated value
362
368
 
363
369
 
364
370
  ## 1.0.0-beta.263
365
371
 
366
- ### Bug Fixes
372
+ ### Patch Changes
367
373
 
368
374
  - Fix `odx-input` resize issue
369
375
  - Fix `odx-input-number` not updating value to boundaries on step up/down
@@ -377,7 +383,7 @@ With custom label:
377
383
 
378
384
  - Update selected options label for multi selection in `odx-select` component to match design spec
379
385
 
380
- ### Bug Fixes
386
+ ### Patch Changes
381
387
 
382
388
  - Fix modal dismiss event firing on text selection by accident
383
389
  - Fix `odx-input` value not updating correctly
@@ -385,7 +391,7 @@ With custom label:
385
391
 
386
392
  ## 1.0.0-beta.261
387
393
 
388
- ### Bug Fixes
394
+ ### Patch Changes
389
395
 
390
396
  - Fix `odx-input` type attribute not updating correctly
391
397
 
@@ -405,7 +411,7 @@ With custom label:
405
411
  - Add auto sizing behavior for input controls
406
412
  - Remove CSS parts from `odx-loading-overlay` component
407
413
 
408
- ### Bug Fixes
414
+ ### Patch Changes
409
415
 
410
416
  - Fix positioning of clear action in `odx-input` and `odx-select` components
411
417
  - Move `[loading]` styles into button control to prevent leakage to other components
@@ -420,7 +426,7 @@ With custom label:
420
426
  - Bump `@odx/icons` dependency to `^4.2.0`
421
427
  - Use `font-size` property instead of `--size` custom property for icon sizing
422
428
 
423
- ### Bug Fixes
429
+ ### Patch Changes
424
430
 
425
431
  - Fix checkbox control updated hook not calling parent hook
426
432
  - Ensure context API is always used in a root context
@@ -1,3 +1,3 @@
1
1
  type UnitIdentifier = SingleUnitIdentifier | `${SingleUnitIdentifier}-per-${SingleUnitIdentifier}` | (string & {});
2
2
  type SingleUnitIdentifier = 'acre' | 'bit' | 'byte' | 'celsius' | 'centimeter' | 'day' | 'degree' | 'fahrenheit' | 'fluid-ounce' | 'foot' | 'gallon' | 'gigabit' | 'gigabyte' | 'gram' | 'hectare' | 'hour' | 'inch' | 'kilobit' | 'kilobyte' | 'kilogram' | 'kilometer' | 'liter' | 'megabit' | 'megabyte' | 'meter' | 'microsecond' | 'mile' | 'mile-scandinavian' | 'milliliter' | 'millimeter' | 'millisecond' | 'minute' | 'month' | 'nanosecond' | 'ounce' | 'percent' | 'petabyte' | 'pound' | 'second' | 'stone' | 'terabit' | 'terabyte' | 'week' | 'yard' | 'year';
3
- export { UnitIdentifier };
3
+ export { SingleUnitIdentifier, UnitIdentifier };
@@ -36,4 +36,4 @@ function unobserveMedia(query, listener) {
36
36
  mediaQueryList.removeEventListener("change", handleMediaChange);
37
37
  mediaQueryRegistry.delete(query);
38
38
  }
39
- export { observeMedia };
39
+ export { observeMedia, unobserveMedia };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@odx/foundation",
3
3
  "displayName": "ODX Design System Foundation",
4
4
  "description": "The design foundation of the ODX Design System, providing base styles and utilities",
5
- "version": "1.0.0-rc.11",
5
+ "version": "1.0.0-rc.12",
6
6
  "author": "Drägerwerk AG & Co.KGaA",
7
7
  "license": "SEE LICENSE IN LICENSE",
8
8
  "homepage": "https://odx.draeger.com",
@@ -17,12 +17,12 @@
17
17
  "signal-polyfill": "0.2.2"
18
18
  },
19
19
  "peerDependencies": {
20
- "@odx/design-tokens": "^4.0.0"
20
+ "@odx/design-tokens": "^4.0.0 || ^5.0.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@tsdown/css": "0.22.3",
24
24
  "lit": "3.3.3",
25
- "stylelint": "17.13.0",
25
+ "stylelint": "17.14.0",
26
26
  "tsdown": "0.22.3",
27
27
  "@odx-internal/config-stylelint": "0.0.0",
28
28
  "@odx-internal/utils-storybook": "0.0.0"