@pearpages/pulp-react 0.2.2 → 0.3.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.
Files changed (156) hide show
  1. package/README.md +14 -0
  2. package/dist/accordion.js +1 -1
  3. package/dist/alert.css +18 -0
  4. package/dist/alert.css.map +1 -1
  5. package/dist/alert.js +4 -4
  6. package/dist/avatar.css +46 -0
  7. package/dist/avatar.css.map +1 -0
  8. package/dist/avatar.d.ts +41 -0
  9. package/dist/avatar.js +5 -0
  10. package/dist/avatar.js.map +1 -0
  11. package/dist/badge.css +37 -0
  12. package/dist/badge.css.map +1 -1
  13. package/dist/badge.d.ts +22 -5
  14. package/dist/badge.js +2 -1
  15. package/dist/button.css +18 -0
  16. package/dist/button.css.map +1 -1
  17. package/dist/button.d.ts +11 -2
  18. package/dist/button.js +2 -2
  19. package/dist/calendar.js +1 -1
  20. package/dist/card.js +2 -2
  21. package/dist/checkbox.js +4 -4
  22. package/dist/chip.css +95 -0
  23. package/dist/chip.css.map +1 -0
  24. package/dist/chip.d.ts +43 -0
  25. package/dist/chip.js +4 -0
  26. package/dist/chip.js.map +1 -0
  27. package/dist/{chunk-N6E2E2OY.js → chunk-2NVC3C7K.js} +3 -3
  28. package/dist/{chunk-N6E2E2OY.js.map → chunk-2NVC3C7K.js.map} +1 -1
  29. package/dist/{chunk-MF66ICX6.js → chunk-56RSH7GQ.js} +3 -3
  30. package/dist/{chunk-MF66ICX6.js.map → chunk-56RSH7GQ.js.map} +1 -1
  31. package/dist/chunk-5TYCIBLW.js +27 -0
  32. package/dist/chunk-5TYCIBLW.js.map +1 -0
  33. package/dist/chunk-7O6FTCZL.js +101 -0
  34. package/dist/chunk-7O6FTCZL.js.map +1 -0
  35. package/dist/{chunk-N4C3NQIN.js → chunk-A7TMFEQ2.js} +3 -3
  36. package/dist/{chunk-N4C3NQIN.js.map → chunk-A7TMFEQ2.js.map} +1 -1
  37. package/dist/{chunk-2NSQPN7S.js → chunk-AZAI4OVR.js} +3 -3
  38. package/dist/{chunk-2NSQPN7S.js.map → chunk-AZAI4OVR.js.map} +1 -1
  39. package/dist/{chunk-DVZ46GQN.js → chunk-CLE2QGCU.js} +3 -3
  40. package/dist/{chunk-DVZ46GQN.js.map → chunk-CLE2QGCU.js.map} +1 -1
  41. package/dist/{chunk-5TTYVQ6Q.js → chunk-DE67ECD7.js} +5 -3
  42. package/dist/chunk-DE67ECD7.js.map +1 -0
  43. package/dist/{chunk-BAPNIZDV.js → chunk-F2YI5N4L.js} +3 -3
  44. package/dist/chunk-F2YI5N4L.js.map +1 -0
  45. package/dist/{chunk-U3N3G2UA.js → chunk-FFCEY76B.js} +10 -5
  46. package/dist/chunk-FFCEY76B.js.map +1 -0
  47. package/dist/{chunk-XWPXW46D.js → chunk-GWTHITZO.js} +3 -3
  48. package/dist/{chunk-XWPXW46D.js.map → chunk-GWTHITZO.js.map} +1 -1
  49. package/dist/chunk-HDC2IQV2.js +34 -0
  50. package/dist/chunk-HDC2IQV2.js.map +1 -0
  51. package/dist/{chunk-VQN5DQP6.js → chunk-HKNIEQ2V.js} +4 -4
  52. package/dist/{chunk-VQN5DQP6.js.map → chunk-HKNIEQ2V.js.map} +1 -1
  53. package/dist/{chunk-LA3YBXCR.js → chunk-HPQ462R5.js} +3 -3
  54. package/dist/{chunk-LA3YBXCR.js.map → chunk-HPQ462R5.js.map} +1 -1
  55. package/dist/chunk-KSLKNWWM.js +28 -0
  56. package/dist/chunk-KSLKNWWM.js.map +1 -0
  57. package/dist/chunk-OKA2PLDV.js +85 -0
  58. package/dist/chunk-OKA2PLDV.js.map +1 -0
  59. package/dist/{chunk-6BIEW4WJ.js → chunk-Q6SYKNZ5.js} +3 -3
  60. package/dist/{chunk-6BIEW4WJ.js.map → chunk-Q6SYKNZ5.js.map} +1 -1
  61. package/dist/chunk-QID6YYFF.js +33 -0
  62. package/dist/chunk-QID6YYFF.js.map +1 -0
  63. package/dist/{chunk-ZVDN3GRI.js → chunk-QJG5ILK5.js} +3 -3
  64. package/dist/{chunk-ZVDN3GRI.js.map → chunk-QJG5ILK5.js.map} +1 -1
  65. package/dist/chunk-QXHSA4QD.js +43 -0
  66. package/dist/chunk-QXHSA4QD.js.map +1 -0
  67. package/dist/chunk-S632WN4W.js +106 -0
  68. package/dist/chunk-S632WN4W.js.map +1 -0
  69. package/dist/{chunk-OFFFRIJG.js → chunk-SDIK6VSC.js} +3 -3
  70. package/dist/{chunk-OFFFRIJG.js.map → chunk-SDIK6VSC.js.map} +1 -1
  71. package/dist/{chunk-M5VL22MY.js → chunk-SXMORGSG.js} +3 -3
  72. package/dist/{chunk-M5VL22MY.js.map → chunk-SXMORGSG.js.map} +1 -1
  73. package/dist/{chunk-Z6SS4G4V.js → chunk-UMK4D234.js} +3 -3
  74. package/dist/{chunk-Z6SS4G4V.js.map → chunk-UMK4D234.js.map} +1 -1
  75. package/dist/{chunk-5PYLJQJX.js → chunk-VS2HPJIX.js} +3 -3
  76. package/dist/{chunk-5PYLJQJX.js.map → chunk-VS2HPJIX.js.map} +1 -1
  77. package/dist/{chunk-NOUUOH4R.js → chunk-WDIFWMKE.js} +3 -3
  78. package/dist/chunk-WDIFWMKE.js.map +1 -0
  79. package/dist/chunk-Y7KC2FDU.js +88 -0
  80. package/dist/chunk-Y7KC2FDU.js.map +1 -0
  81. package/dist/{chunk-OFKSU77Y.js → chunk-ZEVQQQOA.js} +3 -3
  82. package/dist/{chunk-OFKSU77Y.js.map → chunk-ZEVQQQOA.js.map} +1 -1
  83. package/dist/combobox.css +3 -0
  84. package/dist/combobox.css.map +1 -1
  85. package/dist/combobox.js +2 -2
  86. package/dist/component-manifest.json +679 -8
  87. package/dist/date-picker.js +1 -1
  88. package/dist/dialog.js +1 -1
  89. package/dist/divider.css +37 -0
  90. package/dist/divider.css.map +1 -0
  91. package/dist/divider.d.ts +35 -0
  92. package/dist/divider.js +4 -0
  93. package/dist/divider.js.map +1 -0
  94. package/dist/empty-state.css +175 -0
  95. package/dist/empty-state.css.map +1 -0
  96. package/dist/empty-state.d.ts +40 -0
  97. package/dist/empty-state.js +7 -0
  98. package/dist/empty-state.js.map +1 -0
  99. package/dist/field.js +2 -2
  100. package/dist/icon-button.css +18 -0
  101. package/dist/icon-button.css.map +1 -1
  102. package/dist/icon-button.js +3 -3
  103. package/dist/index.css +489 -0
  104. package/dist/index.css.map +1 -1
  105. package/dist/index.d.ts +8 -2
  106. package/dist/index.js +38 -32
  107. package/dist/link.css +35 -0
  108. package/dist/link.css.map +1 -0
  109. package/dist/link.d.ts +37 -0
  110. package/dist/link.js +5 -0
  111. package/dist/link.js.map +1 -0
  112. package/dist/listbox.js +1 -1
  113. package/dist/menu.js +2 -2
  114. package/dist/pagination.css +18 -0
  115. package/dist/pagination.css.map +1 -1
  116. package/dist/pagination.js +4 -4
  117. package/dist/picker.css +3 -0
  118. package/dist/picker.css.map +1 -1
  119. package/dist/picker.js +2 -2
  120. package/dist/popover.js +2 -2
  121. package/dist/radio.js +3 -3
  122. package/dist/segmented-control.css +111 -0
  123. package/dist/segmented-control.css.map +1 -0
  124. package/dist/segmented-control.d.ts +90 -0
  125. package/dist/segmented-control.js +5 -0
  126. package/dist/segmented-control.js.map +1 -0
  127. package/dist/select.js +3 -3
  128. package/dist/sheet.css +28 -0
  129. package/dist/sheet.css.map +1 -1
  130. package/dist/sheet.d.ts +9 -2
  131. package/dist/sheet.js +1 -1
  132. package/dist/slider.js +1 -1
  133. package/dist/switch.js +4 -4
  134. package/dist/table.js +1 -1
  135. package/dist/tabs.js +1 -1
  136. package/dist/text-field.css +63 -0
  137. package/dist/text-field.css.map +1 -1
  138. package/dist/text-field.d.ts +15 -2
  139. package/dist/text-field.js +3 -3
  140. package/dist/textarea.js +3 -3
  141. package/dist/toast.css +18 -0
  142. package/dist/toast.css.map +1 -1
  143. package/dist/toast.d.ts +21 -3
  144. package/dist/toast.js +5 -5
  145. package/dist/tooltip.js +2 -2
  146. package/package.json +36 -6
  147. package/dist/chunk-5TTYVQ6Q.js.map +0 -1
  148. package/dist/chunk-737GQSOB.js +0 -19
  149. package/dist/chunk-737GQSOB.js.map +0 -1
  150. package/dist/chunk-BAPNIZDV.js.map +0 -1
  151. package/dist/chunk-IFIQLIA3.js +0 -48
  152. package/dist/chunk-IFIQLIA3.js.map +0 -1
  153. package/dist/chunk-NOUUOH4R.js.map +0 -1
  154. package/dist/chunk-TJJBCS3N.js +0 -28
  155. package/dist/chunk-TJJBCS3N.js.map +0 -1
  156. package/dist/chunk-U3N3G2UA.js.map +0 -1
