@varlet/ui 2.8.6 → 2.9.0-alpha.1678371604765

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "2.8.6",
4
+ "version": "2.9.0-alpha.1678371604765",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -2469,6 +2469,214 @@
2469
2469
  }
2470
2470
  ]
2471
2471
  },
2472
+ {
2473
+ "name": "var-fab",
2474
+ "attributes": [
2475
+ {
2476
+ "name": "v-model:active",
2477
+ "description": "Whether to activate the action menu",
2478
+ "default": "false",
2479
+ "value": {
2480
+ "type": "boolean",
2481
+ "kind": "expression"
2482
+ }
2483
+ },
2484
+ {
2485
+ "name": "show",
2486
+ "description": "Whether to show trigger",
2487
+ "default": "true",
2488
+ "value": {
2489
+ "type": "boolean",
2490
+ "kind": "expression"
2491
+ }
2492
+ },
2493
+ {
2494
+ "name": "type",
2495
+ "description": "type, optional values are `default` `primary` `info` `success` `warning` `danger`",
2496
+ "default": "primary",
2497
+ "value": {
2498
+ "type": "string",
2499
+ "kind": "expression"
2500
+ }
2501
+ },
2502
+ {
2503
+ "name": "position",
2504
+ "description": "trigger position, optional values are `left-top` `right-top` `left-bottom` `right-bottom`",
2505
+ "default": "right-bottom",
2506
+ "value": {
2507
+ "type": "string",
2508
+ "kind": "expression"
2509
+ }
2510
+ },
2511
+ {
2512
+ "name": "direction",
2513
+ "description": "Action menu popup direction, optional values are `top` `bottom` `left` `right`",
2514
+ "default": "top",
2515
+ "value": {
2516
+ "type": "string",
2517
+ "kind": "expression"
2518
+ }
2519
+ },
2520
+ {
2521
+ "name": "trigger",
2522
+ "description": "trigger method `click` `hover`",
2523
+ "default": "click",
2524
+ "value": {
2525
+ "type": "string",
2526
+ "kind": "expression"
2527
+ }
2528
+ },
2529
+ {
2530
+ "name": "disabled",
2531
+ "description": "Whether to disable",
2532
+ "default": "false",
2533
+ "value": {
2534
+ "type": "boolean",
2535
+ "kind": "expression"
2536
+ }
2537
+ },
2538
+ {
2539
+ "name": "color",
2540
+ "description": "trigger color",
2541
+ "default": "-",
2542
+ "value": {
2543
+ "type": "string",
2544
+ "kind": "expression"
2545
+ }
2546
+ },
2547
+ {
2548
+ "name": "inactive-icon",
2549
+ "description": "Inactive trigger icon",
2550
+ "default": "plus",
2551
+ "value": {
2552
+ "type": "string",
2553
+ "kind": "expression"
2554
+ }
2555
+ },
2556
+ {
2557
+ "name": "active-icon",
2558
+ "description": "trigger icon when active",
2559
+ "default": "window-close",
2560
+ "value": {
2561
+ "type": "string",
2562
+ "kind": "expression"
2563
+ }
2564
+ },
2565
+ {
2566
+ "name": "inactive-icon-size",
2567
+ "description": "Inactive trigger icon size",
2568
+ "default": "-",
2569
+ "value": {
2570
+ "type": "string | number",
2571
+ "kind": "expression"
2572
+ }
2573
+ },
2574
+ {
2575
+ "name": "active-icon-size",
2576
+ "description": "Trigger icon size when active",
2577
+ "default": "-",
2578
+ "value": {
2579
+ "type": "string | number",
2580
+ "kind": "expression"
2581
+ }
2582
+ },
2583
+ {
2584
+ "name": "fixed",
2585
+ "description": "Whether to use fixed positioning, set to `false` to enable absolute positioning",
2586
+ "default": "true",
2587
+ "value": {
2588
+ "type": "boolean",
2589
+ "kind": "expression"
2590
+ }
2591
+ },
2592
+ {
2593
+ "name": "z-index",
2594
+ "description": "Same as css z-index, used for custom trigger level",
2595
+ "default": "90",
2596
+ "value": {
2597
+ "type": "string | number",
2598
+ "kind": "expression"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "top",
2603
+ "description": "Same as css top, for custom trigger position",
2604
+ "default": "-",
2605
+ "value": {
2606
+ "type": "string | number",
2607
+ "kind": "expression"
2608
+ }
2609
+ },
2610
+ {
2611
+ "name": "bottom",
2612
+ "description": "Same as css bottom, for custom trigger position",
2613
+ "default": "-",
2614
+ "value": {
2615
+ "type": "string | number",
2616
+ "kind": "expression"
2617
+ }
2618
+ },
2619
+ {
2620
+ "name": "left",
2621
+ "description": "Same as css left, for custom trigger position",
2622
+ "default": "-",
2623
+ "value": {
2624
+ "type": "string | number",
2625
+ "kind": "expression"
2626
+ }
2627
+ },
2628
+ {
2629
+ "name": "right",
2630
+ "description": "Same as css right, for custom trigger position",
2631
+ "default": "-",
2632
+ "value": {
2633
+ "type": "string | number",
2634
+ "kind": "expression"
2635
+ }
2636
+ },
2637
+ {
2638
+ "name": "teleport",
2639
+ "description": "element to which the component mounts",
2640
+ "default": "-",
2641
+ "value": {
2642
+ "type": "TeleportProps['to']",
2643
+ "kind": "expression"
2644
+ }
2645
+ }
2646
+ ],
2647
+ "events": [
2648
+ {
2649
+ "name": "click",
2650
+ "description": "Triggered when the trigger is clicked, not triggered when `disabled` state is `true`"
2651
+ },
2652
+ {
2653
+ "name": "open",
2654
+ "description": "Fires when the action menu is activated and opened"
2655
+ },
2656
+ {
2657
+ "name": "opened",
2658
+ "description": "Fires at the end of the animation that activates and opens the action menu"
2659
+ },
2660
+ {
2661
+ "name": "close",
2662
+ "description": "Triggered when the action menu is deactivated and closed"
2663
+ },
2664
+ {
2665
+ "name": "closed",
2666
+ "description": "Fires when the animation of inactivating and closing the action menu ends"
2667
+ }
2668
+ ],
2669
+ "slots": [
2670
+ {
2671
+ "name": "default",
2672
+ "description": "Action menu"
2673
+ },
2674
+ {
2675
+ "name": "trigger",
2676
+ "description": "Trigger"
2677
+ }
2678
+ ]
2679
+ },
2472
2680
  {
2473
2681
  "name": "var-form",
2474
2682
  "attributes": [
@@ -2568,6 +2776,15 @@
2568
2776
  "kind": "expression"
2569
2777
  }
2570
2778
  },
2779
+ {
2780
+ "name": "animation-class",
2781
+ "description": "Name of the transition animation class",
2782
+ "default": "-",
2783
+ "value": {
2784
+ "type": "string",
2785
+ "kind": "expression"
2786
+ }
2787
+ },
2571
2788
  {
2572
2789
  "name": "transition",
2573
2790
  "description": "Transition animation time(ms)",
@@ -3475,6 +3692,15 @@
3475
3692
  "kind": "expression"
3476
3693
  }
3477
3694
  },
