@povio/ui 5.0.0-rc.6 → 5.0.0-rc.8

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 (142) hide show
  1. package/dist/Button-BPTvffuk.js +86 -0
  2. package/dist/{Calendar-BTjajO6i.js → Calendar-BxtOuqIM.js} +3 -3
  3. package/dist/{Checkbox-CV1ILXXO.js → Checkbox-DYxXYfKL.js} +3 -2
  4. package/dist/CheckboxCheckmark-D_uc9pon.js +44 -0
  5. package/dist/{ComponentGallery-C2tjrHWn.js → ComponentGallery-Da70Y4_Q.js} +19 -178
  6. package/dist/{DatePicker-DOLL7mkc.js → DatePicker-wulRNGyL.js} +6 -6
  7. package/dist/{DatePickerInput-BLBcySA2.js → DatePickerInput-BB_vPlKu.js} +3 -3
  8. package/dist/{DateRangePicker-BF-1CztH.js → DateRangePicker-B0tMVREG.js} +6 -6
  9. package/dist/{DateTimePicker-Cj0qvJUz.js → DateTimePicker-WGMr0bEH.js} +6 -6
  10. package/dist/{FileInput-Br5DQaGQ.js → FileInput-DP105Iy9.js} +2 -2
  11. package/dist/{FileUpload--7ub3EZO.js → FileUpload-CgNDIvzg.js} +3 -3
  12. package/dist/{Form-BJ12MjE-.d.ts → Form-DbEWnCKc.d.ts} +1 -1
  13. package/dist/{FormField-B99dLt8o.js → FormField-AY25LzbW.js} +3 -96
  14. package/dist/{FormFieldError-DeOHHLo2.js → FormFieldError-BVAO5p7H.js} +2 -13
  15. package/dist/{InputItem-CIxbTxZu.js → InputItem-ZeN-aIz8.js} +11 -11
  16. package/dist/{Inputs-DJSKiaWY.js → Inputs-BC5q5Cvj.js} +1 -1
  17. package/dist/{Inputs-DA73LmLc.d.ts → Inputs-O84btFJL.d.ts} +1 -1
  18. package/dist/{NumberRangeInput-B8-LHfg3.js → NumberRangeInput-B_sMIpP1.js} +2 -2
  19. package/dist/{PaginationList-DtvuP63b.js → PaginationList-DptMNpNs.js} +1 -1
  20. package/dist/{Progress-B3mY9rIP.js → Progress-Du30L4_s.js} +2 -27
  21. package/dist/{RadioGroup-DOw3PRoX.js → RadioGroup-CUGNSJql.js} +3 -82
  22. package/dist/{RichTextEditor-D4yN7Wj7.js → RichTextEditor-VDOpj7sk.js} +3 -3
  23. package/dist/{Select-UR0ec2Ux.js → Select-B2pAfwRk.js} +2 -2
  24. package/dist/{Slider-CzEmKYBF.js → Slider-Clc1szFY.js} +1 -1
  25. package/dist/{Switch-CqnGEdeD.js → Switch-CimmMqEk.js} +3 -27
  26. package/dist/{Table-BN2_J_Ne.js → Table-CqepqSfe.js} +2 -1
  27. package/dist/{TextArea-D8WkKsGn.js → TextArea-B3teIhsJ.js} +3 -5
  28. package/dist/TextArea.cva-Bb73hriz.js +5 -0
  29. package/dist/{TimePicker-C4taAOFQ.js → TimePicker-CU_yL2sY.js} +4 -4
  30. package/dist/{Toast-DtG3pA61.js → Toast-DPbnLlBi.js} +1 -1
  31. package/dist/{ToggleGroup-DOk27fgI.js → ToggleGroup-BULVwErp.js} +1 -1
  32. package/dist/{Button-C5rv4Cr2.js → button.cva-rv5Uq4aW.js} +1 -84
  33. package/dist/{CheckboxCheckmark-CpC3wlMs.js → checkbox.cva-IfOByVLA.js} +1 -42
  34. package/dist/components/alert-dialog.js +1 -1
  35. package/dist/components/alert.js +116 -1
  36. package/dist/components/autocomplete.js +2 -2
  37. package/dist/components/button.js +1 -1
  38. package/dist/components/checkbox-group.js +3 -3
  39. package/dist/components/checkbox.js +1 -1
  40. package/dist/components/date-picker.js +1 -1
  41. package/dist/components/date-range-picker.js +1 -1
  42. package/dist/components/date-time-picker.js +1 -1
  43. package/dist/components/file-input.js +1 -1
  44. package/dist/components/file-upload-container.js +1 -1
  45. package/dist/components/file-upload.js +1 -1
  46. package/dist/components/form-field.js +1 -1
  47. package/dist/components/icon-button.js +1 -1
  48. package/dist/components/inline-icon-button.js +1 -1
  49. package/dist/components/input.js +3 -3
  50. package/dist/components/number-field.js +3 -3
  51. package/dist/components/number-range-input.js +1 -1
  52. package/dist/components/pagination-list.js +1 -1
  53. package/dist/components/pagination.js +1 -1
  54. package/dist/components/progress.js +1 -1
  55. package/dist/components/query-autocomplete.js +1 -1
  56. package/dist/components/query-select.js +2 -2
  57. package/dist/components/radio-group.js +1 -1
  58. package/dist/components/select.js +1 -1
  59. package/dist/components/slider.js +1 -1
  60. package/dist/components/split-button.js +1 -1
  61. package/dist/components/switch.js +1 -1
  62. package/dist/components/tag.js +93 -1
  63. package/dist/components/text-area.js +1 -1
  64. package/dist/components/text-button.js +1 -1
  65. package/dist/components/time-picker.js +1 -1
  66. package/dist/components/toast.js +1 -1
  67. package/dist/components/toggle-button.js +1 -1
  68. package/dist/components/toggle-group.js +1 -1
  69. package/dist/components/use-toast.js +2 -2
  70. package/dist/config/app-canvas.d.ts +79 -0
  71. package/dist/config/app-canvas.js +2253 -0
  72. package/dist/config/ui-config.d.ts +1 -1
  73. package/dist/config/ui-configurator.d.ts +1 -920
  74. package/dist/config/ui-configurator.js +457 -466
  75. package/dist/configuration.context-f_FSPWhQ.d.ts +926 -0
  76. package/dist/{datePickerValue.utils-DCgoSrP3.js → datePickerValue.utils-CIFHjKwv.js} +1 -1
  77. package/dist/{dynamicInputs-iP39lVKf.d.ts → dynamicInputs-ByVMnx4Z.d.ts} +1 -1
  78. package/dist/formFieldError.cva-CsXaQRHX.js +14 -0
  79. package/dist/formFieldHelper.cva-B8F9LmsE.js +96 -0
  80. package/dist/grip-vertical-BVxcjdfr.js +54 -0
  81. package/dist/index.d.ts +2 -2
  82. package/dist/index.js +24 -19
  83. package/dist/inspection-model-LuI36xTg.js +1339 -0
  84. package/dist/progress.cva-WQB8BGbk.js +28 -0
  85. package/dist/radio.cva-DGbvTymp.js +82 -0
  86. package/dist/rhf/checkbox.js +1 -1
  87. package/dist/rhf/date-picker.js +1 -1
  88. package/dist/rhf/date-range-picker.js +1 -1
  89. package/dist/rhf/date-time-picker.js +1 -1
  90. package/dist/rhf/file-input.js +1 -1
  91. package/dist/rhf/file-upload.js +1 -1
  92. package/dist/rhf/inputs.d.ts +1 -1
  93. package/dist/rhf/number-range-input.js +1 -1
  94. package/dist/rhf/radio-group.js +1 -1
  95. package/dist/rhf/rich-text-editor.js +1 -1
  96. package/dist/rhf/select.js +1 -1
  97. package/dist/rhf/slider.js +1 -1
  98. package/dist/rhf/switch.js +1 -1
  99. package/dist/rhf/text-area.js +1 -1
  100. package/dist/rhf/time-picker.js +1 -1
  101. package/dist/rhf/toggle-group.js +1 -1
  102. package/dist/rhf.d.ts +2 -2
  103. package/dist/rhf.js +24 -19
  104. package/dist/rich-text-editor.js +1 -1
  105. package/dist/{staticDateTimeSegments-DtU63_dw.js → staticDateTimeSegments-sf_ND7zL.js} +1 -1
  106. package/dist/{staticSelect.utils-uHa8f_c6.js → staticSelect.utils-CzlnLPPd.js} +3 -3
  107. package/dist/status.cva-6HxNR4EP.js +130 -0
  108. package/dist/styles/app-canvas.css +733 -0
  109. package/dist/styles/configurator.css +570 -6
  110. package/dist/switch.cva-BX3HOxbL.js +27 -0
  111. package/dist/{table.cva-D5oQ-QvA.js → table.cva-DlMT-zLD.js} +1 -54
  112. package/dist/{Tag-DPg5sL1Z.js → tag.cva-B3MudLeC.js} +1 -92
  113. package/dist/tanstack/checkbox.js +1 -1
  114. package/dist/tanstack/date-picker.js +1 -1
  115. package/dist/tanstack/date-range-picker.js +1 -1
  116. package/dist/tanstack/date-time-picker.js +1 -1
  117. package/dist/tanstack/file-input.js +1 -1
  118. package/dist/tanstack/file-upload.js +1 -1
  119. package/dist/tanstack/form.d.ts +1 -1
  120. package/dist/tanstack/form.js +1 -1
  121. package/dist/tanstack/inputs.d.ts +2 -2
  122. package/dist/tanstack/inputs.js +1 -1
  123. package/dist/tanstack/number-range-input.js +1 -1
  124. package/dist/tanstack/radio-group.js +1 -1
  125. package/dist/tanstack/rich-text-editor.js +1 -1
  126. package/dist/tanstack/select.js +1 -1
  127. package/dist/tanstack/slider.js +1 -1
  128. package/dist/tanstack/switch.js +1 -1
  129. package/dist/tanstack/table.js +2 -2
  130. package/dist/tanstack/text-area.js +1 -1
  131. package/dist/tanstack/time-picker.js +1 -1
  132. package/dist/tanstack/toggle-group.js +1 -1
  133. package/dist/tanstack.d.ts +4 -4
  134. package/dist/tanstack.js +39 -31
  135. package/dist/{toast.runtime-cxex9e4E.js → toast.runtime-Zf-XyAC3.js} +1 -1
  136. package/dist/{useFieldAccessibility-ScC6Mtd5.js → useFieldAccessibility-CcBTgGfm.js} +1 -1
  137. package/dist/{useFormAutosave-DfuP7drj.js → useFormAutosave-BD_TFqDF.js} +1 -1
  138. package/dist/{useStaticInputHandoff-NeZVnci-.js → useStaticInputHandoff-kkQrc6DA.js} +1 -1
  139. package/dist/{useTableColumnConfig-Di0_w80v.js → useTableColumnConfig-aVUWC2Mp.js} +2 -2
  140. package/package.json +7 -1
  141. package/src/configurator/README.md +1 -1
  142. package/dist/Alert-CnvEb1D_.js +0 -244