package/dist/index.css CHANGED
@@ -160,6 +160,24 @@
160
160
  }
161
161
  }
162
162
  }
163
+ .Button_button[data-tone=danger] {
164
+ &[data-variant=primary] {
165
+ background-color: var(--button-danger-bg);
166
+ color: var(--button-danger-fg);
167
+ &:hover:not(:disabled, [aria-disabled=true]) {
168
+ background-color: var(--button-danger-bg-hover);
169
+ }
170
+ &:active:not(:disabled, [aria-disabled=true]) {
171
+ background-color: var(--button-danger-bg-active);
172
+ }
173
+ }
174
+ &:is([data-variant=secondary], [data-variant=ghost]) {
175
+ color: var(--button-danger-text);
176
+ &:hover:not(:disabled, [aria-disabled=true]) {
177
+ background-color: var(--button-danger-quiet-bg-hover);
178
+ }
179
+ }
180
+ }
163
181
  .Button_label {
164
182
  display: inline-block;
165
183
  }
@@ -240,6 +258,69 @@
240
258
  .TextField_field[data-invalid] .TextField_input {
241
259
  border-color: var(--text-field-border-invalid);
242
260
  }
261
+ .TextField_hiddenLabel {
262
+ position: absolute;
263
+ inline-size: var(--size-hairline);
264
+ block-size: var(--size-hairline);
265
+ overflow: hidden;
266
+ clip-path: inset(50%);
267
+ white-space: nowrap;
268
+ }
269
+ .TextField_control {
270
+ --_slot: var(--text-field-height-md);
271
+ display: grid;
272
+ position: relative;
273
+ align-items: center;
274
+ .TextField_field[data-size=sm] & {
275
+ --_slot: var(--text-field-height-sm);
276
+ }
277
+ .TextField_field[data-size=lg] & {
278
+ --_slot: var(--text-field-height-lg);
279
+ }
280
+ }
281
+ .TextField_inControl {
282
+ grid-area: 1 / 1;
283
+ inline-size: 100%;
284
+ &::-webkit-search-cancel-button {
285
+ display: none;
286
+ }
287
+ }
288
+ .TextField_control[data-icon] .TextField_inControl {
289
+ padding-inline-start: calc(var(--text-field-padding-inline) + 1em + var(--text-field-icon-gap));
290
+ }
291
+ .TextField_control[data-clearable] .TextField_inControl {
292
+ padding-inline-end: var(--_slot);
293
+ }
294
+ .TextField_icon {
295
+ display: inline-flex;
296
+ grid-area: 1 / 1;
297
+ justify-self: start;
298
+ margin-inline-start: var(--text-field-padding-inline);
299
+ color: var(--text-field-icon-fg);
300
+ pointer-events: none;
301
+ }
302
+ .TextField_clear {
303
+ display: inline-flex;
304
+ grid-area: 1 / 1;
305
+ align-items: center;
306
+ justify-content: center;
307
+ justify-self: end;
308
+ inline-size: var(--_slot);
309
+ block-size: var(--_slot);
310
+ padding: 0;
311
+ border: 0;
312
+ border-radius: var(--text-field-radius);
313
+ background: transparent;
314
+ color: var(--text-field-icon-fg);
315
+ cursor: pointer;
316
+ &:hover {
317
+ color: var(--text-field-icon-fg-hover);
318
+ }
319
+ &:focus-visible {
320
+ outline: var(--text-field-focus-ring-width) solid var(--text-field-focus-ring);
321
+ outline-offset: calc(-1 * var(--text-field-focus-ring-width));
322
+ }
323
+ }
243
324
  }
