@dovetail-v2/refine 0.2.2 → 0.2.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.
package/dist/style.css CHANGED
@@ -1679,202 +1679,6 @@
1679
1679
 
1680
1680
  .v1ixr1me {
1681
1681
  color: #00122E;
1682
- }.pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main {
1683
- --pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
1684
- --pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
1685
- --pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
1686
- --pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--light-100);
1687
- --pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
1688
- --pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
1689
- --pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
1690
- --pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
1691
- --pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
1692
- }
1693
- .pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main .pf-v5-c-button {
1694
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
1695
- }
1696
-
1697
- .pf-v5-c-log-viewer {
1698
- --pf-v5-c-log-viewer--Height: 100%;
1699
- --pf-v5-c-log-viewer--MaxHeight: auto;
1700
- --pf-v5-c-log-viewer--m-line-numbers__index--Display: inline;
1701
- --pf-v5-c-log-viewer__header--MarginBottom: var(--pf-v5-global--spacer--sm);
1702
- --pf-v5-c-log-viewer__main--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
1703
- --pf-v5-c-log-viewer__main--BorderWidth: var(--pf-v5-global--BorderWidth--sm);
1704
- --pf-v5-c-log-viewer__main--BorderColor: var(--pf-v5-global--BorderColor--100);
1705
- --pf-v5-c-log-viewer__scroll-container--Height: 37.5rem;
1706
- --pf-v5-c-log-viewer__scroll-container--PaddingTop: var(--pf-v5-global--spacer--sm);
1707
- --pf-v5-c-log-viewer__scroll-container--PaddingBottom: var(--pf-v5-global--spacer--sm);
1708
- --pf-v5-c-log-viewer--m-line-numbers__main--before--Top: 0;
1709
- --pf-v5-c-log-viewer--m-line-numbers__main--before--Bottom: 0;
1710
- --pf-v5-c-log-viewer--m-line-numbers__main--before--Width: var(--pf-v5-global--BorderWidth--sm);
1711
- --pf-v5-c-log-viewer--m-line-numbers__main--before--BackgroundColor: var(--pf-v5-global--BorderColor--100);
1712
- --pf-v5-c-log-viewer__list--Height: auto;
1713
- --pf-v5-c-log-viewer--m-line-numbers__list--Left: var(--pf-v5-c-log-viewer__index--Width);
1714
- --pf-v5-c-log-viewer__list--FontFamily: var(--pf-v5-global--FontFamily--monospace);
1715
- --pf-v5-c-log-viewer__list--FontSize: var(--pf-v5-global--FontSize--sm);
1716
- --pf-v5-c-log-viewer__index--Display: none;
1717
- --pf-v5-c-log-viewer__index--Width: 4.0625rem;
1718
- --pf-v5-c-log-viewer__index--PaddingRight: var(--pf-v5-global--spacer--xl);
1719
- --pf-v5-c-log-viewer__index--PaddingLeft: var(--pf-v5-global--spacer--lg);
1720
- --pf-v5-c-log-viewer__index--Color: var(--pf-v5-global--Color--200);
1721
- --pf-v5-c-log-viewer__index--BackgroundColor: transparent;
1722
- --pf-v5-c-log-viewer--line-number-chars: 4.4;
1723
- --pf-v5-c-log-viewer--m-line-number-chars__index--PaddingRight: var(--pf-v5-global--spacer--xs);
1724
- --pf-v5-c-log-viewer--m-line-number-chars__index--Width: calc(1ch * var(--pf-v5-c-log-viewer--line-number-chars) + var(--pf-v5-c-log-viewer__index--PaddingRight) + var(--pf-v5-c-log-viewer__index--PaddingLeft));
1725
- --pf-v5-c-log-viewer__text--PaddingRight: var(--pf-v5-global--spacer--md);
1726
- --pf-v5-c-log-viewer__text--PaddingLeft: var(--pf-v5-global--spacer--md);
1727
- --pf-v5-c-log-viewer__text--Color: var(--pf-v5-global--Color--100);
1728
- --pf-v5-c-log-viewer__text--WordBreak: break-all;
1729
- --pf-v5-c-log-viewer__text--WhiteSpace: break-spaces;
1730
- --pf-v5-c-log-viewer__text--LineBreak: anywhere;
1731
- --pf-v5-c-log-viewer--m-nowrap__text--WhiteSpace: nowrap;
1732
- --pf-v5-c-log-viewer__string--m-match--Color: var(--pf-v5-global--palette--gold-700);
1733
- --pf-v5-c-log-viewer__string--m-match--BackgroundColor: var(--pf-v5-global--palette--gold-100);
1734
- --pf-v5-c-log-viewer__string--m-current--Color: var(--pf-v5-global--palette--gold-700);
1735
- --pf-v5-c-log-viewer__string--m-current--BackgroundColor: var(--pf-v5-global--palette--gold-400);
1736
- --pf-v5-c-log-viewer__timestamp--FontWeight: var(--pf-v5-global--FontWeight--bold);
1737
- --pf-v5-c-log-viewer--c-toolbar--PaddingTop: 0;
1738
- --pf-v5-c-log-viewer--c-toolbar--PaddingBottom: 0;
1739
- --pf-v5-c-log-viewer--c-toolbar__content--PaddingRight: 0;
1740
- --pf-v5-c-log-viewer--c-toolbar__content--PaddingLeft: 0;
1741
- --pf-v5-c-log-viewer--c-toolbar__group--m-toggle-group--spacer: 0;
1742
- --pf-v5-c-log-viewer--c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-v5-global--spacer--sm);
1743
- --pf-v5-c-log-viewer--m-dark__main--BorderWidth: 0;
1744
- display: flex;
1745
- flex-direction: column;
1746
- height: var(--pf-v5-c-log-viewer--Height);
1747
- max-height: var(--pf-v5-c-log-viewer--MaxHeight);
1748
- }
1749
- .pf-v5-c-log-viewer.pf-m-dark {
1750
- --pf-v5-c-log-viewer__main--BorderWidth: var(--pf-v5-c-log-viewer--m-dark__main--BorderWidth);
1751
- }
1752
- .pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main {
1753
- color: var(--pf-v5-global--Color--100);
1754
- --pf-v5-c-log-viewer__main--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
1755
- --pf-v5-c-log-viewer__main--BorderColor: var(--pf-v5-global--BorderColor--100);
1756
- --pf-v5-c-log-viewer__text--Color: var(--pf-v5-global--Color--100);
1757
- --pf-v5-c-log-viewer__index--Color: var(--pf-v5-global--Color--200);
1758
- --pf-v5-c-log-viewer--m-line-numbers__main--before--BackgroundColor: var(--pf-v5-global--BorderColor--100);
1759
- }
1760
- .pf-v5-c-log-viewer.pf-m-wrap-text {
1761
- word-break: break-all;
1762
- }
1763
- .pf-v5-c-log-viewer.pf-m-nowrap {
1764
- --pf-v5-c-log-viewer__text--WhiteSpace: var(--pf-v5-c-log-viewer--m-nowrap__text--WhiteSpace);
1765
- }
1766
- .pf-v5-c-log-viewer.pf-m-line-numbers {
1767
- --pf-v5-c-log-viewer__index--Display: var(--pf-v5-c-log-viewer--m-line-numbers__index--Display);
1768
- }
1769
- .pf-v5-c-log-viewer.pf-m-line-numbers .pf-v5-c-log-viewer__list {
1770
- position: absolute;
1771
- inset-inline-start: var(--pf-v5-c-log-viewer--m-line-numbers__list--Left);
1772
- inset-inline-end: 0;
1773
- }
1774
- .pf-v5-c-log-viewer.pf-m-line-numbers .pf-v5-c-log-viewer__list::before {
1775
- position: absolute;
1776
- inset-block-start: var(--pf-v5-c-log-viewer--m-line-numbers__main--before--Top);
1777
- inset-block-end: var(--pf-v5-c-log-viewer--m-line-numbers__main--before--Bottom);
1778
- inset-inline-start: 0;
1779
- width: var(--pf-v5-c-log-viewer--m-line-numbers__main--before--Width);
1780
- content: "";
1781
- background: var(--pf-v5-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
1782
- }
1783
- .pf-v5-c-log-viewer.pf-m-line-number-chars {
1784
- --pf-v5-c-log-viewer__index--PaddingRight: var(--pf-v5-c-log-viewer--m-line-number-chars__index--PaddingRight);
1785
- --pf-v5-c-log-viewer__index--Width: var(--pf-v5-c-log-viewer--m-line-number-chars__index--Width);
1786
- }
1787
- .pf-v5-c-log-viewer .pf-v5-c-toolbar {
1788
- --pf-v5-c-toolbar--PaddingTop: var(--pf-v5-c-log-viewer--c-toolbar--PaddingTop);
1789
- --pf-v5-c-toolbar--PaddingBottom: var(--pf-v5-c-log-viewer--c-toolbar--PaddingBottom);
1790
- --pf-v5-c-toolbar__content--PaddingRight: var(--pf-v5-c-log-viewer--c-toolbar__content--PaddingRight);
1791
- --pf-v5-c-toolbar__content--PaddingLeft: var(--pf-v5-c-log-viewer--c-toolbar__content--PaddingLeft);
1792
- --pf-v5-c-toolbar__group--m-toggle-group--spacer: 0;
1793
- --pf-v5-c-toolbar__group--m-toggle-group--m-show--spacer: var(--pf-v5-c-log-viewer--c-toolbar__group--m-toggle-group--m-show--spacer);
1794
- }
1795
- .pf-v5-c-log-viewer .pf-v5-c-toolbar__content-section {
1796
- flex-wrap: nowrap;
1797
- }
1798
-
1799
- .pf-v5-c-log-viewer__header {
1800
- margin-block-end: var(--pf-v5-c-log-viewer__header--MarginBottom);
1801
- }
1802
-
1803
- .pf-v5-c-log-viewer__main {
1804
- display: flex;
1805
- flex-direction: column;
1806
- min-height: 0;
1807
- background-color: var(--pf-v5-c-log-viewer__main--BackgroundColor);
1808
- border: var(--pf-v5-c-log-viewer__main--BorderWidth) solid var(--pf-v5-c-log-viewer__main--BorderColor);
1809
- }
1810
-
1811
- .pf-v5-c-log-viewer__scroll-container {
1812
- position: relative;
1813
- height: var(--pf-v5-c-log-viewer__scroll-container--Height);
1814
- padding-block-start: var(--pf-v5-c-log-viewer__scroll-container--PaddingTop);
1815
- padding-block-end: var(--pf-v5-c-log-viewer__scroll-container--PaddingBottom);
1816
- overflow: auto;
1817
- will-change: transform;
1818
- direction: ltr;
1819
- }
1820
-
1821
- .pf-v5-c-log-viewer__list {
1822
- position: relative;
1823
- height: var(--pf-v5-c-log-viewer__list--Height);
1824
- font-family: var(--pf-v5-c-log-viewer__list--FontFamily);
1825
- font-size: var(--pf-v5-c-log-viewer__list--FontSize);
1826
- }
1827
-
1828
- .pf-v5-c-log-viewer__list-item {
1829
- inset-inline-start: 0;
1830
- width: 100%;
1831
- }
1832
-
1833
- .pf-v5-c-log-viewer__string.pf-m-match {
1834
- color: var(--pf-v5-c-log-viewer__string--m-match--Color, inherit);
1835
- background-color: var(--pf-v5-c-log-viewer__string--m-match--BackgroundColor);
1836
- }
1837
- .pf-v5-c-log-viewer__string.pf-m-current {
1838
- color: var(--pf-v5-c-log-viewer__string--m-current--Color, inherit);
1839
- background-color: var(--pf-v5-c-log-viewer__string--m-current--BackgroundColor);
1840
- }
1841
-
1842
- .pf-v5-c-log-viewer__index {
1843
- position: fixed;
1844
- inset-inline-start: 0;
1845
- display: var(--pf-v5-c-log-viewer__index--Display);
1846
- width: var(--pf-v5-c-log-viewer__index--Width);
1847
- padding-inline-start: var(--pf-v5-c-log-viewer__index--PaddingLeft);
1848
- padding-inline-end: var(--pf-v5-c-log-viewer__index--PaddingRight);
1849
- font-family: var(--pf-v5-c-log-viewer__index--FontFamily, inherit);
1850
- font-size: var(--pf-v5-c-log-viewer__index--FontSize, inherit);
1851
- color: var(--pf-v5-c-log-viewer__index--Color);
1852
- user-select: none;
1853
- background-color: var(--pf-v5-c-log-viewer__index--BackgroundColor);
1854
- }
1855
-
1856
- .pf-v5-c-log-viewer__text {
1857
- display: block;
1858
- padding-inline-start: var(--pf-v5-c-log-viewer__text--PaddingLeft);
1859
- padding-inline-end: var(--pf-v5-c-log-viewer__text--PaddingRight);
1860
- font-family: var(--pf-v5-c-log-viewer__text--FontFamily, inherit);
1861
- font-size: var(--pf-v5-c-log-viewer__text--FontSize, inherit);
1862
- color: var(--pf-v5-c-log-viewer__text--Color);
1863
- word-break: var(--pf-v5-c-log-viewer__text--WordBreak);
1864
- white-space: var(--pf-v5-c-log-viewer__text--WhiteSpace);
1865
- line-break: var(--pf-v5-c-log-viewer__text--LineBreak);
1866
- }
1867
-
1868
- .pf-v5-c-log-viewer__timestamp {
1869
- font-weight: var(--pf-v5-c-log-viewer__timestamp--FontWeight);
1870
- }
1871
-
1872
- :where(.pf-v5-theme-dark) .pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main .pf-v5-c-button {
1873
- --pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
1874
- }
1875
-
1876
- :where(.pf-v5-theme-dark) .pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main {
1877
- color: var(--pf-v5-global--Color--100);
1878
1682
  }.pf-v5-t-light {
1879
1683
  --pf-v5-global--Color--100: var(--pf-v5-global--Color--dark-100);
1880
1684
  --pf-v5-global--Color--200: var(--pf-v5-global--Color--dark-200);
@@ -3234,151 +3038,6 @@
3234
3038
  /* box shadow */
3235
3039
  /* fisheye */
3236
3040
  /* z-index */
3237
- .t1joof7s {
3238
- width: 100%;
3239
- padding: 11px;
3240
- border-bottom: 1px solid rgba(211, 218, 235, 0.6);
3241
- background: rgba(225, 230, 241, 0.6);
3242
- border-radius: 8px;
3243
- }
3244
- .t1joof7s.collapsed {
3245
- border-bottom: 0;
3246
- }
3247
- .t1joof7s svg {
3248
- margin: auto;
3249
- }
3250
- .t1joof7s > .dovetail-ant-space-item {
3251
- line-height: 16px;
3252
- }
3253
-
3254
- .tti58uh {
3255
- display: flex;
3256
- width: 100%;
3257
- height: 20px;
3258
- justify-content: space-between;
3259
- }
3260
- .tti58uh .ant-space-item {
3261
- line-height: 1;
3262
- }
3263
-
3264
- .e15yt16p {
3265
- margin-top: 1px;
3266
- }
3267
-
3268
- .w3ccqks {
3269
- width: 100%;
3270
- border: 1px solid rgba(211, 218, 235, 0.6);
3271
- border-radius: 8px;
3272
- }
3273
- .w3ccqks[data-is-error=true] {
3274
- border-color: #f0483e;
3275
- }
3276
- .w3ccqks[data-is-error=true] .t1joof7s {
3277
- padding-bottom: 7px;
3278
- background: #ffecec;
3279
- }
3280
-
3281
- .t7zbd78 {
3282
- color: #00122e;
3283
- font-size: 13px;
3284
- font-weight: 700;
3285
- line-height: 20px;
3286
- }
3287
-
3288
- .i1e4ouxy {
3289
- cursor: pointer;
3290
- margin: auto 0;
3291
- }
3292
- .i1e4ouxy.arrow-down svg {
3293
- transform: rotate(90deg);
3294
- }
3295
- .i1e4ouxy[data-disabled=true] {
3296
- cursor: not-allowed;
3297
- opacity: 0.5;
3298
- }
3299
-
3300
- .d1g21822 {
3301
- fill: rgba(44, 56, 82, 0.6);
3302
- cursor: not-allowed;
3303
- }
3304
-
3305
- .pqch97v {
3306
- font-family: Menlo, Monaco, "Courier New", monospace;
3307
- font-size: 12px;
3308
- font-style: normal;
3309
- font-weight: 400;
3310
- padding-left: 62px;
3311
- overflow: auto;
3312
- }
3313
-
3314
- .eh2qjnl {
3315
- color: #f0483e;
3316
- font-size: 12px;
3317
- line-height: 18px;
3318
- word-break: break-all;
3319
- margin-bottom: 0;
3320
- }
3321
-
3322
- .e19q2bnp {
3323
- margin-top: 8px;
3324
- }
3325
-
3326
- .y16u5v3w .monaco-editor {
3327
- border-bottom-left-radius: 8px;
3328
- border-bottom-right-radius: 8px;
3329
- }
3330
- .y16u5v3w .monaco-editor .margin {
3331
- border-bottom-left-radius: 8px;
3332
- }
3333
- .y16u5v3w .monaco-editor .monaco-scrollable-element {
3334
- border-bottom-right-radius: 8px;
3335
- }/* // basic */
3336
- /* FishEye Color Variables and Functions */
3337
- /*
3338
- --------------------------- Primary Color ---------------------------
3339
- */
3340
- /*
3341
- ---------------------------When necessary to add at any time---------------------------
3342
- */
3343
- /* computed */
3344
- /* blue */
3345
- /* green */
3346
- /* yellow */
3347
- /* red */
3348
- /* purple */
3349
- /* palette global token*/
3350
- /* color opaque */
3351
- /* color transparent */
3352
- /* blue transparent */
3353
- /* green transparent */
3354
- /* yellow transparent */
3355
- /* red transparent */
3356
- /* gray transparent */
3357
- /* white transparent */
3358
- /* gradient opaque */
3359
- /* blue radial gradient */
3360
- /* blue linear gradient */
3361
- /* green radial gradient */
3362
- /* yellow radial gradient */
3363
- /* red radial gradient */
3364
- /* gray radial gradient */
3365
- /* white to gray radial gradient */
3366
- /* white to gray linear gradient */
3367
- /* gradient transparent */
3368
- /* secondary palette */
3369
- /* purple radial gradient */
3370
- /* refine alias color */
3371
- /* text */
3372
- /* link */
3373
- /* fill */
3374
- /* fill element */
3375
- /* fill interaction */
3376
- /* stroke */
3377
- /* background */
3378
- /* dim */
3379
- /* box shadow */
3380
- /* fisheye */
3381
- /* z-index */
3382
3041
  .e1cjl2b8 {
3383
3042
  border-radius: 8px;
3384
3043
  border: 1px solid rgba(211, 218, 235, 0.6);
@@ -4226,6 +3885,153 @@
4226
3885
  /* box shadow */
4227
3886
  /* fisheye */
4228
3887
  /* z-index */
3888
+ .t1joof7s {
3889
+ width: 100%;
3890
+ padding: 11px;
3891
+ border-bottom: 1px solid rgba(211, 218, 235, 0.6);
3892
+ background: rgba(225, 230, 241, 0.6);
3893
+ border-radius: 8px;
3894
+ border-bottom-left-radius: 0;
3895
+ border-bottom-right-radius: 0;
3896
+ }
3897
+ .t1joof7s.collapsed {
3898
+ border-bottom: 0;
3899
+ }
3900
+ .t1joof7s svg {
3901
+ margin: auto;
3902
+ }
3903
+ .t1joof7s > .dovetail-ant-space-item {
3904
+ line-height: 16px;
3905
+ }
3906
+
3907
+ .tti58uh {
3908
+ display: flex;
3909
+ width: 100%;
3910
+ height: 20px;
3911
+ justify-content: space-between;
3912
+ }
3913
+ .tti58uh .ant-space-item {
3914
+ line-height: 1;
3915
+ }
3916
+
3917
+ .e15yt16p {
3918
+ margin-top: 1px;
3919
+ }
3920
+
3921
+ .w3ccqks {
3922
+ width: 100%;
3923
+ border: 1px solid rgba(211, 218, 235, 0.6);
3924
+ border-radius: 8px;
3925
+ }
3926
+ .w3ccqks[data-is-error=true] {
3927
+ border-color: #f0483e;
3928
+ }
3929
+ .w3ccqks[data-is-error=true] .t1joof7s {
3930
+ padding-bottom: 7px;
3931
+ background: #ffecec;
3932
+ }
3933
+
3934
+ .t7zbd78 {
3935
+ color: #00122e;
3936
+ font-size: 13px;
3937
+ font-weight: 700;
3938
+ line-height: 20px;
3939
+ }
3940
+
3941
+ .i1e4ouxy {
3942
+ cursor: pointer;
3943
+ margin: auto 0;
3944
+ }
3945
+ .i1e4ouxy.arrow-down svg {
3946
+ transform: rotate(90deg);
3947
+ }
3948
+ .i1e4ouxy[data-disabled=true] {
3949
+ cursor: not-allowed;
3950
+ opacity: 0.5;
3951
+ }
3952
+
3953
+ .d1g21822 {
3954
+ fill: rgba(44, 56, 82, 0.6);
3955
+ cursor: not-allowed;
3956
+ }
3957
+
3958
+ .pqch97v {
3959
+ font-family: Menlo, Monaco, "Courier New", monospace;
3960
+ font-size: 12px;
3961
+ font-style: normal;
3962
+ font-weight: 400;
3963
+ padding-left: 62px;
3964
+ overflow: auto;
3965
+ }
3966
+
3967
+ .eh2qjnl {
3968
+ color: #f0483e;
3969
+ font-size: 12px;
3970
+ line-height: 18px;
3971
+ word-break: break-all;
3972
+ margin-bottom: 0;
3973
+ }
3974
+
3975
+ .e19q2bnp {
3976
+ margin-top: 8px;
3977
+ }
3978
+
3979
+ .y16u5v3w .monaco-editor {
3980
+ border-bottom-left-radius: 8px;
3981
+ border-bottom-right-radius: 8px;
3982
+ }
3983
+ .y16u5v3w .monaco-editor .margin {
3984
+ border-bottom-left-radius: 8px;
3985
+ }
3986
+ .y16u5v3w .monaco-editor .monaco-scrollable-element {
3987
+ border-bottom-right-radius: 8px;
3988
+ }/* // basic */
3989
+ /* FishEye Color Variables and Functions */
3990
+ /*
3991
+ --------------------------- Primary Color ---------------------------
3992
+ */
3993
+ /*
3994
+ ---------------------------When necessary to add at any time---------------------------
3995
+ */
3996
+ /* computed */
3997
+ /* blue */
3998
+ /* green */
3999
+ /* yellow */
4000
+ /* red */
4001
+ /* purple */
4002
+ /* palette global token*/
4003
+ /* color opaque */
4004
+ /* color transparent */
4005
+ /* blue transparent */
4006
+ /* green transparent */
4007
+ /* yellow transparent */
4008
+ /* red transparent */
4009
+ /* gray transparent */
4010
+ /* white transparent */
4011
+ /* gradient opaque */
4012
+ /* blue radial gradient */
4013
+ /* blue linear gradient */
4014
+ /* green radial gradient */
4015
+ /* yellow radial gradient */
4016
+ /* red radial gradient */
4017
+ /* gray radial gradient */
4018
+ /* white to gray radial gradient */
4019
+ /* white to gray linear gradient */
4020
+ /* gradient transparent */
4021
+ /* secondary palette */
4022
+ /* purple radial gradient */
4023
+ /* refine alias color */
4024
+ /* text */
4025
+ /* link */
4026
+ /* fill */
4027
+ /* fill element */
4028
+ /* fill interaction */
4029
+ /* stroke */
4030
+ /* background */
4031
+ /* dim */
4032
+ /* box shadow */
4033
+ /* fisheye */
4034
+ /* z-index */
4229
4035
  .e1guqlj2 {
4230
4036
  flex: 1;
4231
4037
  height: 100%;
@@ -1,5 +1,5 @@
1
1
  import { JSONSchema7 } from 'json-schema';
2
- import type * as monaco from 'monaco-editor';
2
+ import { type editor } from 'monaco-editor';
3
3
  import React from 'react';
4
4
  export type YamlEditorProps = {
5
5
  eleRef?: React.MutableRefObject<HTMLDivElement>;
@@ -18,13 +18,13 @@ export type YamlEditorProps = {
18
18
  isScrollOnFocus?: boolean;
19
19
  onChange?: (value: string) => void;
20
20
  onValidate?: (valid: boolean, schemaValid: boolean) => void;
21
- onEditorCreate?: (editor: monaco.editor.IStandaloneCodeEditor) => void;
21
+ onEditorCreate?: (editor: editor.IStandaloneCodeEditor) => void;
22
22
  onBlur?: () => void;
23
23
  };
24
24
  export type YamlEditorHandle = {
25
25
  setValue: (value: string) => void;
26
26
  setEditorValue: (value: string) => void;
27
27
  getEditorValue: () => string;
28
- getEditorInstance: () => monaco.editor.IStandaloneCodeEditor | null;
28
+ getEditorInstance: () => editor.IStandaloneCodeEditor | null;
29
29
  };
30
30
  export declare const YamlEditorComponent: React.ForwardRefExoticComponent<YamlEditorProps & React.RefAttributes<YamlEditorHandle>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -58,6 +58,7 @@
58
58
  "@playwright/test": "^1.39.0",
59
59
  "@refinedev/cli": "^2.9.0",
60
60
  "@rollup/pluginutils": "^4.2.1",
61
+ "@testing-library/react-hooks": "7",
61
62
  "@types/body-parser": "^1.19.5",
62
63
  "@types/jest": "^29",
63
64
  "@types/js-yaml": "^4.0.6",
@@ -76,6 +77,7 @@
76
77
  "eslint-plugin-react-hooks": "^4.6.0",
77
78
  "eslint-plugin-react-refresh": "^0.3.4",
78
79
  "jest": "^29",
80
+ "jest-environment-jsdom": "^30.0.0",
79
81
  "kubernetes-types": "^1.26.0",
80
82
  "sass": "1.51.0",
81
83
  "ts-jest": "^29",