burne-ui 2.0.1 → 2.0.3

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 (69) hide show
  1. package/cli/tailwind.css +2 -2
  2. package/cli/templates/skin-tier-2/src/skin.css +1 -1
  3. package/cli/templates/skin-tier-3/src/skin.css +1 -1
  4. package/dist/components/composite/ButtonGroup/buttonGroupStyles.d.ts +1 -1
  5. package/dist/components/composite/ButtonGroup/buttonGroupStyles.js +7 -2
  6. package/dist/components/core/Badge/badgeStyles.d.ts +6 -1
  7. package/dist/components/core/Badge/badgeStyles.js +2 -2
  8. package/dist/components/core/Button/useButtonRootState.js +5 -2
  9. package/dist/components/core/Calendar/calendarParts.js +15 -13
  10. package/dist/components/core/Calendar/calendarStyles.d.ts +5 -2
  11. package/dist/components/core/Calendar/calendarStyles.js +3 -3
  12. package/dist/components/core/ComboBox/comboBoxStyles.d.ts +2 -2
  13. package/dist/components/core/ComboBox/comboBoxStyles.js +2 -2
  14. package/dist/components/core/DatePicker/datePickerAnimations.d.ts +2 -0
  15. package/dist/components/core/DatePicker/datePickerAnimations.js +31 -2
  16. package/dist/components/core/DatePicker/datePickerParts.js +20 -2
  17. package/dist/components/core/Disclosure/disclosureAnimations.js +9 -3
  18. package/dist/components/core/Disclosure/disclosureStyles.js +2 -1
  19. package/dist/components/core/Dropdown/dropdownAnimations.js +5 -3
  20. package/dist/components/core/Dropdown/dropdownStyles.d.ts +1 -1
  21. package/dist/components/core/Dropdown/dropdownStyles.js +1 -1
  22. package/dist/components/core/Expandable/Expandable.js +2 -2
  23. package/dist/components/core/Expandable/expandableStyles.d.ts +2 -1
  24. package/dist/components/core/Expandable/expandableStyles.js +3 -1
  25. package/dist/components/core/HoverCard/hoverCardStyles.js +5 -2
  26. package/dist/components/core/Input/inputControlParts.js +4 -4
  27. package/dist/components/core/Input/inputStyles.d.ts +3 -1
  28. package/dist/components/core/Input/inputStyles.js +8 -1
  29. package/dist/components/core/NumberInput/numberInputAnimations.d.ts +21 -21
  30. package/dist/components/core/NumberInput/numberInputAnimations.js +22 -4
  31. package/dist/components/core/NumberInput/numberInputStyles.js +1 -1
  32. package/dist/components/core/PinInput/pinInputStyles.js +7 -1
  33. package/dist/components/core/Popover/popoverStyles.js +3 -3
  34. package/dist/components/core/SearchInput/searchInputStyles.d.ts +1 -1
  35. package/dist/components/core/SearchInput/searchInputStyles.js +1 -1
  36. package/dist/components/core/Select/selectStyles.d.ts +3 -3
  37. package/dist/components/core/Select/selectStyles.js +3 -3
  38. package/dist/components/core/Slider/sliderTypes.d.ts +1 -1
  39. package/dist/components/core/Slider/useSliderTrackState.js +1 -0
  40. package/dist/components/core/Stepper/Stepper.js +1 -1
  41. package/dist/components/core/Stepper/stepperAnimations.d.ts +9 -3
  42. package/dist/components/core/Stepper/stepperAnimations.js +32 -1
  43. package/dist/components/core/Stepper/stepperParts.js +32 -5
  44. package/dist/components/core/Stepper/stepperTypes.d.ts +3 -1
  45. package/dist/components/core/Table/tableParts.js +21 -3
  46. package/dist/components/core/Table/tableStyles.d.ts +10 -1
  47. package/dist/components/core/Table/tableStyles.js +7 -1
  48. package/dist/components/core/TextArea/textAreaStyles.js +1 -1
  49. package/dist/components/core/TimeField/timeFieldStyles.d.ts +5 -2
  50. package/dist/components/core/TimeField/timeFieldStyles.js +3 -2
  51. package/dist/components/core/ToggleButton/toggleButtonParts.js +3 -3
  52. package/dist/components/core/ToggleButton/toggleButtonStyles.d.ts +6 -1
  53. package/dist/components/core/ToggleButton/toggleButtonStyles.js +16 -3
  54. package/dist/components/core/Tooltip/tooltipStyles.d.ts +1 -1
  55. package/dist/components/core/Tooltip/tooltipStyles.js +1 -1
  56. package/dist/components/core/utils/motionConfig.d.ts +18 -17
  57. package/dist/components/core/utils/motionConfig.js +38 -10
  58. package/dist/components/core/utils/motionConfigValidation.js +0 -1
  59. package/dist/components/core/utils/sizeLayout/iconSlot.d.ts +1 -1
  60. package/dist/components/core/utils/slotMotion/useMotionPart.js +1 -1
  61. package/dist/studio/themePresets.js +0 -7
  62. package/dist/studio/themeTokenSchema.js +2 -3
  63. package/dist/theme/themeConfig.d.ts +1 -1
  64. package/dist/theme/themeConfig.js +0 -1
  65. package/dist/theme/themeDefaults.d.ts +0 -3
  66. package/dist/theme/themeDefaults.js +15 -9
  67. package/dist/tokens/config.d.ts +1 -1
  68. package/dist/ui.css +101 -23
  69. package/package.json +1 -1