244
325
 
245
326
  /* src/card/Card.module.css */
@@ -1094,6 +1175,27 @@
1094
1175
  --_fg: var(--badge-error-subtle-fg);
1095
1176
  }
1096
1177
  }
1178
+ .Badge_badge[data-variant=dot] {
1179
+ inline-size: var(--badge-dot-size);
1180
+ block-size: var(--badge-dot-size);
1181
+ padding: 0;
1182
+ vertical-align: middle;
1183
+ }
1184
+ .Badge_badge[data-tone=neutral][data-variant=dot] {
1185
+ --_bg: var(--badge-neutral-solid-bg);
1186
+ }
1187
+ .Badge_badge[data-tone=info][data-variant=dot] {
1188
+ --_bg: var(--badge-info-solid-bg);
1189
+ }
1190
+ .Badge_badge[data-tone=success][data-variant=dot] {
1191
+ --_bg: var(--badge-success-solid-bg);
1192
+ }
1193
+ .Badge_badge[data-tone=warning][data-variant=dot] {
1194
+ --_bg: var(--badge-warning-solid-bg);
1195
+ }
1196
+ .Badge_badge[data-tone=error][data-variant=dot] {
1197
+ --_bg: var(--badge-error-solid-bg);
1198
+ }
1097
1199
  }