@@ -549,7 +549,7 @@
549
549
  .studio-error {
550
550
  color: #b8362c;
551
551
  display: block;
552
- margin-top: 7px;
552
+ margin-top: 4px;
553
553
  font-size: 11px;
554
554
  }
555
555
  .studio-preview {
@@ -967,7 +967,7 @@
967
967
  }
968
968
  .studio-token-unit {
969
969
  position: absolute;
970
- right: 7px;
970
+ right: 4px;
971
971
  top: 50%;
972
972
  transform: translateY(-50%);
973
973
  color: #939393;
@@ -1302,7 +1302,7 @@
1302
1302
  background: #93c47d;
1303
1303
  }
1304
1304
  .studio-inspect-region.is-gap {
1305
- background: repeating-linear-gradient(45deg, #b48ce0 0 3px, #d8c3ef 3px 6px);
1305
+ background: repeating-linear-gradient(45deg, #fb923c 0 3px, #fed7aa 3px 6px);
1306
1306
  }
1307
1307
  .studio-inspect-region.is-radius {
1308
1308
  background: #f0a35e;
@@ -1338,7 +1338,7 @@
1338
1338
  color: #b9e0a5;
1339
1339
  }
1340
1340
  .studio-inspect-label.is-gap strong {
1341
- color: #d8c3ef;
1341
+ color: #fed7aa;
1342
1342
  }
1343
1343
  .studio-inspect-label.is-radius strong {
1344
1344
  color: #f6c08f;
@@ -1471,7 +1471,7 @@
1471
1471
  }
1472
1472
  .studio-token-sample > span {
1473
1473
  display: block;
1474
- margin-bottom: 7px;
1474
+ margin-bottom: 4px;
1475
1475
  font: 11px sans-serif;
1476
1476
  text-transform: capitalize;
1477
1477
  }
@@ -1669,7 +1669,7 @@
1669
1669
  align-items: center;
1670
1670
  gap: 7px;
1671
1671
  min-width: 0;
1672
- padding-left: 7px;
1672
+ padding-left: 4px;
1673
1673
  }
1674
1674
  .studio-alpha-swatch {
1675
1675
  position: relative;
@@ -2714,3 +2714,567 @@
2714
2714
  outline: 2px solid #555;
2715
2715
  outline-offset: 3px;
2716
2716
  }
2717
+
2718
+ /* Live-preview inspection keeps the canvas and property sidebar independently scrollable. */
2719
+ .studio-preview:has(.studio-hover-inspector) {
2720
+ display: flex;
2721
+ flex-direction: column;
2722
+ overflow: hidden;
2723
+ min-height: 0;
2724
+ }
2725
+ .studio-preview-heading,
2726
+ .studio-preview-note {
2727
+ flex-shrink: 0;
2728
+ }
2729
+ .studio-hover-inspector {
2730
+ display: grid;
2731
+ grid-template-columns: minmax(0, 1fr);
2732
+ grid-template-rows: auto minmax(0, 1fr);
2733
+ grid-auto-rows: minmax(0, 1fr);
2734
+ flex: 1;
2735
+ min-width: 0;
2736
+ min-height: 0;
2737
+ gap: 16px;
2738
+ container: studio-inspection / inline-size;
2739
+ }
2740
+ .studio-hover-inspector.has-inspector {
2741
+ grid-template-columns: minmax(0, 1fr) 270px;
2742
+ }
2743
+ .studio-inspector-toolbar {
2744
+ grid-column: 1 / -1;
2745
+ display: flex;
2746
+ align-items: center;
2747
+ justify-content: space-between;
2748
+ flex-wrap: wrap;
2749
+ gap: 8px;
2750
+ color: #8b8b8b;
2751
+ font-size: 10px;
2752
+ }
2753
+ .studio-inspector-toolbar .studio-mode button {
2754
+ padding: 4px 8px;
2755
+ font-size: 10px;
2756
+ }
2757
+ .studio-inspector-canvas-shell {
2758
+ position: relative;
2759
+ min-width: 0;
2760
+ min-height: 0;
2761
+ height: 100%;
2762
+ }
2763
+ .studio-inspector-canvas {
2764
+ height: 100%;
2765
+ min-height: 0;
2766
+ overflow: auto;
2767
+ overscroll-behavior: contain;
2768
+ }
2769
+ .studio-hover-outline-layer {
2770
+ position: absolute;
2771
+ inset: 0;
2772
+ overflow: hidden;
2773
+ pointer-events: none;
2774
+ z-index: 2;
2775
+ }
2776
+ .studio-hover-outline {
2777
+ position: absolute;
2778
+ border: 1px solid #8b5cf6;
2779
+ box-shadow: 0 0 0 1px #8b5cf633;
2780
+ }
2781
+ .studio-hover-outline > span {
2782
+ position: absolute;
2783
+ top: 0;
2784
+ left: 0;
2785
+ transform: translateY(-100%);
2786
+ max-width: 280px;
2787
+ padding: 2px 5px;
2788
+ border-radius: 3px 3px 0 0;
2789
+ background: #7c3aed;
2790
+ color: #fff;
2791
+ font:
2792
+ 10px/1.5 "Inter Variable",
2793
+ sans-serif;
2794
+ white-space: nowrap;
2795
+ }
2796
+ .studio-inspector-panel {
2797
+ grid-column: 2;
2798
+ position: relative;
2799
+ align-self: stretch;
2800
+ height: 100%;
2801
+ min-width: 0;
2802
+ min-height: 0;
2803
+ overflow: auto;
2804
+ box-sizing: border-box;
2805
+ border: 1px solid #dedde4;
2806
+ border-radius: 10px;
2807
+ background: #fff;
2808
+ color: #292730;
2809
+ font:
2810
+ 11px/1.5 "Inter Variable",
2811
+ Inter,
2812
+ sans-serif;
2813
+ overscroll-behavior: contain;
2814
+ }
2815
+ .studio-inspector-panel > header {
2816
+ position: sticky;
2817
+ top: 0;
2818
+ z-index: 1;
2819
+ display: flex;
2820
+ align-items: center;
2821
+ gap: 4px;
2822
+ padding: 9px 12px;
2823
+ border-bottom: 1px solid #efedf3;
2824
+ background: #fff;
2825
+ }
2826
+ .studio-inspector-panel > header > strong {
2827
+ flex: 1;
2828
+ font-size: 11px;
2829
+ }
2830
+ .studio-inspector-panel button {
2831
+ border: 0;
2832
+ border-radius: 4px;
2833
+ background: transparent;
2834
+ color: #716c7d;
2835
+ cursor: pointer;
2836
+ }
2837
+ .studio-inspector-panel > header button {
2838
+ display: grid;
2839
+ place-items: center;
2840
+ padding: 5px;
2841
+ }
2842
+ .studio-inspector-panel button[aria-pressed="true"] {
2843
+ background: #ede9fe;
2844
+ color: #7c3aed;
2845
+ }
2846
+ .studio-inspector-panel button:focus-visible {
2847
+ outline: 2px solid #8b5cf6;
2848
+ outline-offset: 1px;
2849
+ }
2850
+ .studio-inspector-panel section {
2851
+ border-top: 1px solid #efedf3;
2852
+ padding: 10px 12px;
2853
+ }
2854
+ .studio-inspector-panel h3 {
2855
+ margin: 0 0 7px;
2856
+ font-size: 9px;
2857
+ font-weight: 600;
2858
+ color: #928a9d;
2859
+ text-transform: uppercase;
2860
+ letter-spacing: 0.6px;
2861
+ }
2862
+ .studio-inspector-section-heading {
2863
+ display: flex;
2864
+ align-items: center;
2865
+ justify-content: space-between;
2866
+ margin-bottom: 10px;
2867
+ }
2868
+ .studio-inspector-section-heading h3 {
2869
+ margin: 0;
2870
+ }
2871
+ .studio-inspector-section-heading > span {
2872
+ padding: 1px 5px;
2873
+ border-radius: 4px;
2874
+ background: #f4f4f4;
2875
+ color: #777;
2876
+ font-size: 10px;
2877
+ }
2878
+ .studio-inspector-panel dl {
2879
+ margin: 0;
2880
+ }
2881
+ .studio-inspector-panel dl > div {
2882
+ display: grid;
2883
+ grid-template-columns: 85px minmax(0, 1fr);
2884
+ gap: 6px;
2885
+ padding: 3px 0;
2886
+ }
2887
+ .studio-inspector-panel dt {
2888
+ color: #817b8b;
2889
+ }
2890
+ .studio-inspector-panel dd {
2891
+ display: flex;
2892
+ flex-wrap: wrap;
2893
+ align-items: center;
2894
+ gap: 4px;
2895
+ margin: 0;
2896
+ min-width: 0;
2897
+ overflow-wrap: anywhere;
2898
+ }
2899
+ .studio-inspector-panel dd > i {
2900
+ width: 12px;
2901
+ height: 12px;
2902
+ border: 1px solid #0002;
2903
+ border-radius: 3px;
2904
+ flex-shrink: 0;
2905
+ }
2906
+ .studio-inspector-panel dd > button {
2907
+ max-width: 100%;
2908
+ padding: 2px 5px;
2909
+ background: #f3effb;
2910
+ color: #7752ae;
2911
+ font-size: 9px;
2912
+ text-align: left;
2913
+ overflow-wrap: anywhere;
2914
+ }
2915
+ .studio-inspector-empty {
2916
+ margin: 0;
2917
+ padding: 16px 12px;
2918
+ color: #89838e;
2919
+ }
2920
+ .studio-box-model {
2921
+ margin: 0;
2922
+ padding: 8px;
2923
+ border-radius: 7px;
2924
+ background: #fafafa;
2925
+ color: #393939;
2926
+ }
2927
+ .studio-box-model figcaption {
2928
+ margin-top: 6px;
2929
+ text-align: center;
2930
+ color: #8b8b8b;
2931
+ font-size: 9px;
2932
+ }
2933
+ .studio-box-layer {
2934
+ position: relative;
2935
+ padding: 24px;
2936
+ box-sizing: border-box;
2937
+ font:
2938
+ 10px/1.3 "Inter Variable",
2939
+ sans-serif;
2940
+ }
2941
+ .studio-box-layer.is-position {
2942
+ border: 1px dotted #b8b8b8;
2943
+ }
2944
+ .studio-box-layer.is-margin {
2945
+ border: 1px dashed #b8b8b8;
2946
+ }
2947
+ .studio-box-layer.is-border {
2948
+ border: 1px solid #b8b8b8;
2949
+ }
2950
+ .studio-box-layer.is-padding {
2951
+ border: 1px dashed #a7a7a7;
2952
+ background: #e9e9e9;
2953
+ }
2954
+ .studio-box-name {
2955
+ position: absolute;
2956
+ top: -7px;
2957
+ left: 8px;
2958
+ padding: 0 3px;
2959
+ background: #fafafa;
2960
+ color: #747474;
2961
+ font-size: 9px;
2962
+ }
2963
+ .studio-box-layer.is-padding > .studio-box-name {
2964
+ background: #e9e9e9;
2965
+ }
2966
+ .studio-box-value {
2967
+ position: absolute;
2968
+ font-variant-numeric: tabular-nums;
2969
+ }
2970
+ .studio-box-value.is-top {
2971
+ top: 3px;
2972
+ left: 50%;
2973
+ transform: translateX(-50%);
2974
+ }
2975
+ .studio-box-value.is-bottom {
2976
+ bottom: 3px;
2977
+ left: 50%;
2978
+ transform: translateX(-50%);
2979
+ }
2980
+ .studio-box-value.is-left {
2981
+ left: 3px;
2982
+ top: 50%;
2983
+ transform: translateY(-50%);
2984
+ }
2985
+ .studio-box-value.is-right {
2986
+ right: 3px;
2987
+ top: 50%;
2988
+ transform: translateY(-50%);
2989
+ }
2990
+ .studio-inspector-panel .studio-box-value {
2991
+ padding: 0;
2992
+ border-radius: 2px;
2993
+ color: inherit;
2994
+ line-height: 1.3;
2995
+ font-size: 10px;
2996
+ }
2997
+ .studio-inspector-panel button.studio-box-value[data-token] {
2998
+ text-decoration: underline dotted;
2999
+ text-underline-offset: 2px;
3000
+ }
3001
+ .studio-box-radius {
3002
+ position: absolute;
3003
+ padding: 1px 2px;
3004
+ border-radius: 3px;
3005
+ background: #f5f5f5;
3006
+ color: #777;
3007
+ font-size: 8px;
3008
+ line-height: 1;
3009
+ }
3010
+ .studio-box-radius.is-topLeft {
3011
+ top: 3px;
3012
+ left: 3px;
3013
+ }
3014
+ .studio-box-radius.is-topRight {
3015
+ top: 3px;
3016
+ right: 3px;
3017
+ }
3018
+ .studio-box-radius.is-bottomLeft {
3019
+ bottom: 3px;
3020
+ left: 3px;
3021
+ }
3022
+ .studio-box-radius.is-bottomRight {
3023
+ bottom: 3px;
3024
+ right: 3px;
3025
+ }
3026
+ .studio-inspector-panel .studio-box-radius {
3027
+ padding: 1px;
3028
+ color: #777;
3029
+ font-size: 8px;
3030
+ line-height: 1;
3031
+ }
3032
+ .studio-inspector-panel button.studio-box-radius[data-token] {
3033
+ text-decoration: underline dotted;
3034
+ }
3035
+ .studio-box-content {
3036
+ min-width: 0;
3037
+ padding: 5px 2px;
3038
+ border: 1px solid #b8b8b8;
3039
+ background: #fafafa;
3040
+ text-align: center;
3041
+ font-variant-numeric: tabular-nums;
3042
+ }
3043
+ .studio-box-dimensions {
3044
+ display: flex;
3045
+ justify-content: center;
3046
+ align-items: center;
3047
+ flex-wrap: wrap;
3048
+ gap: 2px;
3049
+ font-size: 9px;
3050
+ }
3051
+ .studio-box-gaps {
3052
+ display: flex;
3053
+ justify-content: center;
3054
+ margin-top: 12px;
3055
+ padding: 12px;
3056
+ border: 1px solid #e0e0e0;
3057
+ border-radius: 5px;
3058
+ }
3059
+ .studio-gap-grid {
3060
+ display: grid;
3061
+ width: 130px;
3062
+ max-width: 100%;
3063
+ align-items: center;
3064
+ justify-items: center;
3065
+ }
3066
+ .studio-gap-grid i {
3067
+ width: 100%;
3068
+ height: 100%;
3069
+ box-sizing: border-box;
3070
+ border: 1px solid #bdbdbd;
3071
+ border-radius: 2px;
3072
+ background: #e9e9e9;
3073
+ }
3074
+ .studio-gap-grid i:nth-child(1) {
3075
+ grid-column: 1;
3076
+ grid-row: 1;
3077
+ }
3078
+ .studio-gap-grid i:nth-child(2) {
3079
+ grid-column: 3;
3080
+ grid-row: 1;
3081
+ }
3082
+ .studio-gap-grid i:nth-child(3) {
3083
+ grid-column: 1;
3084
+ grid-row: 3;
3085
+ }
3086
+ .studio-gap-grid i:nth-child(4) {
3087
+ grid-column: 3;
3088
+ grid-row: 3;
3089
+ }
3090
+ .studio-gap-number {
3091
+ color: #555;
3092
+ font-size: 10px;
3093
+ }
3094
+ .studio-gap-number.is-column {
3095
+ grid-column: 2;
3096
+ grid-row: 1;
3097
+ }
3098
+ .studio-gap-number.is-row {
3099
+ grid-column: 1;
3100
+ grid-row: 2;
3101
+ }
3102
+ .studio-inspector-panel button.studio-gap-number[data-token] {
3103
+ padding: 0;
3104
+ text-decoration: underline dotted;
3105
+ font-size: 10px;
3106
+ }
3107
+ .studio-box-layer.is-position,
3108
+ .studio-box-layer.is-position .studio-box-layer {
3109
+ padding: 16px;
3110
+ }
3111
+ @container studio-inspection (max-width: 620px) {
3112
+ .studio-inspector-canvas-shell,
3113
+ .studio-inspector-panel {
3114
+ grid-column: 1 / -1;
3115
+ }
3116
+ .studio-inspector-canvas-shell {
3117
+ grid-row: 2;
3118
+ }
3119
+ .studio-inspector-panel {
3120
+ grid-row: 3;
3121
+ }
3122
+ }
3123
+ @container (max-width: 800px) {
3124
+ .studio-preview:has(.studio-hover-inspector) {
3125
+ height: max(420px, calc(100dvh - 220px));
3126
+ }
3127
+ }
3128
+ .studio-box-layer.is-border:has(.studio-box-radius) {
3129
+ border-color: transparent;
3130
+ }
3131
+ .studio-box-layer.is-border:has(.studio-box-radius)::before {
3132
+ content: "";
3133
+ position: absolute;
3134
+ inset: -3px;
3135
+ border: 1px solid #b8b8b8;
3136
+ border-radius: inherit;
3137
+ pointer-events: none;
3138
+ }
3139
+ .studio-box-radius {
3140
+ z-index: 1;
3141
+ }
3142
+ .studio-box-radius.is-topLeft {
3143
+ top: 4px;
3144
+ left: 4px;
3145
+ }
3146
+ .studio-box-radius.is-topRight {
3147
+ top: 4px;
3148
+ right: 4px;
3149
+ }
3150
+ .studio-box-radius.is-bottomLeft {
3151
+ bottom: 4px;
3152
+ left: 4px;
3153
+ }
3154
+ .studio-box-radius.is-bottomRight {
3155
+ bottom: 4px;
3156
+ right: 4px;
3157
+ }
3158
+
3159
+ .studio-measure-regions {
3160
+ position: absolute;
3161
+ inset: 0;
3162
+ pointer-events: none;
3163
+ }
3164
+ .studio-measure-region {
3165
+ position: absolute;
3166
+ box-sizing: border-box;
3167
+ background: #7c3aed88;
3168
+ color: #4c1d95;
3169
+ box-shadow:
3170
+ inset 0 0 0 1px currentColor,
3171
+ 0 0 0 1px #fff;
3172
+ }
3173
+ .studio-measure-region.is-margin {
3174
+ background: #22c55e88;
3175
+ color: #15803d;
3176
+ }
3177
+ .studio-measure-region.is-border {
3178
+ background: #2563ebbf;
3179
+ color: #1e40af;
3180
+ }
3181
+ .studio-measure-region.is-gap {
3182
+ background: repeating-linear-gradient(45deg, #fb923c88 0 3px, #ea580cbf 3px 5px);
3183
+ color: #c2410c;
3184
+ }
3185
+ .studio-measure-region.is-horizontal {
3186
+ height: 1px !important;
3187
+ border-top: 2px solid currentColor;
3188
+ background: none;
3189
+ }
3190
+ .studio-measure-region.is-vertical {
3191
+ width: 1px !important;
3192
+ border-left: 2px solid currentColor;
3193
+ background: none;
3194
+ }
3195
+ .studio-measure-region.is-horizontal::before,
3196
+ .studio-measure-region.is-horizontal::after {
3197
+ content: "";
3198
+ position: absolute;
3199
+ top: -4px;
3200
+ height: 7px;
3201
+ border-left: 2px solid currentColor;
3202
+ }
3203
+ .studio-measure-region.is-horizontal::before {
3204
+ left: 0;
3205
+ }
3206
+ .studio-measure-region.is-horizontal::after {
3207
+ right: 0;
3208
+ }
3209
+ .studio-measure-region.is-vertical::before,
3210
+ .studio-measure-region.is-vertical::after {
3211
+ content: "";
3212
+ position: absolute;
3213
+ left: -4px;
3214
+ width: 7px;
3215
+ border-top: 2px solid currentColor;
3216
+ }
3217
+ .studio-measure-region.is-vertical::before {
3218
+ top: 0;
3219
+ }
3220
+ .studio-measure-region.is-vertical::after {
3221
+ bottom: 0;
3222
+ }
3223
+ .studio-measure-region.is-corner {
3224
+ background: none;
3225
+ box-shadow: none;
3226
+ }
3227
+ .studio-measure-region.is-corner svg {
3228
+ display: block;
3229
+ width: 100%;
3230
+ height: 100%;
3231
+ overflow: visible;
3232
+ }
3233
+ .studio-measure-label {
3234
+ position: absolute;
3235
+ max-width: 220px;
3236
+ padding: 3px 6px;
3237
+ border-radius: 4px;
3238
+ background: #6d28d9;
3239
+ color: #fff;
3240
+ font:
3241
+ 10px/1.4 "Inter Variable",
3242
+ sans-serif;
3243
+ box-shadow:
3244
+ 0 0 0 1px #fff,
3245
+ 0 2px 6px #0004;
3246
+ }
3247
+ .studio-inspector-panel .studio-box-dimension-value {
3248
+ padding: 0;
3249
+ font: inherit;
3250
+ font-size: 9px;
3251
+ line-height: 1.3;
3252
+ color: inherit;
3253
+ }
3254
+ .studio-inspector-panel .studio-gap-number {
3255
+ padding: 0;
3256
+ font-size: 10px;
3257
+ }
3258
+ .studio-box-model button[data-box-highlight]:hover,
3259
+ .studio-box-model button[data-box-highlight]:focus-visible {
3260
+ background: #ede9fe;
3261
+ color: #6d28d9;
3262
+ }
3263
+
3264
+ .studio-measure-region.is-corner path {
3265
+ stroke-width: 3px;
3266
+ filter: drop-shadow(0 0 1px #fff);
3267
+ }
3268
+
3269
+ /* The canvas editor is a movable tool window; the workspace remains interactive. */
3270
+ .studio-overlay.studio-overlay-floating {
3271
+ background: transparent;
3272
+ backdrop-filter: none;
3273
+ pointer-events: none;
3274
+ }
3275
+ .studio-overlay-floating > .studio-modal {
3276
+ pointer-events: auto;
3277
+ box-shadow:
3278
+ 0 16px 64px #17102030,
3279
+ 0 0 0 1px #17102018;
3280
+ }
@@ -0,0 +1,27 @@
1
+ import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
2
+ import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
3
+ import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
4
+ //#region src/components/inputs/Switch/switch.cva.ts
5
+ const switchDefinition = UIOverrides.defineConfig({
6
+ base: ["h-6 w-10 rounded-full before:m-0.5 before:block before:aspect-square before:h-5 before:rounded-full before:transition-transform before:content-[''] group-selected:before:translate-x-4", uiGroupOutlineClass],
7
+ config: {
8
+ variants: { variant: { default: [
9
+ "bg-state-interactive-primary-background/disabled before:bg-interactive-primary-foreground",
10
+ "group-not-disabled:group-selected:bg-interactive-primary-background",
11
+ "group-disabled:bg-state-interactive-secondary-background/disabled group-disabled:before:bg-interactive-secondary-foreground",
12
+ "group-focus-visible:outline-interactive-ring",
13
+ "group-not-disabled:group-hover:bg-state-interactive-primary-background/hover",
14
+ "group-not-disabled:group-pressed:bg-state-interactive-primary-background/pressed",
15
+ "group-not-disabled:group-selected:group-hover:bg-state-interactive-primary-background/hover",
16
+ "group-not-disabled:group-selected:group-pressed:bg-state-interactive-primary-background/pressed"
17
+ ] } },
18
+ defaultVariants: { variant: "default" }
19
+ }
20
+ });
21
+ const switchTypography = compoundMapper({ default: {
22
+ size: "large",
23
+ sizeMobile: "large"
24
+ } });
25
+ const switchContentClassName = compoundMapper({ default: "text-surface-default-foreground" });
26
+ //#endregion
27
+ export { switchDefinition as n, switchTypography as r, switchContentClassName as t };
@@ -1,57 +1,4 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
1
  import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
3
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/grip-vertical.mjs
4
- /**
5
- * @license lucide-react v1.43.0 - ISC
6
- *
7
- * This source code is licensed under the ISC license.
8
- * See the LICENSE file in the root directory of this source tree.
9
- */
10
- const __iconData = {
11
- name: "grip-vertical",
12
- size: 24,
13
- node: [
14
- ["circle", {
15
- cx: "9",
16
- cy: "12",
17
- r: "1",
18
- key: "1vctgf"
19
- }],
20
- ["circle", {
21
- cx: "9",
22
- cy: "5",
23
- r: "1",
24
- key: "hp0tcf"
25
- }],
26
- ["circle", {
27
- cx: "9",
28
- cy: "19",
29
- r: "1",
30
- key: "fkjjf6"
31
- }],
32
- ["circle", {
33
- cx: "15",
34
- cy: "12",
35
- r: "1",
36
- key: "1tmaij"
37
- }],
38
- ["circle", {
39
- cx: "15",
40
- cy: "5",
41
- r: "1",
42
- key: "19l28e"
43
- }],
44
- ["circle", {
45
- cx: "15",
46
- cy: "19",
47
- r: "1",
48
- key: "f4zoj3"
49
- }]
50
- ]
51
- };
52
- __iconData.node;
53
- const GripVertical = createLucideIcon(__iconData);
54
- //#endregion
55
2
  //#region src/components/table/table.cva.ts
56
3
  const tableRowDefinition = UIOverrides.defineConfig({
57
4
  base: [
@@ -98,4 +45,4 @@ const tableDataDefinition = UIOverrides.defineConfig({
98
45
  const tableHeaderTextDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden text-ellipsis px-table-cell-content-side-m py-table-cell-content-height-m text-surface-default-card-foreground"] });
99
46
  const tableCellTextDefinition = UIOverrides.defineConfig({ base: ["block overflow-hidden text-ellipsis text-surface-default-foreground"] });
100
47
  //#endregion
101
- export { tableHeaderTextDefinition as a, GripVertical as c, tableHeadRowDefinition as i, tableDataDefinition as n, tableRowDefinition as o, tableHeadDataDefinition as r, theadDefinition as s, tableCellTextDefinition as t };
48
+ export { tableHeaderTextDefinition as a, tableHeadRowDefinition as i, tableDataDefinition as n, tableRowDefinition as o, tableHeadDataDefinition as r, theadDefinition as s, tableCellTextDefinition as t };