@tempots/beatui 0.68.0 → 0.71.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.
- package/dist/{ar-aMLQTGVh.js → ar-BbgpGwJp.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +106 -105
- package/dist/beatui.css +401 -0
- package/dist/beatui.tailwind.css +401 -0
- package/dist/{de-DBFOC44R.js → de-R7lPfyZ4.js} +1 -1
- package/dist/deep-merge-CQQCMLwG.js +1636 -0
- package/dist/deep-merge-DZxfgKqX.cjs +1 -0
- package/dist/duration-input-D-SIoDoo.cjs +1 -0
- package/dist/duration-input-DKxZ6OCa.js +277 -0
- package/dist/{es-C4xOThaT.js → es-DV0Jr_BZ.js} +1 -1
- package/dist/{fa-B7X_xydY.js → fa-DXvHejs9.js} +1 -1
- package/dist/{fr-AmjzbxN_.js → fr-D8FOMX0o.js} +1 -1
- package/dist/{he-DY-9yiOC.js → he-B19Qsx-u.js} +1 -1
- package/dist/{hi-Clkyp5Fu.js → hi-DozFnE3b.js} +1 -1
- package/dist/{index-GLoRnI6r.js → index-CYb1YxDX.js} +1 -1
- package/dist/{index-CzuXAuLZ.js → index-DdpYvBeh.js} +3 -3
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +2830 -3079
- package/dist/{it-BC32WmGF.js → it-But8uzNi.js} +1 -1
- package/dist/{ja-JNSZS_Hv.js → ja-DkwTnFdU.js} +1 -1
- package/dist/json-schema/index.cjs.js +6 -6
- package/dist/json-schema/index.es.js +3459 -3333
- package/dist/json-structure/index.cjs.js +1 -0
- package/dist/json-structure/index.es.js +3157 -0
- package/dist/{ko-B8l0TJp0.js → ko-Cqv-IjhX.js} +1 -1
- package/dist/modal-5P9mU_a4.cjs +1 -0
- package/dist/{modal-DJWj5M5e.js → modal-MofsfmAe.js} +2 -2
- package/dist/{nl-BpYESHP8.js → nl-YSiU3rFI.js} +1 -1
- package/dist/notice-Cqq8g17n.js +209 -0
- package/dist/notice-DP209Ed8.cjs +1 -0
- package/dist/{pl-_sWhGdrs.js → pl-DXmHc2Nh.js} +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/{pt-BmiQvHUz.js → pt-Bf3z_-26.js} +1 -1
- package/dist/{ru-DacnqexG.js → ru-Sy00qUeG.js} +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -0
- package/dist/{toolbar-Bk5-22ln.js → toolbar-C_Ec0_XC.js} +1 -1
- package/dist/{tr-BSS5b_v6.js → tr-BDxG3qd6.js} +1 -1
- package/dist/{translations-zGwuSQWQ.js → translations-BmsRhth7.js} +1 -1
- package/dist/{translations-BUTBIDsS.js → translations-DQxouiBG.js} +24 -24
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/form/utils/deep-merge.d.ts +27 -0
- package/dist/types/components/form/utils/index.d.ts +1 -0
- package/dist/types/components/json-schema/controls/generic-control.d.ts +2 -1
- package/dist/types/components/json-schema/controls/shared-utils.d.ts +17 -1
- package/dist/types/components/json-schema/index.d.ts +2 -0
- package/dist/types/components/json-schema/json-schema-form.d.ts +25 -3
- package/dist/types/components/json-schema/schema-context.d.ts +3 -0
- package/dist/types/components/json-schema/schema-defaults.d.ts +39 -0
- package/dist/types/components/json-schema/widgets/widget-customization.d.ts +55 -0
- package/dist/types/components/json-structure/controls/any-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/array-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/binary-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/boolean-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/choice-control.d.ts +19 -0
- package/dist/types/components/json-structure/controls/decimal-control.d.ts +17 -0
- package/dist/types/components/json-structure/controls/deprecation-utils.d.ts +14 -0
- package/dist/types/components/json-structure/controls/enum-const-controls.d.ts +22 -0
- package/dist/types/components/json-structure/controls/generic-control.d.ts +31 -0
- package/dist/types/components/json-structure/controls/index.d.ts +21 -0
- package/dist/types/components/json-structure/controls/integer-control.d.ts +18 -0
- package/dist/types/components/json-structure/controls/map-control.d.ts +17 -0
- package/dist/types/components/json-structure/controls/object-control.d.ts +17 -0
- package/dist/types/components/json-structure/controls/set-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/string-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/temporal-control.d.ts +18 -0
- package/dist/types/components/json-structure/controls/tuple-control.d.ts +19 -0
- package/dist/types/components/json-structure/controls/union-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/uri-control.d.ts +15 -0
- package/dist/types/components/json-structure/controls/uuid-control.d.ts +15 -0
- package/dist/types/components/json-structure/extends-utils.d.ts +36 -0
- package/dist/types/components/json-structure/index.d.ts +25 -0
- package/dist/types/components/json-structure/json-structure-form.d.ts +96 -0
- package/dist/types/components/json-structure/ref-utils.d.ts +55 -0
- package/dist/types/components/json-structure/structure-context.d.ts +176 -0
- package/dist/types/components/json-structure/structure-defaults.d.ts +46 -0
- package/dist/types/components/json-structure/structure-types.d.ts +173 -0
- package/dist/types/components/json-structure/validation/error-transform.d.ts +56 -0
- package/dist/types/components/json-structure/validation/index.d.ts +5 -0
- package/dist/types/components/json-structure/validation/sdk-validator.d.ts +46 -0
- package/dist/types/components/json-structure/widgets/default-widgets.d.ts +27 -0
- package/dist/types/components/json-structure/widgets/index.d.ts +6 -0
- package/dist/types/components/json-structure/widgets/widget-registry.d.ts +143 -0
- package/dist/types/components/json-structure/widgets/widget-utils.d.ts +79 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/json-structure/index.d.ts +9 -0
- package/dist/{ur-C6Ky6OCl.js → ur-55zdT2TQ.js} +1 -1
- package/dist/{notice-Um1LwKBF.js → use-form-B7A865EM.js} +329 -532
- package/dist/use-form-DVJXMMoN.cjs +2 -0
- package/dist/{vi-Bx2gx2S0.js → vi-C7K7W0hM.js} +1 -1
- package/dist/widget-customization-29Hl2gKT.js +1171 -0
- package/dist/widget-customization-BXiewbt-.cjs +1 -0
- package/dist/{zh-eixtg-Ce.js → zh-DvJBV9D8.js} +1 -1
- package/package.json +10 -2
- package/dist/modal-D_paG9Sr.cjs +0 -1
- package/dist/notice-CgT9ma2m.cjs +0 -2
- package/dist/utils-7JQljUYX.js +0 -2554
- package/dist/utils-CPtkOy9f.cjs +0 -1
package/dist/beatui.css
CHANGED
|
@@ -4708,6 +4708,407 @@ a:focus-visible {
|
|
|
4708
4708
|
color: var(--color-danger-400);
|
|
4709
4709
|
}
|
|
4710
4710
|
|
|
4711
|
+
/**
|
|
4712
|
+
* JSON Structure Form Component Styles
|
|
4713
|
+
*
|
|
4714
|
+
* CSS styles for JSON Structure form components.
|
|
4715
|
+
* Uses BEM-like naming with bc-json-structure- prefix.
|
|
4716
|
+
*/
|
|
4717
|
+
|
|
4718
|
+
/* =============================================================================
|
|
4719
|
+
Base Styles
|
|
4720
|
+
============================================================================= */
|
|
4721
|
+
|
|
4722
|
+
.bc-json-structure-form {
|
|
4723
|
+
display: flex;
|
|
4724
|
+
flex-direction: column;
|
|
4725
|
+
gap: var(--spacing-stack-md, calc(var(--spacing-base) * 3));
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4728
|
+
/* =============================================================================
|
|
4729
|
+
Object Layout
|
|
4730
|
+
============================================================================= */
|
|
4731
|
+
|
|
4732
|
+
.bc-json-structure-object {
|
|
4733
|
+
border-left: calc(var(--spacing-base) * 2) solid var(--color-base-200);
|
|
4734
|
+
padding-inline-start: calc(var(--spacing-base) * 2);
|
|
4735
|
+
}
|
|
4736
|
+
|
|
4737
|
+
.bc-json-structure-object-fields {
|
|
4738
|
+
display: flex;
|
|
4739
|
+
flex-direction: column;
|
|
4740
|
+
gap: var(--spacing-stack-md, calc(var(--spacing-base) * 3));
|
|
4741
|
+
}
|
|
4742
|
+
|
|
4743
|
+
.bc-json-structure-object--nested {
|
|
4744
|
+
margin-top: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
/* Additional properties */
|
|
4748
|
+
.bc-json-structure-additional-property {
|
|
4749
|
+
display: flex;
|
|
4750
|
+
flex-direction: column;
|
|
4751
|
+
gap: var(--spacing-stack-xs, var(--spacing-base));
|
|
4752
|
+
padding: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
4753
|
+
border: 1px solid var(--color-base-200);
|
|
4754
|
+
border-radius: var(--radius-sm);
|
|
4755
|
+
background: var(--color-base-50);
|
|
4756
|
+
}
|
|
4757
|
+
|
|
4758
|
+
.bc-json-structure-additional-property-header {
|
|
4759
|
+
display: flex;
|
|
4760
|
+
justify-content: space-between;
|
|
4761
|
+
align-items: center;
|
|
4762
|
+
gap: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4765
|
+
.bc-json-structure-additional-property-value {
|
|
4766
|
+
padding-inline-start: calc(var(--spacing-base) * 2);
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
/* =============================================================================
|
|
4770
|
+
Array/Set/Map Layout
|
|
4771
|
+
============================================================================= */
|
|
4772
|
+
|
|
4773
|
+
.bc-json-structure-array,
|
|
4774
|
+
.bc-json-structure-set,
|
|
4775
|
+
.bc-json-structure-map {
|
|
4776
|
+
display: flex;
|
|
4777
|
+
flex-direction: column;
|
|
4778
|
+
gap: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
.bc-json-structure-array-items,
|
|
4782
|
+
.bc-json-structure-set-items,
|
|
4783
|
+
.bc-json-structure-map-entries {
|
|
4784
|
+
display: flex;
|
|
4785
|
+
flex-direction: column;
|
|
4786
|
+
gap: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
.bc-json-structure-array-item,
|
|
4790
|
+
.bc-json-structure-set-item,
|
|
4791
|
+
.bc-json-structure-map-entry {
|
|
4792
|
+
display: flex;
|
|
4793
|
+
align-items: flex-start;
|
|
4794
|
+
gap: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
.bc-json-structure-array-item-content,
|
|
4798
|
+
.bc-json-structure-set-item-content,
|
|
4799
|
+
.bc-json-structure-map-entry-content {
|
|
4800
|
+
flex: 1;
|
|
4801
|
+
min-width: 0;
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4804
|
+
.bc-json-structure-array-item-actions,
|
|
4805
|
+
.bc-json-structure-set-item-actions,
|
|
4806
|
+
.bc-json-structure-map-entry-actions {
|
|
4807
|
+
flex-shrink: 0;
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
.bc-json-structure-collection-add {
|
|
4811
|
+
margin-top: var(--spacing-stack-xs, var(--spacing-base));
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
/* Map entry specific styles */
|
|
4815
|
+
.bc-json-structure-map-entry-header {
|
|
4816
|
+
display: flex;
|
|
4817
|
+
justify-content: space-between;
|
|
4818
|
+
align-items: center;
|
|
4819
|
+
gap: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
4820
|
+
margin-bottom: var(--spacing-stack-xs, var(--spacing-base));
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
.bc-json-structure-map-entry-key {
|
|
4824
|
+
font-family: var(--font-family-mono);
|
|
4825
|
+
font-weight: 600;
|
|
4826
|
+
color: var(--color-base-700);
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
.bc-json-structure-map-entry-value {
|
|
4830
|
+
padding-inline-start: calc(var(--spacing-base) * 2);
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
/* Set error indicator */
|
|
4834
|
+
.bc-json-structure-set-error {
|
|
4835
|
+
color: var(--color-error-500, #dc2626);
|
|
4836
|
+
font-size: var(--font-size-sm);
|
|
4837
|
+
margin-top: var(--spacing-stack-xs, var(--spacing-base));
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4840
|
+
/* =============================================================================
|
|
4841
|
+
Tuple Layout
|
|
4842
|
+
============================================================================= */
|
|
4843
|
+
|
|
4844
|
+
.bc-json-structure-tuple {
|
|
4845
|
+
display: flex;
|
|
4846
|
+
flex-direction: column;
|
|
4847
|
+
gap: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
.bc-json-structure-tuple-label {
|
|
4851
|
+
font-weight: 600;
|
|
4852
|
+
color: var(--color-base-700);
|
|
4853
|
+
margin-bottom: var(--spacing-stack-xs, var(--spacing-base));
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
.bc-json-structure-tuple-description {
|
|
4857
|
+
color: var(--color-base-500);
|
|
4858
|
+
font-size: var(--font-size-sm);
|
|
4859
|
+
margin-bottom: var(--spacing-stack-xs, var(--spacing-base));
|
|
4860
|
+
}
|
|
4861
|
+
|
|
4862
|
+
.bc-json-structure-tuple-elements {
|
|
4863
|
+
display: flex;
|
|
4864
|
+
flex-direction: column;
|
|
4865
|
+
gap: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
.bc-json-structure-tuple-element {
|
|
4869
|
+
display: flex;
|
|
4870
|
+
flex-direction: column;
|
|
4871
|
+
gap: var(--spacing-stack-xs, var(--spacing-base));
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4874
|
+
.bc-json-structure-tuple-element-header {
|
|
4875
|
+
display: flex;
|
|
4876
|
+
align-items: center;
|
|
4877
|
+
gap: var(--spacing-inline-xs, calc(var(--spacing-base) * 0.5));
|
|
4878
|
+
color: var(--color-base-600);
|
|
4879
|
+
font-size: var(--font-size-sm);
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
.bc-json-structure-tuple-position {
|
|
4883
|
+
font-family: var(--font-family-mono);
|
|
4884
|
+
font-weight: 600;
|
|
4885
|
+
color: var(--color-base-500);
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
.bc-json-structure-tuple-element-name {
|
|
4889
|
+
font-weight: 500;
|
|
4890
|
+
}
|
|
4891
|
+
|
|
4892
|
+
.bc-json-structure-tuple-element-control {
|
|
4893
|
+
padding-inline-start: calc(var(--spacing-base) * 2);
|
|
4894
|
+
}
|
|
4895
|
+
|
|
4896
|
+
/* =============================================================================
|
|
4897
|
+
Choice Layout
|
|
4898
|
+
============================================================================= */
|
|
4899
|
+
|
|
4900
|
+
.bc-json-structure-choice {
|
|
4901
|
+
display: flex;
|
|
4902
|
+
flex-direction: column;
|
|
4903
|
+
gap: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
.bc-json-structure-choice-selector {
|
|
4907
|
+
margin-bottom: var(--spacing-stack-sm, calc(var(--spacing-base) * 2));
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4910
|
+
.bc-json-structure-choice-options {
|
|
4911
|
+
padding-inline-start: calc(var(--spacing-base) * 2);
|
|
4912
|
+
}
|
|
4913
|
+
|
|
4914
|
+
/* =============================================================================
|
|
4915
|
+
Grid Layout (for objects with many properties)
|
|
4916
|
+
============================================================================= */
|
|
4917
|
+
|
|
4918
|
+
.bc-structure-grid {
|
|
4919
|
+
display: grid;
|
|
4920
|
+
}
|
|
4921
|
+
|
|
4922
|
+
.bc-structure-grid--gap-4 {
|
|
4923
|
+
gap: var(--spacing-stack-lg, calc(var(--spacing-base) * 4));
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
.bc-structure-grid--cols-1 {
|
|
4927
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
4928
|
+
}
|
|
4929
|
+
|
|
4930
|
+
.bc-structure-grid--cols-2 {
|
|
4931
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
.bc-structure-grid--cols-3 {
|
|
4935
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
.bc-structure-grid--cols-4 {
|
|
4939
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4940
|
+
}
|
|
4941
|
+
|
|
4942
|
+
@media (width >= 40rem) {
|
|
4943
|
+
.bc-structure-grid--cols-sm-1 {
|
|
4944
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
4945
|
+
}
|
|
4946
|
+
.bc-structure-grid--cols-sm-2 {
|
|
4947
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4948
|
+
}
|
|
4949
|
+
.bc-structure-grid--cols-sm-3 {
|
|
4950
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4951
|
+
}
|
|
4952
|
+
.bc-structure-grid--cols-sm-4 {
|
|
4953
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
|
|
4957
|
+
@media (width >= 48rem) {
|
|
4958
|
+
.bc-structure-grid--cols-md-1 {
|
|
4959
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
4960
|
+
}
|
|
4961
|
+
.bc-structure-grid--cols-md-2 {
|
|
4962
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4963
|
+
}
|
|
4964
|
+
.bc-structure-grid--cols-md-3 {
|
|
4965
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4966
|
+
}
|
|
4967
|
+
.bc-structure-grid--cols-md-4 {
|
|
4968
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4969
|
+
}
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
@media (width >= 64rem) {
|
|
4973
|
+
.bc-structure-grid--cols-lg-1 {
|
|
4974
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
4975
|
+
}
|
|
4976
|
+
.bc-structure-grid--cols-lg-2 {
|
|
4977
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4978
|
+
}
|
|
4979
|
+
.bc-structure-grid--cols-lg-3 {
|
|
4980
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4981
|
+
}
|
|
4982
|
+
.bc-structure-grid--cols-lg-4 {
|
|
4983
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4984
|
+
}
|
|
4985
|
+
}
|
|
4986
|
+
|
|
4987
|
+
/* =============================================================================
|
|
4988
|
+
Validation States
|
|
4989
|
+
============================================================================= */
|
|
4990
|
+
|
|
4991
|
+
.bc-json-structure-error {
|
|
4992
|
+
color: var(--color-error-500, #dc2626);
|
|
4993
|
+
font-size: var(--font-size-sm);
|
|
4994
|
+
margin-top: var(--spacing-stack-xs, var(--spacing-base));
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
.bc-json-structure-field--invalid {
|
|
4998
|
+
--field-border-color: var(--color-error-500, #dc2626);
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.bc-json-structure-field--valid {
|
|
5002
|
+
--field-border-color: var(--color-success-500, #16a34a);
|
|
5003
|
+
}
|
|
5004
|
+
|
|
5005
|
+
/* =============================================================================
|
|
5006
|
+
Metadata Display
|
|
5007
|
+
============================================================================= */
|
|
5008
|
+
|
|
5009
|
+
.bc-json-structure-description {
|
|
5010
|
+
color: var(--color-base-500);
|
|
5011
|
+
font-size: var(--font-size-sm);
|
|
5012
|
+
margin-top: var(--spacing-stack-xs, var(--spacing-base));
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
.bc-json-structure-deprecated {
|
|
5016
|
+
opacity: 0.7;
|
|
5017
|
+
position: relative;
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
.bc-json-structure-deprecated::before {
|
|
5021
|
+
content: '(deprecated)';
|
|
5022
|
+
position: absolute;
|
|
5023
|
+
top: 0;
|
|
5024
|
+
right: 0;
|
|
5025
|
+
font-size: var(--font-size-xs);
|
|
5026
|
+
color: var(--color-warning-500, #d97706);
|
|
5027
|
+
background: var(--color-warning-100, #fef3c7);
|
|
5028
|
+
padding: 0.125em 0.5em;
|
|
5029
|
+
border-radius: var(--radius-sm);
|
|
5030
|
+
}
|
|
5031
|
+
|
|
5032
|
+
.bc-json-structure-deprecated-badge {
|
|
5033
|
+
display: inline-flex;
|
|
5034
|
+
align-items: center;
|
|
5035
|
+
gap: var(--spacing-inline-xs, calc(var(--spacing-base) * 0.5));
|
|
5036
|
+
font-size: var(--font-size-xs);
|
|
5037
|
+
color: var(--color-warning-700);
|
|
5038
|
+
background: var(--color-warning-100);
|
|
5039
|
+
padding: 0.125em 0.5em;
|
|
5040
|
+
border-radius: var(--radius-sm);
|
|
5041
|
+
margin-inline-start: var(
|
|
5042
|
+
--spacing-inline-xs,
|
|
5043
|
+
calc(var(--spacing-base) * 0.5)
|
|
5044
|
+
);
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
.bc-json-structure-required-indicator {
|
|
5048
|
+
color: var(--color-error-500, #dc2626);
|
|
5049
|
+
margin-inline-start: 0.25em;
|
|
5050
|
+
}
|
|
5051
|
+
|
|
5052
|
+
/* =============================================================================
|
|
5053
|
+
Const/Enum Display
|
|
5054
|
+
============================================================================= */
|
|
5055
|
+
|
|
5056
|
+
.bc-json-structure-const {
|
|
5057
|
+
font-family: var(--font-family-mono);
|
|
5058
|
+
background: var(--color-base-100);
|
|
5059
|
+
padding: var(--spacing-inline-xs, calc(var(--spacing-base) * 0.5))
|
|
5060
|
+
var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
5061
|
+
border-radius: var(--radius-sm);
|
|
5062
|
+
color: var(--color-base-600);
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
/* =============================================================================
|
|
5066
|
+
Read-Only State
|
|
5067
|
+
============================================================================= */
|
|
5068
|
+
|
|
5069
|
+
.bc-json-structure-readonly {
|
|
5070
|
+
pointer-events: none;
|
|
5071
|
+
opacity: 0.7;
|
|
5072
|
+
}
|
|
5073
|
+
|
|
5074
|
+
.bc-json-structure-readonly input,
|
|
5075
|
+
.bc-json-structure-readonly select,
|
|
5076
|
+
.bc-json-structure-readonly textarea {
|
|
5077
|
+
background: var(--color-base-100);
|
|
5078
|
+
cursor: not-allowed;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
/* =============================================================================
|
|
5082
|
+
Placeholder Styles (temporary, for development)
|
|
5083
|
+
============================================================================= */
|
|
5084
|
+
|
|
5085
|
+
.bc-json-structure-placeholder {
|
|
5086
|
+
display: flex;
|
|
5087
|
+
flex-direction: column;
|
|
5088
|
+
gap: var(--spacing-stack-xs, var(--spacing-base));
|
|
5089
|
+
padding: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
5090
|
+
border: 1px dashed var(--color-base-300);
|
|
5091
|
+
border-radius: var(--radius-md);
|
|
5092
|
+
background: var(--color-base-50);
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
.bc-json-structure-placeholder > span:first-child {
|
|
5096
|
+
font-size: var(--font-size-xs);
|
|
5097
|
+
color: var(--color-base-400);
|
|
5098
|
+
font-family: var(--font-family-mono);
|
|
5099
|
+
}
|
|
5100
|
+
|
|
5101
|
+
.bc-json-structure-unknown {
|
|
5102
|
+
display: flex;
|
|
5103
|
+
flex-direction: column;
|
|
5104
|
+
gap: var(--spacing-stack-xs, var(--spacing-base));
|
|
5105
|
+
padding: var(--spacing-inline-sm, calc(var(--spacing-base) * 2));
|
|
5106
|
+
border: 1px solid var(--color-warning-300);
|
|
5107
|
+
border-radius: var(--radius-md);
|
|
5108
|
+
background: var(--color-warning-50);
|
|
5109
|
+
color: var(--color-warning-700);
|
|
5110
|
+
}
|
|
5111
|
+
|
|
4711
5112
|
.bc-label {
|
|
4712
5113
|
font-size: var(--font-size-sm);
|
|
4713
5114
|
line-height: var(--line-height-normal);
|