1098
1200
 
1099
1201
  /* src/alert/Alert.module.css */
@@ -1760,6 +1862,9 @@
1760
1862
  .Combobox_list {
1761
1863
  box-shadow: var(--combobox-popover-shadow);
1762
1864
  }
1865
+ .Combobox_popover .Combobox_list {
1866
+ background-color: var(--combobox-popover-bg);
1867
+ }
1763
1868
  @keyframes Combobox_fade {
1764
1869
  from {
1765
1870
  opacity: 0;
@@ -1846,6 +1951,9 @@
1846
1951
  .Picker_list {
1847
1952
  box-shadow: var(--picker-popover-shadow);
1848
1953
  }
1954
+ .Picker_popover .Picker_list {
1955
+ background-color: var(--picker-popover-bg);
1956
+ }
1849
1957
  @keyframes Picker_fade {
1850
1958
  from {
1851
1959
  opacity: 0;
@@ -2389,5 +2497,386 @@
2389
2497
  --modal-height-sheet: var(--sheet-height);
2390
2498
  --modal-animation-translate-sheet: var(--sheet-motion-translate);
2391
2499
  }
2500
+ .Sheet_content[data-draggable] {
2501
+ translate: 0 var(--_drag, 0);
2502
+ transition: translate var(--sheet-handle-snap-duration) var(--motion-easing-standard);
2503
+ &[data-dragging] {
2504
+ transition: none;
2505
+ }
2506
+ }
2507
+ .Sheet_handle {
2508
+ display: grid;
2509
+ flex: none;
2510
+ place-items: center;
2511
+ block-size: var(--sheet-handle-hit-height);
2512
+ cursor: grab;
2513
+ touch-action: none;
2514
+ &::before {
2515
+ inline-size: var(--sheet-handle-width);
2516
+ block-size: var(--sheet-handle-height);
2517
+ border-radius: var(--sheet-handle-radius);
2518
+ background: var(--sheet-handle-bg);
2519
+ content: "";
2520
+ }
2521
+ [data-dragging] > & {
2522
+ cursor: grabbing;
2523
+ }
2524
+ @media (prefers-reduced-motion: reduce) {
2525
+ display: none;
2526
+ }
2527
+ }
2528
+ }
2529
+
2530
+ /* src/divider/Divider.module.css */
2531
+ @layer reset, tokens, vendor, base, components, utilities;
2532
+ @layer components {
2533
+ .Divider_divider {
2534
+ flex-shrink: 0;
2535
+ margin: 0;
2536
+ border: 0;
2537
+ background-color: var(--divider-color);
2538
+ &[data-orientation=horizontal] {
2539
+ inline-size: 100%;
2540
+ block-size: var(--divider-thickness);
2541
+ &[data-spacing=sm] {
2542
+ margin-block: var(--divider-spacing-sm);
2543
+ }
2544
+ &[data-spacing=md] {
2545
+ margin-block: var(--divider-spacing-md);
2546
+ }
2547
+ &[data-spacing=lg] {
2548
+ margin-block: var(--divider-spacing-lg);
2549
+ }
2550
+ }
2551
+ &[data-orientation=vertical] {
2552
+ align-self: stretch;
2553
+ inline-size: var(--divider-thickness);
2554
+ &[data-spacing=sm] {
2555
+ margin-inline: var(--divider-spacing-sm);
2556
+ }
2557
+ &[data-spacing=md] {
2558
+ margin-inline: var(--divider-spacing-md);
2559
+ }
2560
+ &[data-spacing=lg] {
2561
+ margin-inline: var(--divider-spacing-lg);
2562
+ }
2563
+ }
2564
+ }
2565
+ }
2566
+
2567
+ /* src/link/Link.module.css */
2568
+ @layer reset, tokens, vendor, base, components, utilities;
2569
+ @layer components {
2570
+ .Link_link {
2571
+ border-radius: var(--link-radius);
2572
+ color: var(--link-tone-action);
2573
+ font-weight: var(--link-weight);
2574
+ text-decoration-line: underline;
2575
+ text-decoration-thickness: from-font;
2576
+ text-underline-offset: 0.2em;
2577
+ cursor: pointer;
2578
+ transition: color var(--link-duration) var(--motion-easing-standard);
2579
+ &[data-tone=default] {
2580
+ color: var(--link-tone-default);
2581
+ }
2582
+ &[data-tone=muted] {
2583
+ color: var(--link-tone-muted);
2584
+ }
2585
+ &[data-underline=hover] {
2586
+ text-decoration-line: none;
2587
+ }
2588
+ &:hover {
2589
+ color: var(--link-hover);
2590
+ text-decoration-line: underline;
2591
+ }
2592
+ &:focus-visible {
2593
+ outline: var(--link-focus-ring-width) solid var(--link-focus-ring-color);
2594
+ outline-offset: var(--link-focus-ring-offset);
2595
+ }
2596
+ @media (prefers-reduced-motion: reduce) {
2597
+ transition: none;
2598
+ }
2599
+ }
2600
+ }
2601
+
2602
+ /* src/avatar/Avatar.module.css */
2603
+ @layer reset, tokens, vendor, base, components, utilities;
2604
+ @layer components {
2605
+ .Avatar_root {
2606
+ display: inline-flex;
2607
+ flex: none;
2608
+ align-items: center;
2609
+ justify-content: center;
2610
+ inline-size: var(--avatar-size-md);
2611
+ block-size: var(--avatar-size-md);
2612
+ overflow: hidden;
2613
+ box-sizing: border-box;
2614
+ border-radius: var(--avatar-radius);
2615
+ background: var(--avatar-bg);
2616
+ color: var(--avatar-fg);
2617
+ font-family: var(--font-family-body);
2618
+ font-size: var(--avatar-font-size-md);
2619
+ font-weight: var(--avatar-weight);
2620
+ line-height: 1;
2621
+ vertical-align: middle;
2622
+ &[data-fallback] {
2623
+ border: var(--avatar-border-width) solid var(--avatar-border);
2624
+ }
2625
+ &[data-size=sm] {
2626
+ inline-size: var(--avatar-size-sm);
2627
+ block-size: var(--avatar-size-sm);
2628
+ font-size: var(--avatar-font-size-sm);
2629
+ }
2630
+ &[data-size=lg] {
2631
+ inline-size: var(--avatar-size-lg);
2632
+ block-size: var(--avatar-size-lg);
2633
+ font-size: var(--avatar-font-size-lg);
2634
+ }
2635
+ &[data-size=xl] {
2636
+ inline-size: var(--avatar-size-xl);
2637
+ block-size: var(--avatar-size-xl);
2638
+ font-size: var(--avatar-font-size-xl);
2639
+ }
2640
+ }
2641
+ .Avatar_image {
2642
+ inline-size: 100%;
2643
+ block-size: 100%;
2644
+ object-fit: cover;
2645
+ }
2646
+ }
2647
+
2648
+ /* src/chip/Chip.module.css */
2649
+ @layer reset, tokens, vendor, base, components, utilities;
2650
+ @layer components {
2651
+ .Chip_root {
2652
+ --_bg: var(--chip-neutral-bg);
2653
+ --_bg-hover: var(--chip-neutral-bg-hover);
2654
+ --_fg: var(--chip-neutral-fg);
2655
+ --_border: var(--chip-neutral-border);
2656
+ --_selected-bg: var(--chip-neutral-selected-bg);
2657
+ --_selected-fg: var(--chip-neutral-selected-fg);
2658
+ --_height: var(--chip-height-md);
2659
+ --_padding: var(--chip-padding-x-md);
2660
+ display: inline-flex;
2661
+ align-items: stretch;
2662
+ box-sizing: border-box;
2663
+ min-block-size: var(--_height);
2664
+ max-inline-size: 100%;
2665
+ border: var(--chip-border-width) solid var(--_border);
2666
+ border-radius: var(--chip-radius);
2667
+ background: var(--_bg);
2668
+ color: var(--_fg);
2669
+ font-family: var(--font-family-body);
2670
+ font-size: var(--chip-font-size-md);
2671
+ font-weight: var(--chip-weight);
2672
+ line-height: 1;
2673
+ white-space: nowrap;
2674
+ vertical-align: middle;
2675
+ &[data-tone=action] {
2676
+ --_bg: var(--chip-action-bg);
2677
+ --_bg-hover: var(--chip-action-bg-hover);
2678
+ --_fg: var(--chip-action-fg);
2679
+ --_border: var(--chip-action-border);
2680
+ --_selected-bg: var(--chip-action-selected-bg);
2681
+ --_selected-fg: var(--chip-action-selected-fg);
2682
+ }
2683
+ &[data-size=sm] {
2684
+ --_height: var(--chip-height-sm);
2685
+ --_padding: var(--chip-padding-x-sm);
2686
+ font-size: var(--chip-font-size-sm);
2687
+ }
2688
+ &[data-size=lg] {
2689
+ --_height: var(--chip-height-lg);
2690
+ --_padding: var(--chip-padding-x-lg);
2691
+ font-size: var(--chip-font-size-lg);
2692
+ }
2693
+ &[data-selected] {
2694
+ border-color: var(--_selected-bg);
2695
+ background: var(--_selected-bg);
2696
+ color: var(--_selected-fg);
2697
+ }
2698
+ &[data-disabled] {
2699
+ opacity: 0.55;
2700
+ }
2701
+ }
2702
+ .Chip_label,
2703
+ .Chip_remove {
2704
+ display: inline-flex;
2705
+ align-items: center;
2706
+ border: 0;
2707
+ border-radius: var(--chip-radius);
2708
+ background: transparent;
2709
+ color: inherit;
2710
+ font: inherit;
2711
+ &:is(button) {
2712
+ cursor: pointer;
2713
+ }
2714
+ &:is(button):disabled {
2715
+ cursor: not-allowed;
2716
+ }
2717
+ &:focus-visible {
2718
+ outline: var(--chip-focus-ring-width) solid var(--chip-focus-ring);
2719
+ outline-offset: var(--chip-focus-ring-offset);
2720
+ }
2721
+ }
2722
+ .Chip_label {
2723
+ min-inline-size: 0;
2724
+ padding-block: 0;
2725
+ padding-inline: var(--_padding);
2726
+ overflow: hidden;
2727
+ text-overflow: ellipsis;
2728
+ &:not(:last-child) {
2729
+ padding-inline-end: var(--chip-gap);
2730
+ }
2731
+ }
2732
+ .Chip_root:not([data-selected], [data-disabled]) button.Chip_label:hover {
2733
+ background: var(--_bg-hover);
2734
+ }
2735
+ .Chip_remove {
2736
+ flex: none;
2737
+ justify-content: center;
2738
+ inline-size: var(--_height);
2739
+ padding: 0;
2740
+ }
2741
+ }
2742
+
2743
+ /* src/segmented-control/SegmentedControl.module.css */
2744
+ @layer reset, tokens, vendor, base, components, utilities;
2745
+ @layer components {
2746
+ .SegmentedControl_root {
2747
+ --_height: var(--segmented-control-height-md);
2748
+ --_padding: var(--segmented-control-padding-x-md);
2749
+ display: inline-flex;
2750
+ box-sizing: border-box;
2751
+ max-inline-size: 100%;
2752
+ color: var(--segmented-control-fg);
2753
+ font-family: var(--font-family-body);
2754
+ font-size: var(--segmented-control-font-size-md);
2755
+ font-weight: var(--segmented-control-weight);
2756
+ line-height: 1;
2757
+ &[data-size=sm] {
2758
+ --_height: var(--segmented-control-height-sm);
2759
+ --_padding: var(--segmented-control-padding-x-sm);
2760
+ font-size: var(--segmented-control-font-size-sm);
2761
+ }
2762
+ &[data-look=segmented] {
2763
+ padding: var(--segmented-control-inset);
2764
+ border: var(--segmented-control-border-width) solid var(--segmented-control-track-border);
2765
+ border-radius: var(--segmented-control-track-radius);
2766
+ background: var(--segmented-control-track-bg);
2767
+ }
2768
+ &[data-look=chips] {
2769
+ flex-wrap: wrap;
2770
+ gap: var(--segmented-control-gap);
2771
+ }
2772
+ &[data-full-width][data-look=segmented] {
2773
+ display: flex;
2774
+ }
2775
+ &[aria-disabled=true] {
2776
+ opacity: 0.55;
2777
+ }
2778
+ }
2779
+ .SegmentedControl_list {
2780
+ display: contents;
2781
+ }
2782
+ .SegmentedControl_option {
2783
+ display: inline-flex;
2784
+ position: relative;
2785
+ min-inline-size: 0;
2786
+ .SegmentedControl_root[data-full-width] & {
2787
+ flex: 1;
2788
+ }
2789
+ }
2790
+ .SegmentedControl_input {
2791
+ position: absolute;
2792
+ inset: 0;
2793
+ inline-size: 100%;
2794
+ block-size: 100%;
2795
+ margin: 0;
2796
+ opacity: 0;
2797
+ cursor: pointer;
2798
+ &:disabled {
2799
+ cursor: not-allowed;
2800
+ }
2801
+ }
2802
+ .SegmentedControl_segment {
2803
+ display: inline-flex;
2804
+ flex: 1;
2805
+ align-items: center;
2806
+ justify-content: center;
2807
+ gap: var(--segmented-control-gap);
2808
+ box-sizing: border-box;
2809
+ min-block-size: calc(var(--_height) - 2 * var(--segmented-control-inset) - 2 * var(--segmented-control-border-width));
2810
+ padding-block: 0;
2811
+ padding-inline: var(--_padding);
2812
+ border: var(--segmented-control-border-width) solid transparent;
2813
+ border-radius: var(--segmented-control-segment-radius);
2814
+ color: inherit;
2815
+ text-decoration: none;
2816
+ white-space: nowrap;
2817
+ transition: background-color var(--motion-duration-fast) var(--motion-easing-standard), color var(--motion-duration-fast) var(--motion-easing-standard);
2818
+ .SegmentedControl_root[data-look=chips] & {
2819
+ min-block-size: var(--_height);
2820
+ border-color: var(--segmented-control-chip-border);
2821
+ border-radius: var(--segmented-control-chip-radius);
2822
+ background: var(--segmented-control-chip-bg);
2823
+ }
2824
+ }
2825
+ .SegmentedControl_option:hover .SegmentedControl_segment,
2826
+ a.SegmentedControl_segment:hover {
2827
+ color: var(--segmented-control-fg-hover);
2828
+ }
2829
+ .SegmentedControl_option[data-selected] .SegmentedControl_segment {
2830
+ border-color: var(--segmented-control-segment-selected-border);
2831
+ background: var(--segmented-control-segment-selected-bg);
2832
+ box-shadow: var(--segmented-control-segment-selected-shadow);
2833
+ color: var(--segmented-control-segment-selected-fg);
2834
+ .SegmentedControl_root[data-look=chips] & {
2835
+ border-color: var(--segmented-control-chip-selected-border);
2836
+ background: var(--segmented-control-chip-selected-bg);
2837
+ box-shadow: none;
2838
+ color: var(--segmented-control-chip-selected-fg);
2839
+ }
2840
+ }
2841
+ .SegmentedControl_input:focus-visible + .SegmentedControl_segment,
2842
+ a.SegmentedControl_segment:focus-visible {
2843
+ outline: var(--segmented-control-focus-ring-width) solid var(--segmented-control-focus-ring);
2844
+ outline-offset: var(--segmented-control-focus-ring-offset);
2845
+ }
2846
+ .SegmentedControl_input:disabled + .SegmentedControl_segment {
2847
+ opacity: 0.55;
2848
+ }
2849
+ .SegmentedControl_icon {
2850
+ display: inline-flex;
2851
+ }
2852
+ }
2853
+
2854
+ /* src/empty-state/EmptyState.module.css */
2855
+ @layer reset, tokens, vendor, base, components, utilities;
2856
+ @layer components {
2857
+ .EmptyState_root {
2858
+ box-sizing: border-box;
2859
+ padding: var(--empty-state-padding);
2860
+ }
2861
+ .EmptyState_text {
2862
+ text-align: center;
2863
+ text-wrap: balance;
2864
+ }
2865
+ .EmptyState_icon {
2866
+ display: inline-flex;
2867
+ flex: none;
2868
+ align-items: center;
2869
+ justify-content: center;
2870
+ inline-size: var(--empty-state-icon-size);
2871
+ block-size: var(--empty-state-icon-size);
2872
+ border-radius: var(--empty-state-icon-radius);
2873
+ background: var(--empty-state-icon-neutral-bg);
2874
+ color: var(--empty-state-icon-neutral-fg);
2875
+ font-size: var(--empty-state-icon-glyph-size);
2876
+ .EmptyState_root[data-tone=error] & {
2877
+ background: var(--empty-state-icon-error-bg);
2878
+ color: var(--empty-state-icon-error-fg);
2879
+ }
2880
+ }
2392
2881
  }
2393
2882
  /*# sourceMappingURL=index.css.map */