package/dist/ui.css CHANGED
@@ -446,7 +446,7 @@
446
446
  }
447
447
  }
448
448
 
449
- @layer ui-kit {
449
+ @layer components {
450
450
  .avatar-size-small {
451
451
  width: var(--avatar-size-small);
452
452
  height: var(--avatar-size-small);
@@ -524,8 +524,6 @@
524
524
  }
525
525
  }
526
526
 
527
- @layer components;
528
-
529
527
  @layer utilities {
530
528
  .\[pointer-events\:var\(--toast-stack-events\)\] {
531
529
  pointer-events: var(--toast-stack-events);
@@ -608,10 +606,6 @@
608
606
  inset: calc(var(--border-width) * -1);
609
607
  }
610
608
 
611
- .-inset-px {
612
- inset: -1px;
613
- }
614
-
615
609
  .inset-0 {
616
610
  inset: calc(var(--spacing) * 0);
617
611
  }
@@ -676,6 +670,10 @@
676
670
  top: calc(var(--spacing) * 12);
677
671
  }
678
672
 
673
+ .top-full {
674
+ top: 100%;
675
+ }
676
+
679
677
  .top-large {
680
678
  top: var(--space-large);
681
679
  }
@@ -732,10 +730,6 @@
732
730
  bottom: calc(var(--spacing) * 6);
733
731
  }
734
732
 
735
- .bottom-\[length\:calc\(var\(--border-width\)\*3\)\] {
736
- bottom: calc(var(--border-width) * 3);
737
- }
738
-
739
733
  .left-0 {
740
734
  left: calc(var(--spacing) * 0);
741
735
  }
@@ -990,6 +984,10 @@
990
984
  margin-top: var(--space-2xlarge);
991
985
  }
992
986
 
987
+ .mt-\[0\.1em\] {
988
+ margin-top: .1em;
989
+ }
990
+
993
991
  .mt-\[calc\(\(var\(--control-size-base\)-1px\)\/2\)\] {
994
992
  margin-top: calc((var(--control-size-base) - 1px) / 2);
995
993
  }
@@ -1198,6 +1196,11 @@
1198
1196
  height: calc(var(--spacing) * 12);
1199
1197
  }
1200
1198
 
1199
+ .size-\[0\.22em\] {
1200
+ width: .22em;
1201
+ height: .22em;
1202
+ }
1203
+
1201
1204
  .size-\[1em\] {
1202
1205
  width: 1em;
1203
1206
  height: 1em;
@@ -1511,8 +1514,8 @@
1511
1514
  height: calc(100dvh - 3rem);
1512
1515
  }
1513
1516
 
1514
- .h-\[length\:calc\(var\(--border-width\)\*3\)\] {
1515
- height: calc(var(--border-width) * 3);
1517
+ .h-\[length\:var\(--icon-size\)\] {
1518
+ height: var(--icon-size);
1516
1519
  }
1517
1520
 
1518
1521
  .h-\[var\(--selection-indicator-base\)\] {
@@ -1975,8 +1978,8 @@
1975
1978
  width: calc(2 * var(--selection-indicator-small));
1976
1979
  }
1977
1980
 
1978
- .w-\[length\:calc\(var\(--border-width\)\*3\)\] {
1979
- width: calc(var(--border-width) * 3);
1981
+ .w-\[length\:var\(--icon-size\)\] {
1982
+ width: var(--icon-size);
1980
1983
  }
1981
1984
 
1982
1985
  .w-\[min\(16rem\,70\%\)\] {
@@ -3284,11 +3287,6 @@
3284
3287
  border-color: var(--color-warning);
3285
3288
  }
3286
3289
 
3287
- .border-s-0 {
3288
- border-inline-start-style: var(--tw-border-style);
3289
- border-inline-start-width: 0;
3290
- }
3291
-
3292
3290
  .border-s-token, .divide-x-token > * + * {
3293
3291
  border-inline-start-width: var(--border-width, 1px);
3294
3292
  border-inline-start-color: var(--border-color, var(--color-border));
@@ -5624,7 +5622,7 @@
5624
5622
  }
5625
5623
 
5626
5624
  .field-shell-transition {
5627
- transition: background-color var(--motion-surface-duration) var(--motion-shadow-ease), border-color var(--motion-surface-duration) var(--motion-shadow-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
5625
+ transition: background-color var(--motion-surface-duration) var(--motion-surface-ease), border-color var(--motion-surface-duration) var(--motion-surface-ease), outline-color var(--motion-surface-duration) var(--motion-focus-ring-ease);
5628
5626
  }
5629
5627
 
5630
5628
  .icon-slot-2xlarge {
@@ -6473,6 +6471,10 @@
6473
6471
  color: var(--color-muted);
6474
6472
  }
6475
6473
 
6474
+ :where(:is(th:last-child)) .in-\[th\:last-child\]\:hidden {
6475
+ display: none;
6476
+ }
6477
+
6476
6478
  .has-\[\:focus-visible\]\:border-primary:has(:focus-visible) {
6477
6479
  border-color: var(--color-primary);
6478
6480
  }
@@ -6716,10 +6718,20 @@
6716
6718
  }
6717
6719
  }
6718
6720
 
6721
+ .ltr\:translate-x-1\/2:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *) {
6722
+ --tw-translate-x: calc(1 / 2 * 100%);
6723
+ translate: var(--tw-translate-x) var(--tw-translate-y);
6724
+ }
6725
+
6719
6726
  .rtl\:origin-right:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