3695
+ {
3696
+ "name": "reference",
3697
+ "description": "The associated trigger element selector is used to specify specific child elements as trigger elements",
3698
+ "default": "-",
3699
+ "value": {
3700
+ "type": "string",
3701
+ "kind": "expression"
3702
+ }
3703
+ },
3478
3704
  {
3479
3705
  "name": "same-width",
3480
3706
  "description": "Whether to same width as trigger element",
@@ -5883,9 +6109,9 @@
5883
6109
  {
5884
6110
  "name": "offset-top",
5885
6111
  "description": "Distance offset top",
5886
- "default": "number_",
6112
+ "default": "0",
5887
6113
  "value": {
5888
- "type": "string \\",
6114
+ "type": "string | number",
5889
6115
  "kind": "expression"
5890
6116
  }
5891
6117
  }
@@ -6155,6 +6381,15 @@
6155
6381
  "type": "string",
6156
6382
  "kind": "expression"
6157
6383
  }
6384
+ },
6385
+ {
6386
+ "name": "reference",
6387
+ "description": "The associated trigger element selector is used to specify specific child elements as trigger elements",
6388
+ "default": "-",
6389
+ "value": {
6390
+ "type": "string",
6391
+ "kind": "expression"
6392
+ }
6158
6393
  }
6159
6394
  ],
6160
6395
  "events": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "2.8.6",
