@mlola-ui/tokens 1.1.14 → 1.1.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.
@@ -2341,25 +2341,36 @@ button.ml-breadcrumb-link {
2341
2341
 
2342
2342
  .ml-color-picker-sliders {
2343
2343
  display: grid;
2344
- gap: var(--ml-space-2-5);
2345
2344
  }
2346
2345
 
2346
+ /* A slider is a row a fingertip can land on (24 px, as the Slider's), with
2347
+ its thin stripe drawn inside. A finger moving up and down still scrolls;
2348
+ sideways it moves the value. */
2347
2349
  .ml-color-picker-track {
2348
2350
  position: relative;
2349
- height: 0.75rem;
2350
- border-radius: var(--ml-radius-pill);
2351
- background: var(--ml-color-track);
2351
+ height: var(--ml-space-6);
2352
2352
  cursor: pointer;
2353
2353
  outline: none;
2354
- touch-action: none;
2354
+ touch-action: pan-y;
2355
+ }
2356
+
2357
+ .ml-color-picker-track::before {
2358
+ position: absolute;
2359
+ inset-inline: 0;
2360
+ top: 50%;
2361
+ height: var(--ml-space-3);
2362
+ border-radius: var(--ml-radius-pill);
2363
+ background: var(--ml-color-track);
2364
+ content: "";
2365
+ translate: 0 -50%;
2355
2366
  }
2356
2367
 
2357
- .ml-color-picker-hue,
2358
- .ml-color-picker-alpha {
2368
+ .ml-color-picker-hue::before,
2369
+ .ml-color-picker-alpha::before {
2359
2370
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ml-text) 12%, transparent);
2360
2371
  }
2361
2372
 
2362
- .ml-color-picker-alpha {
2373
+ .ml-color-picker-alpha::before {
2363
2374
  background:
2364
2375
  var(--ml-color-track),
2365
2376
  repeating-conic-gradient(color-mix(in oklab, var(--ml-text) 12%, transparent) 0 25%, transparent 0 50%) 50% / 8px 8px;
@@ -3076,6 +3087,24 @@ button.ml-breadcrumb-link {
3076
3087
  background: color-mix(in oklab,var(--ml-surface) 100%,var(--ml-text) 4%);
3077
3088
  }
3078
3089
 
3090
+ /* An icon-only trigger: a small quiet button, named by its label. */
3091
+ .ml-dropdown-trigger[data-variant="icon"] {
3092
+ min-height: var(--ml-control-sm);
3093
+ min-width: var(--ml-control-sm);
3094
+ justify-content: center;
3095
+ padding: 0;
3096
+ border-color: transparent;
3097
+ background: transparent;
3098
+ color: var(--ml-text-muted);
3099
+ box-shadow: none;
3100
+ }
3101
+
3102
+ .ml-dropdown-trigger[data-variant="icon"]:hover,
3103
+ .ml-dropdown-trigger[data-variant="icon"][aria-expanded="true"] {
3104
+ background: var(--ml-fill-hover);
3105
+ color: var(--ml-text);
3106
+ }
3107
+
3079
3108
  .ml-dropdown-trigger-label {
3080
3109
  display: inline-flex;
3081
3110
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlola-ui/tokens",
3
- "version": "1.1.14",
3
+ "version": "1.1.18",
4
4
  "description": "Stable CSS entry for the framework-free Mlola UI design system",
5
5
  "main": "tokens.css",
6
6
  "sideEffects": [