6720
6727
  transform-origin: 100%;
6721
6728
  }
6722
6729
 
6730
+ .rtl\:-translate-x-1\/2:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
6731
+ --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
6732
+ translate: var(--tw-translate-x) var(--tw-translate-y);
6733
+ }
6734
+
6723
6735
  @media (prefers-color-scheme: dark) {
6724
6736
  .dark\:border-amber-500\/40 {
6725
6737
  border-color: #f99c0066;
@@ -6813,6 +6825,12 @@
6813
6825
  margin-top: -1px;
6814
6826
  }
6815
6827
 
6828
+ :where(.accordion-root) {
6829
+ --accordion-item-radius: var(--radius-large);
6830
+ --radius-outer: var(--accordion-item-radius);
6831
+ --radius-pad: var(--space-xsmall);
6832
+ }
6833
+
6816
6834
  .portal-contained.z-dialog {
6817
6835
  z-index: calc(var(--z-dialog) + var(--z-overlay-nested-step));
6818
6836
  }
@@ -6860,6 +6878,66 @@
6860
6878
  .disabled\:hover\:text-muted[data-force-state~="disabled"][data-force-state~="hover"] {
6861
6879
  color: var(--color-muted-foreground);
6862
6880
  }
6881
+
6882
+ .button-group-joint-s {
6883
+ border-inline-start-width: 0;
6884
+ }
6885
+
6886
+ .button-group-joint-e {
6887
+ border-inline-end-width: 0;
6888
+ }
6889
+
6890
+ .button-group-joint-t {
6891
+ border-top-width: 0;
6892
+ }
6893
+
6894
+ .button-group-joint-b {
6895
+ border-bottom-width: 0;
6896
+ }
6897
+
6898
+ .toggle-fill-clip {
6899
+ pointer-events: none;
6900
+ z-index: 0;
6901
+ border-radius: inherit;
6902
+ inset: calc(var(--tb-fill-bw, var(--border-width)) * -1);
6903
+ position: absolute;
6904
+ overflow: hidden;
6905
+ }
6906
+
6907
+ .toggle-fill-clip-outline {
6908
+ --tb-fill-bw: var(--border-width-outline);
6909
+ }
6910
+
6911
+ .field-radius-clip {
6912
+ box-sizing: border-box;
6913
+ width: calc(100% + 2 * var(--field-clip-bw, var(--border-width, 1px)));
6914
+ margin: calc(var(--field-clip-bw, var(--border-width, 1px)) * -1);
6915
+ border-width: var(--field-clip-bw, var(--border-width, 1px));
6916
+ border-radius: inherit;
6917
+ border-style: solid;
6918
+ border-color: #0000;
6919
+ overflow: hidden;
6920
+ }
6921
+
6922
+ .field-radius-clip-outline {
6923
+ --field-clip-bw: var(--border-width-outline, 1px);
6924
+ }
6925
+
6926
+ .toggle-fill-clip-flush-is {
6927
+ inset-inline-start: 0;
6928
+ }
6929
+
6930
+ .toggle-fill-clip-flush-ie {
6931
+ inset-inline-end: 0;
6932
+ }
6933
+
6934
+ .toggle-fill-clip-flush-bs {
6935
+ inset-block-start: 0;
6936
+ }
6937
+
6938
+ .toggle-fill-clip-flush-be {
6939
+ inset-block-end: 0;
6940
+ }
6863
6941
  }
6864
6942
 
6865
6943
  :root {
@@ -6867,8 +6945,8 @@
6867
6945
  --border-width-outline: 1px;
6868
6946
  --focus-ring-width: 2px;
6869
6947
  --focus-ring-offset: 0px;
6870
- --motion-surface-duration: .18s;
6871
- --motion-surface-ease: cubic-bezier(.22, 1, .36, 1);
6948
+ --motion-surface-duration: .22s;
6949
+ --motion-surface-ease: cubic-bezier(.37, 0, .63, 1);
6872
6950
  --motion-shadow-ease: cubic-bezier(.16, 1, .3, 1);
6873
6951
  --motion-text-ease: var(--motion-shadow-ease);
6874
6952
  --motion-focus-ring-ease: var(--motion-shadow-ease);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "burne-ui",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "React UI kit (Burne UI)",
5
5
  "license": "MIT",
6
6
  "repository": {