4
+ "version": "2.9.0-alpha.1678371604765",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -2529,6 +2529,214 @@
2529
2529
  }
2530
2530
  ]
2531
2531
  },
2532
+ {
2533
+ "name": "var-fab",
2534
+ "attributes": [
2535
+ {
2536
+ "name": "v-model:active",
2537
+ "description": "是否激活动作菜单",
2538
+ "default": "false",
2539
+ "value": {
2540
+ "type": "boolean",
2541
+ "kind": "expression"
2542
+ }
2543
+ },
2544
+ {
2545
+ "name": "show",
2546
+ "description": "是否显示触发器",
2547
+ "default": "true",
2548
+ "value": {
2549
+ "type": "boolean",
2550
+ "kind": "expression"
2551
+ }
2552
+ },
2553
+ {
2554
+ "name": "type",
2555
+ "description": "类型,可选值为 `default` `primary` `info` `success` `warning` `danger`",
2556
+ "default": "primary",
2557
+ "value": {
2558
+ "type": "string",
2559
+ "kind": "expression"
2560
+ }
2561
+ },
2562
+ {
2563
+ "name": "position",
2564
+ "description": "触发器位置,可选值为 `left-top` `right-top` `left-bottom` `right-bottom`",
2565
+ "default": "right-bottom",
2566
+ "value": {
2567
+ "type": "string",
2568
+ "kind": "expression"
2569
+ }
2570
+ },
2571
+ {
2572
+ "name": "direction",
2573
+ "description": "动作菜单弹出方向,可选值为 `top` `bottom` `left` `right`",
2574
+ "default": "top",
2575
+ "value": {
2576
+ "type": "string",
2577
+ "kind": "expression"
2578
+ }
2579
+ },
2580
+ {
2581
+ "name": "trigger",
2582
+ "description": "触发方式 `click` `hover`",
2583
+ "default": "click",
2584
+ "value": {
2585
+ "type": "string",
2586
+ "kind": "expression"
2587
+ }
2588
+ },
2589
+ {
2590
+ "name": "disabled",
2591
+ "description": "是否禁用",
2592
+ "default": "false",
2593
+ "value": {
2594
+ "type": "boolean",
2595
+ "kind": "expression"
2596
+ }
2597
+ },
2598
+ {
2599
+ "name": "color",
2600
+ "description": "触发器颜色",
2601
+ "default": "-",
2602
+ "value": {
2603
+ "type": "string",
2604
+ "kind": "expression"
2605
+ }
2606
+ },
2607
+ {
2608
+ "name": "inactive-icon",
2609
+ "description": "未激活时触发器图标",
2610
+ "default": "plus",
2611
+ "value": {
2612
+ "type": "string",
2613
+ "kind": "expression"
2614
+ }
2615
+ },
2616
+ {
2617
+ "name": "active-icon",
2618
+ "description": "激活时触发器图标",
2619
+ "default": "window-close",
2620
+ "value": {
2621
+ "type": "string",
2622
+ "kind": "expression"
2623
+ }
2624
+ },
2625
+ {
2626
+ "name": "inactive-icon-size",
2627
+ "description": "未激活时触发器图标尺寸",
2628
+ "default": "-",
2629
+ "value": {
2630
+ "type": "string | number",
2631
+ "kind": "expression"
2632
+ }
2633
+ },
2634
+ {
2635
+ "name": "active-icon-size",
2636
+ "description": "激活时触发器图标尺寸",
2637
+ "default": "-",
2638
+ "value": {
2639
+ "type": "string | number",
2640
+ "kind": "expression"
2641
+ }
2642
+ },
2643
+ {
2644
+ "name": "fixed",
2645
+ "description": "是否使用固定定位,设置为 `false` 可开启绝对定位",
2646
+ "default": "true",
2647
+ "value": {
2648
+ "type": "boolean",
2649
+ "kind": "expression"
2650
+ }
2651
+ },
2652
+ {
2653
+ "name": "z-index",
2654
+ "description": "同 css z-index,用于自定义触发器层级",
2655
+ "default": "90",
2656
+ "value": {
2657
+ "type": "string | number",
2658
+ "kind": "expression"
2659
+ }
2660
+ },
2661
+ {
2662
+ "name": "top",
2663
+ "description": "同 css top,用于自定义触发器位置",
2664
+ "default": "-",
2665
+ "value": {
2666
+ "type": "string | number",
2667
+ "kind": "expression"
2668
+ }
2669
+ },
2670
+ {
2671
+ "name": "bottom",
2672
+ "description": "同 css bottom,用于自定义触发器位置",
2673
+ "default": "-",
2674
+ "value": {
2675
+ "type": "string | number",
2676
+ "kind": "expression"
2677
+ }
2678
+ },
2679
+ {
2680
+ "name": "left",
2681
+ "description": "同 css left,用于自定义触发器位置",
2682
+ "default": "-",
2683
+ "value": {
2684
+ "type": "string | number",
2685
+ "kind": "expression"
2686
+ }
2687
+ },
2688
+ {
2689
+ "name": "right",
2690
+ "description": "同 css right,用于自定义触发器位置",
2691
+ "default": "-",
2692
+ "value": {
2693
+ "type": "string | number",
2694
+ "kind": "expression"
2695
+ }
2696
+ },
2697
+ {
2698
+ "name": "teleport",
2699
+ "description": "组件挂载的元素",
2700
+ "default": "-",
2701
+ "value": {
2702
+ "type": "TeleportProps['to']",
2703
+ "kind": "expression"
2704
+ }
2705
+ }
2706
+ ],
2707
+ "events": [
2708
+ {
2709
+ "name": "click",
2710
+ "description": "点击触发器时触发,在 `disabled` 状态为 `true` 时不触发"
2711
+ },
2712
+ {
2713
+ "name": "open",
2714
+ "description": "在激活并打开动作菜单时触发"
2715
+ },
2716
+ {
2717
+ "name": "opened",
2718
+ "description": "在激活并打开动作菜单的动画结束时触发"
2719
+ },
2720
+ {
2721
+ "name": "close",
2722
+ "description": "在失活并关闭动作菜单时触发"
2723
+ },
2724
+ {
2725
+ "name": "closed",
2726
+ "description": "在失活并关闭动作菜单的动画结束时触发"
2727
+ }
2728
+ ],
2729
+ "slots": [
2730
+ {
2731
+ "name": "default",
2732
+ "description": "动作菜单"
2733
+ },
2734
+ {
2735
+ "name": "trigger",
2736
+ "description": "触发器"
2737
+ }
2738
+ ]
2739
+ },
2532
2740
  {
2533
2741
  "name": "var-form",
2534
2742
  "attributes": [
@@ -2619,6 +2827,15 @@
2619
2827
  "kind": "expression"
2620
2828
  }
2621
2829
  },
2830
+ {
2831
+ "name": "animation-class",
2832
+ "description": "过渡动画类名",
2833
+ "default": "-",
2834
+ "value": {
2835
+ "type": "string",
2836
+ "kind": "expression"
2837
+ }
2838
+ },
2622
2839
  {
2623
2840
  "name": "transition",
2624
2841
  "description": "过渡动画时间(ms)",
@@ -3548,6 +3765,15 @@
3548
3765
  "kind": "expression"
3549
3766
  }
3550
3767
  },
3768
+ {
3769
+ "name": "reference",
3770
+ "description": "菜单关联的触发元素选择器,用于指定菜单的特定子元素为触发元素",
3771
+ "default": "-",
3772
+ "value": {
3773
+ "type": "string",
3774
+ "kind": "expression"
3775
+ }
3776
+ },
3551
3777
  {
3552
3778
  "name": "same-width",
3553
3779
  "description": "是否与触发元素同宽",
@@ -6101,9 +6327,9 @@
6101
6327
  {
6102
6328
  "name": "offset-top",
6103
6329
  "description": "吸顶距离",
6104
- "default": "number_",
6330
+ "default": "0",
6105
6331
  "value": {
6106
- "type": "string \\",
6332
+ "type": "string | number",
6107
6333
  "kind": "expression"
6108
6334
  }
6109
6335
  }
@@ -6373,6 +6599,15 @@
6373
6599
  "type": "string",
6374
6600
  "kind": "expression"
6375
6601
  }
6602
+ },
6603
+ {
6604
+ "name": "reference",
6605
+ "description": "关联的触发元素选择器,用于指定特定子元素为触发元素",
6606
+ "default": "-",
6607
+ "value": {
6608
+ "type": "string",
6609
+ "kind": "expression"
6610
+ }
6376
6611
  }
6377
6612
  ],
6378
6613
  "events": [