@histoire/controls 0.17.17 → 1.0.0-alpha.1
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/.histoire/dist/__sandbox.html +16 -0
- package/.histoire/dist/assets/BaseEmpty.d30f3079.js +11 -0
- package/.histoire/dist/assets/HomeView.8e044be6.js +24 -0
- package/.histoire/dist/assets/HstCheckbox.story.3d04d85b.js +144 -0
- package/.histoire/dist/assets/HstColorShades.story.68cf74d1.js +532 -0
- package/.histoire/dist/assets/HstCopyIcon.e40e725e.js +51 -0
- package/.histoire/dist/assets/HstNumber.story.1e1964ff.js +160 -0
- package/.histoire/dist/assets/HstSelect.story.04860383.js +277 -0
- package/.histoire/dist/assets/HstText.story.c915d831.js +137 -0
- package/.histoire/dist/assets/HstTextarea.story.802b9c26.js +105 -0
- package/.histoire/dist/assets/HstTokenGrid.story.025819d6.js +148 -0
- package/.histoire/dist/assets/HstTokenList.story.d3aa6575.js +176 -0
- package/.histoire/dist/assets/HstWrapper.246b6982.js +56 -0
- package/.histoire/dist/assets/SearchPane.daa2675c.js +426 -0
- package/.histoire/dist/assets/StoryView.2f64dad1.js +2260 -0
- package/.histoire/dist/assets/bundle-main.784e5bf7.js +1156 -0
- package/.histoire/dist/assets/bundle-sandbox.5e153933.js +84 -0
- package/.histoire/dist/assets/const.268165fd.js +658 -0
- package/.histoire/dist/assets/global-components.6736b2a9.js +5722 -0
- package/.histoire/dist/assets/search-docs-data.b9a75539.js +6 -0
- package/.histoire/dist/assets/style.04507241.css +2504 -0
- package/.histoire/dist/assets/vendor.2833ae3d.js +28970 -0
- package/.histoire/dist/index.html +16 -0
- package/dist/components/HstCopyIcon.vue.d.ts +3 -12
- package/dist/components/HstWrapper.vue.d.ts +4 -27
- package/dist/components/button/HstButton.story.vue.d.ts +1 -1
- package/dist/components/button/HstButton.vue.d.ts +5 -145
- package/dist/components/button/HstButtonGroup.story.vue.d.ts +1 -1
- package/dist/components/button/HstButtonGroup.vue.d.ts +6 -15
- package/dist/components/checkbox/HstCheckbox.story.vue.d.ts +1 -1
- package/dist/components/checkbox/HstCheckbox.vue.d.ts +5 -14
- package/dist/components/checkbox/HstCheckboxList.story.vue.d.ts +1 -1
- package/dist/components/checkbox/HstCheckboxList.vue.d.ts +6 -15
- package/dist/components/checkbox/HstSimpleCheckbox.story.vue.d.ts +1 -1
- package/dist/components/checkbox/HstSimpleCheckbox.vue.d.ts +5 -14
- package/dist/components/colorselect/HstColorSelect.story.vue.d.ts +1 -1
- package/dist/components/colorselect/HstColorSelect.vue.d.ts +5 -14
- package/dist/components/design-tokens/HstColorShades.story.vue.d.ts +1 -1
- package/dist/components/design-tokens/HstColorShades.vue.d.ts +3 -12
- package/dist/components/design-tokens/HstTokenGrid.story.vue.d.ts +1 -1
- package/dist/components/design-tokens/HstTokenGrid.vue.d.ts +4 -27
- package/dist/components/design-tokens/HstTokenList.story.vue.d.ts +1 -1
- package/dist/components/design-tokens/HstTokenList.vue.d.ts +3 -12
- package/dist/components/json/HstJson.story.vue.d.ts +1 -1
- package/dist/components/json/HstJson.vue.d.ts +5 -14
- package/dist/components/number/HstNumber.story.vue.d.ts +1 -1
- package/dist/components/number/HstNumber.vue.d.ts +5 -14
- package/dist/components/radio/HstRadio.story.vue.d.ts +1 -1
- package/dist/components/radio/HstRadio.vue.d.ts +6 -15
- package/dist/components/select/CustomSelect.vue.d.ts +6 -15
- package/dist/components/select/HstSelect.story.vue.d.ts +1 -1
- package/dist/components/select/HstSelect.vue.d.ts +6 -15
- package/dist/components/slider/HstSlider.story.vue.d.ts +1 -1
- package/dist/components/slider/HstSlider.vue.d.ts +5 -14
- package/dist/components/text/HstText.story.vue.d.ts +1 -1
- package/dist/components/text/HstText.vue.d.ts +5 -14
- package/dist/components/textarea/HstTextarea.story.vue.d.ts +1 -1
- package/dist/components/textarea/HstTextarea.vue.d.ts +5 -14
- package/dist/index.d.ts +732 -2488
- package/dist/index.es.css +1 -0
- package/dist/index.es.js +5279 -4823
- package/dist/style-standalone.css +74 -66
- package/dist/utils.d.ts +1 -1
- package/package.json +25 -25
- package/src/components/HstCopyIcon.vue +1 -1
- package/src/components/HstWrapper.vue +1 -1
- package/src/components/button/HstButtonGroup.vue +1 -1
- package/src/components/checkbox/HstCheckboxList.vue +1 -1
- package/src/components/design-tokens/HstColorShades.vue +2 -2
- package/src/components/design-tokens/HstTokenGrid.vue +1 -1
- package/src/components/json/HstJson.vue +12 -12
- package/src/components/radio/HstRadio.vue +1 -1
- package/src/components/select/CustomSelect.vue +3 -3
- package/src/components/select/HstSelect.vue +1 -1
- package/src/components/slider/HstSlider.vue +1 -1
- package/src/index.ts +8 -8
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -1
- package/dist/style.css +0 -1
- package/histoire-dist/__sandbox.html +0 -15
- package/histoire-dist/assets/BaseEmpty.a84c14c8.js +0 -1
- package/histoire-dist/assets/HomeView.f524bd4b.js +0 -1
- package/histoire-dist/assets/HstCheckbox.story.9f622545.js +0 -1
- package/histoire-dist/assets/HstInput.story.945401ce.js +0 -1
- package/histoire-dist/assets/SearchModal.76c035f2.js +0 -1
- package/histoire-dist/assets/StoryView.e4c41518.js +0 -15
- package/histoire-dist/assets/global-components.84d0ab22.js +0 -1
- package/histoire-dist/assets/histoire-text-dark.a529813a.svg +0 -89
- package/histoire-dist/assets/histoire-text.1d4474b5.svg +0 -89
- package/histoire-dist/assets/index.58f51dd0.js +0 -1
- package/histoire-dist/assets/preview-settings.a634d101.js +0 -1
- package/histoire-dist/assets/sandbox.2c60450a.js +0 -1
- package/histoire-dist/assets/style.7657d2ac.css +0 -1
- package/histoire-dist/assets/vendor.70a554f6.js +0 -9
- package/histoire-dist/index.html +0 -15
- /package/{histoire-dist/assets/histoire.8af7bd1f.svg → .histoire/dist/histoire.svg} +0 -0
|
@@ -175,6 +175,17 @@
|
|
|
175
175
|
left:-2px
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
.v-popper--theme-tooltip .v-popper__inner{
|
|
179
|
+
background:rgba(0,0,0,.8);
|
|
180
|
+
color:#fff;
|
|
181
|
+
border-radius:6px;
|
|
182
|
+
padding:7px 12px 6px
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.v-popper--theme-tooltip .v-popper__arrow-outer{
|
|
186
|
+
border-color:#000c
|
|
187
|
+
}
|
|
188
|
+
|
|
178
189
|
.v-popper--theme-dropdown .v-popper__inner{
|
|
179
190
|
background:#fff;
|
|
180
191
|
color:#000;
|
|
@@ -192,17 +203,6 @@
|
|
|
192
203
|
border-color:#ddd
|
|
193
204
|
}
|
|
194
205
|
|
|
195
|
-
.v-popper--theme-tooltip .v-popper__inner{
|
|
196
|
-
background:rgba(0,0,0,.8);
|
|
197
|
-
color:#fff;
|
|
198
|
-
border-radius:6px;
|
|
199
|
-
padding:7px 12px 6px
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.v-popper--theme-tooltip .v-popper__arrow-outer{
|
|
203
|
-
border-color:#000c
|
|
204
|
-
}
|
|
205
|
-
|
|
206
206
|
*, ::before, ::after{
|
|
207
207
|
--tw-border-spacing-x:0;
|
|
208
208
|
--tw-border-spacing-y:0;
|
|
@@ -250,7 +250,11 @@
|
|
|
250
250
|
--tw-backdrop-invert: ;
|
|
251
251
|
--tw-backdrop-opacity: ;
|
|
252
252
|
--tw-backdrop-saturate: ;
|
|
253
|
-
--tw-backdrop-sepia:
|
|
253
|
+
--tw-backdrop-sepia: ;
|
|
254
|
+
--tw-contain-size: ;
|
|
255
|
+
--tw-contain-layout: ;
|
|
256
|
+
--tw-contain-paint: ;
|
|
257
|
+
--tw-contain-style:
|
|
254
258
|
}
|
|
255
259
|
|
|
256
260
|
::backdrop{
|
|
@@ -300,7 +304,11 @@
|
|
|
300
304
|
--tw-backdrop-invert: ;
|
|
301
305
|
--tw-backdrop-opacity: ;
|
|
302
306
|
--tw-backdrop-saturate: ;
|
|
303
|
-
--tw-backdrop-sepia:
|
|
307
|
+
--tw-backdrop-sepia: ;
|
|
308
|
+
--tw-contain-size: ;
|
|
309
|
+
--tw-contain-layout: ;
|
|
310
|
+
--tw-contain-paint: ;
|
|
311
|
+
--tw-contain-style:
|
|
304
312
|
}
|
|
305
313
|
|
|
306
314
|
.htw-absolute{
|
|
@@ -625,27 +633,27 @@
|
|
|
625
633
|
|
|
626
634
|
.htw-border-gray-850{
|
|
627
635
|
--tw-border-opacity:1;
|
|
628
|
-
border-color:rgb(31 31 33 / var(--tw-border-opacity))
|
|
636
|
+
border-color:rgb(31 31 33 / var(--tw-border-opacity, 1))
|
|
629
637
|
}
|
|
630
638
|
|
|
631
639
|
.htw-border-primary-500{
|
|
632
640
|
--tw-border-opacity:1;
|
|
633
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
641
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
634
642
|
}
|
|
635
643
|
|
|
636
644
|
.\!htw-bg-primary-500{
|
|
637
645
|
--tw-bg-opacity:1 !important;
|
|
638
|
-
background-color:rgb(16 185 129 / var(--tw-bg-opacity)) !important
|
|
646
|
+
background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1)) !important
|
|
639
647
|
}
|
|
640
648
|
|
|
641
649
|
.htw-bg-gray-200{
|
|
642
650
|
--tw-bg-opacity:1;
|
|
643
|
-
background-color:rgb(228 228 231 / var(--tw-bg-opacity))
|
|
651
|
+
background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))
|
|
644
652
|
}
|
|
645
653
|
|
|
646
654
|
.htw-bg-gray-50{
|
|
647
655
|
--tw-bg-opacity:1;
|
|
648
|
-
background-color:rgb(250 250 250 / var(--tw-bg-opacity))
|
|
656
|
+
background-color:rgb(250 250 250 / var(--tw-bg-opacity, 1))
|
|
649
657
|
}
|
|
650
658
|
|
|
651
659
|
.htw-bg-gray-500\/10{
|
|
@@ -658,22 +666,22 @@
|
|
|
658
666
|
|
|
659
667
|
.htw-bg-gray-700{
|
|
660
668
|
--tw-bg-opacity:1;
|
|
661
|
-
background-color:rgb(63 63 70 / var(--tw-bg-opacity))
|
|
669
|
+
background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))
|
|
662
670
|
}
|
|
663
671
|
|
|
664
672
|
.htw-bg-primary-200{
|
|
665
673
|
--tw-bg-opacity:1;
|
|
666
|
-
background-color:rgb(167 243 208 / var(--tw-bg-opacity))
|
|
674
|
+
background-color:rgb(167 243 208 / var(--tw-bg-opacity, 1))
|
|
667
675
|
}
|
|
668
676
|
|
|
669
677
|
.htw-bg-primary-500{
|
|
670
678
|
--tw-bg-opacity:1;
|
|
671
|
-
background-color:rgb(16 185 129 / var(--tw-bg-opacity))
|
|
679
|
+
background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))
|
|
672
680
|
}
|
|
673
681
|
|
|
674
682
|
.htw-bg-primary-800{
|
|
675
683
|
--tw-bg-opacity:1;
|
|
676
|
-
background-color:rgb(6 95 70 / var(--tw-bg-opacity))
|
|
684
|
+
background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))
|
|
677
685
|
}
|
|
678
686
|
|
|
679
687
|
.htw-bg-transparent{
|
|
@@ -682,7 +690,7 @@
|
|
|
682
690
|
|
|
683
691
|
.htw-bg-white{
|
|
684
692
|
--tw-bg-opacity:1;
|
|
685
|
-
background-color:rgb(255 255 255 / var(--tw-bg-opacity))
|
|
693
|
+
background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))
|
|
686
694
|
}
|
|
687
695
|
|
|
688
696
|
.htw-fill-primary-500{
|
|
@@ -748,12 +756,12 @@
|
|
|
748
756
|
|
|
749
757
|
.htw-text-gray-700{
|
|
750
758
|
--tw-text-opacity:1;
|
|
751
|
-
color:rgb(63 63 70 / var(--tw-text-opacity))
|
|
759
|
+
color:rgb(63 63 70 / var(--tw-text-opacity, 1))
|
|
752
760
|
}
|
|
753
761
|
|
|
754
762
|
.htw-text-gray-900{
|
|
755
763
|
--tw-text-opacity:1;
|
|
756
|
-
color:rgb(24 24 27 / var(--tw-text-opacity))
|
|
764
|
+
color:rgb(24 24 27 / var(--tw-text-opacity, 1))
|
|
757
765
|
}
|
|
758
766
|
|
|
759
767
|
.htw-text-inherit{
|
|
@@ -762,12 +770,12 @@
|
|
|
762
770
|
|
|
763
771
|
.htw-text-orange-500{
|
|
764
772
|
--tw-text-opacity:1;
|
|
765
|
-
color:rgb(249 115 22 / var(--tw-text-opacity))
|
|
773
|
+
color:rgb(249 115 22 / var(--tw-text-opacity, 1))
|
|
766
774
|
}
|
|
767
775
|
|
|
768
776
|
.htw-text-white{
|
|
769
777
|
--tw-text-opacity:1;
|
|
770
|
-
color:rgb(255 255 255 / var(--tw-text-opacity))
|
|
778
|
+
color:rgb(255 255 255 / var(--tw-text-opacity, 1))
|
|
771
779
|
}
|
|
772
780
|
|
|
773
781
|
.htw-opacity-50{
|
|
@@ -823,9 +831,9 @@ body {
|
|
|
823
831
|
font-size: 1.125rem;
|
|
824
832
|
}
|
|
825
833
|
|
|
826
|
-
:is(.htw-dark
|
|
834
|
+
body:is(.htw-dark *){
|
|
827
835
|
--tw-text-opacity:1;
|
|
828
|
-
color:rgb(244 244 245 / var(--tw-text-opacity))
|
|
836
|
+
color:rgb(244 244 245 / var(--tw-text-opacity, 1))
|
|
829
837
|
}
|
|
830
838
|
|
|
831
839
|
@media (min-width: 640px) {
|
|
@@ -836,12 +844,12 @@ body {
|
|
|
836
844
|
|
|
837
845
|
.focus-within\:htw-border-primary-500:focus-within{
|
|
838
846
|
--tw-border-opacity:1;
|
|
839
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
847
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
840
848
|
}
|
|
841
849
|
|
|
842
850
|
.hover\:htw-border-primary-500:hover{
|
|
843
851
|
--tw-border-opacity:1;
|
|
844
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
852
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
845
853
|
}
|
|
846
854
|
|
|
847
855
|
.hover\:htw-bg-gray-500\/20:hover{
|
|
@@ -850,22 +858,22 @@ body {
|
|
|
850
858
|
|
|
851
859
|
.hover\:htw-bg-primary-100:hover{
|
|
852
860
|
--tw-bg-opacity:1;
|
|
853
|
-
background-color:rgb(209 250 229 / var(--tw-bg-opacity))
|
|
861
|
+
background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))
|
|
854
862
|
}
|
|
855
863
|
|
|
856
864
|
.hover\:htw-bg-primary-200:hover{
|
|
857
865
|
--tw-bg-opacity:1;
|
|
858
|
-
background-color:rgb(167 243 208 / var(--tw-bg-opacity))
|
|
866
|
+
background-color:rgb(167 243 208 / var(--tw-bg-opacity, 1))
|
|
859
867
|
}
|
|
860
868
|
|
|
861
869
|
.hover\:htw-bg-primary-600:hover{
|
|
862
870
|
--tw-bg-opacity:1;
|
|
863
|
-
background-color:rgb(5 150 105 / var(--tw-bg-opacity))
|
|
871
|
+
background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))
|
|
864
872
|
}
|
|
865
873
|
|
|
866
874
|
.hover\:htw-text-primary-500:hover{
|
|
867
875
|
--tw-text-opacity:1;
|
|
868
|
-
color:rgb(16 185 129 / var(--tw-text-opacity))
|
|
876
|
+
color:rgb(16 185 129 / var(--tw-text-opacity, 1))
|
|
869
877
|
}
|
|
870
878
|
|
|
871
879
|
.hover\:htw-opacity-100:hover{
|
|
@@ -874,88 +882,88 @@ body {
|
|
|
874
882
|
|
|
875
883
|
.focus\:htw-border-primary-500:focus{
|
|
876
884
|
--tw-border-opacity:1;
|
|
877
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
885
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
878
886
|
}
|
|
879
887
|
|
|
880
888
|
.htw-group:hover .group-hover\:htw-border-primary-500{
|
|
881
889
|
--tw-border-opacity:1;
|
|
882
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
890
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
883
891
|
}
|
|
884
892
|
|
|
885
893
|
.htw-group:active .group-active\:htw-bg-gray-500\/20{
|
|
886
894
|
background-color:rgb(113 113 122 / 0.2)
|
|
887
895
|
}
|
|
888
896
|
|
|
889
|
-
|
|
897
|
+
.dark\:htw-border-white\/25:is(.htw-dark *){
|
|
890
898
|
border-color:rgb(255 255 255 / 0.25)
|
|
891
899
|
}
|
|
892
900
|
|
|
893
|
-
:is(.htw-dark
|
|
901
|
+
.dark\:htw-bg-black:is(.htw-dark *){
|
|
894
902
|
--tw-bg-opacity:1;
|
|
895
|
-
background-color:rgb(0 0 0 / var(--tw-bg-opacity))
|
|
903
|
+
background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))
|
|
896
904
|
}
|
|
897
905
|
|
|
898
|
-
|
|
906
|
+
.dark\:htw-bg-gray-600:is(.htw-dark *){
|
|
899
907
|
--tw-bg-opacity:1;
|
|
900
|
-
background-color:rgb(82 82 91 / var(--tw-bg-opacity))
|
|
908
|
+
background-color:rgb(82 82 91 / var(--tw-bg-opacity, 1))
|
|
901
909
|
}
|
|
902
910
|
|
|
903
|
-
|
|
911
|
+
.dark\:htw-bg-gray-700:is(.htw-dark *){
|
|
904
912
|
--tw-bg-opacity:1;
|
|
905
|
-
background-color:rgb(63 63 70 / var(--tw-bg-opacity))
|
|
913
|
+
background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))
|
|
906
914
|
}
|
|
907
915
|
|
|
908
|
-
|
|
916
|
+
.dark\:htw-bg-gray-750:is(.htw-dark *){
|
|
909
917
|
--tw-bg-opacity:1;
|
|
910
|
-
background-color:rgb(50 50 56 / var(--tw-bg-opacity))
|
|
918
|
+
background-color:rgb(50 50 56 / var(--tw-bg-opacity, 1))
|
|
911
919
|
}
|
|
912
920
|
|
|
913
|
-
|
|
921
|
+
.dark\:htw-bg-primary-800:is(.htw-dark *){
|
|
914
922
|
--tw-bg-opacity:1;
|
|
915
|
-
background-color:rgb(6 95 70 / var(--tw-bg-opacity))
|
|
923
|
+
background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))
|
|
916
924
|
}
|
|
917
925
|
|
|
918
|
-
:is(.htw-dark
|
|
926
|
+
.dark\:htw-text-black:is(.htw-dark *){
|
|
919
927
|
--tw-text-opacity:1;
|
|
920
|
-
color:rgb(0 0 0 / var(--tw-text-opacity))
|
|
928
|
+
color:rgb(0 0 0 / var(--tw-text-opacity, 1))
|
|
921
929
|
}
|
|
922
930
|
|
|
923
|
-
|
|
931
|
+
.dark\:htw-text-gray-100:is(.htw-dark *){
|
|
924
932
|
--tw-text-opacity:1;
|
|
925
|
-
color:rgb(244 244 245 / var(--tw-text-opacity))
|
|
933
|
+
color:rgb(244 244 245 / var(--tw-text-opacity, 1))
|
|
926
934
|
}
|
|
927
935
|
|
|
928
|
-
|
|
936
|
+
.dark\:focus-within\:htw-border-primary-500:focus-within:is(.htw-dark *){
|
|
929
937
|
--tw-border-opacity:1;
|
|
930
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
938
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
931
939
|
}
|
|
932
940
|
|
|
933
|
-
|
|
941
|
+
.dark\:hover\:htw-border-primary-500:hover:is(.htw-dark *){
|
|
934
942
|
--tw-border-opacity:1;
|
|
935
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
943
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
936
944
|
}
|
|
937
945
|
|
|
938
|
-
|
|
946
|
+
.dark\:hover\:htw-bg-primary-700:hover:is(.htw-dark *){
|
|
939
947
|
--tw-bg-opacity:1;
|
|
940
|
-
background-color:rgb(4 120 87 / var(--tw-bg-opacity))
|
|
948
|
+
background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))
|
|
941
949
|
}
|
|
942
950
|
|
|
943
|
-
|
|
951
|
+
.dark\:hover\:htw-bg-primary-800:hover:is(.htw-dark *){
|
|
944
952
|
--tw-bg-opacity:1;
|
|
945
|
-
background-color:rgb(6 95 70 / var(--tw-bg-opacity))
|
|
953
|
+
background-color:rgb(6 95 70 / var(--tw-bg-opacity, 1))
|
|
946
954
|
}
|
|
947
955
|
|
|
948
|
-
|
|
956
|
+
.dark\:hover\:htw-bg-primary-900:hover:is(.htw-dark *){
|
|
949
957
|
--tw-bg-opacity:1;
|
|
950
|
-
background-color:rgb(6 78 59 / var(--tw-bg-opacity))
|
|
958
|
+
background-color:rgb(6 78 59 / var(--tw-bg-opacity, 1))
|
|
951
959
|
}
|
|
952
960
|
|
|
953
|
-
|
|
961
|
+
.dark\:focus\:htw-border-primary-500:focus:is(.htw-dark *){
|
|
954
962
|
--tw-border-opacity:1;
|
|
955
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
963
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
956
964
|
}
|
|
957
965
|
|
|
958
|
-
.htw-group:hover
|
|
966
|
+
.htw-group:hover .group-hover\:dark\:htw-border-primary-500:is(.htw-dark *){
|
|
959
967
|
--tw-border-opacity:1;
|
|
960
|
-
border-color:rgb(16 185 129 / var(--tw-border-opacity))
|
|
968
|
+
border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))
|
|
961
969
|
}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isDark: import("vue").Ref<boolean>;
|
|
1
|
+
export declare const isDark: import("vue").Ref<boolean, boolean>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/controls",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0-alpha.1",
|
|
5
5
|
"description": "Prebuilt controls components",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Guillaume Chau"
|
|
@@ -31,34 +31,34 @@
|
|
|
31
31
|
"module": "./dist/index.es.js",
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@codemirror/commands": "^6.
|
|
34
|
+
"@codemirror/commands": "^6.7.1",
|
|
35
35
|
"@codemirror/lang-json": "^6.0.1",
|
|
36
|
-
"@codemirror/language": "^6.
|
|
37
|
-
"@codemirror/lint": "^6.4
|
|
38
|
-
"@codemirror/state": "^6.
|
|
36
|
+
"@codemirror/language": "^6.10.6",
|
|
37
|
+
"@codemirror/lint": "^6.8.4",
|
|
38
|
+
"@codemirror/state": "^6.4.1",
|
|
39
39
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
40
|
-
"@codemirror/view": "^6.
|
|
41
|
-
"@histoire/shared": "^0.
|
|
42
|
-
"@histoire/vendors": "^0.
|
|
40
|
+
"@codemirror/view": "^6.35.0",
|
|
41
|
+
"@histoire/shared": "^1.0.0-alpha.1",
|
|
42
|
+
"@histoire/vendors": "^1.0.0-alpha.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@types/node": "^
|
|
46
|
-
"@vitejs/plugin-vue": "^
|
|
47
|
-
"@vue/runtime-dom": "^3.
|
|
48
|
-
"@vue/test-utils": "^2.4.
|
|
49
|
-
"@vueuse/core": "^
|
|
50
|
-
"autoprefixer": "^10.4.
|
|
51
|
-
"concurrently": "^
|
|
52
|
-
"floating-vue": "2.
|
|
53
|
-
"jsdom": "^
|
|
54
|
-
"postcss": "^8.4.
|
|
55
|
-
"postcss-import": "^
|
|
56
|
-
"tailwindcss": "^3.
|
|
57
|
-
"typescript": "
|
|
58
|
-
"vite": "^
|
|
59
|
-
"vitest": "
|
|
60
|
-
"vue": "^3.
|
|
61
|
-
"vue-tsc": "^2.
|
|
45
|
+
"@types/node": "^22.10.1",
|
|
46
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
47
|
+
"@vue/runtime-dom": "^3.5.13",
|
|
48
|
+
"@vue/test-utils": "^2.4.6",
|
|
49
|
+
"@vueuse/core": "^12.0.0",
|
|
50
|
+
"autoprefixer": "^10.4.20",
|
|
51
|
+
"concurrently": "^9.1.0",
|
|
52
|
+
"floating-vue": "5.2.2",
|
|
53
|
+
"jsdom": "^25.0.1",
|
|
54
|
+
"postcss": "^8.4.49",
|
|
55
|
+
"postcss-import": "^16.1.0",
|
|
56
|
+
"tailwindcss": "^3.4.16",
|
|
57
|
+
"typescript": "5.6.3",
|
|
58
|
+
"vite": "^6.0.5",
|
|
59
|
+
"vitest": "0.34.6",
|
|
60
|
+
"vue": "^3.5.13",
|
|
61
|
+
"vue-tsc": "^2.1.10"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "rimraf dist && pnpm run build:css && vite build && pnpm run build:types",
|
|
@@ -5,10 +5,10 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
+
import type { Awaitable } from '@histoire/shared'
|
|
8
9
|
import { Icon } from '@iconify/vue'
|
|
9
10
|
import { useClipboard } from '@vueuse/core'
|
|
10
11
|
import { VTooltip as vTooltip } from 'floating-vue'
|
|
11
|
-
import type { Awaitable } from '@histoire/shared'
|
|
12
12
|
|
|
13
13
|
const props = defineProps<{
|
|
14
14
|
content: string | (() => Awaitable<string>)
|
|
@@ -6,9 +6,9 @@ export default {
|
|
|
6
6
|
|
|
7
7
|
<script setup lang="ts">
|
|
8
8
|
import type { ComputedRef } from 'vue'
|
|
9
|
+
import type { HstControlOption } from '../../types'
|
|
9
10
|
import { computed } from 'vue'
|
|
10
11
|
import HstWrapper from '../HstWrapper.vue'
|
|
11
|
-
import type { HstControlOption } from '../../types'
|
|
12
12
|
import HstButton from './HstButton.vue'
|
|
13
13
|
|
|
14
14
|
const props = defineProps<{
|
|
@@ -6,9 +6,9 @@ export default {
|
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
8
|
import type { ComputedRef } from 'vue'
|
|
9
|
+
import type { HstControlOption } from '../../types'
|
|
9
10
|
import { computed } from 'vue'
|
|
10
11
|
import HstWrapper from '../HstWrapper.vue'
|
|
11
|
-
import type { HstControlOption } from '../../types'
|
|
12
12
|
import HstSimpleCheckbox from './HstSimpleCheckbox.vue'
|
|
13
13
|
|
|
14
14
|
const props = defineProps<{
|
|
@@ -5,9 +5,9 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { computed, ref } from 'vue'
|
|
9
|
-
import { VTooltip as vTooltip } from 'floating-vue'
|
|
10
8
|
import type { CSSProperties } from 'vue'
|
|
9
|
+
import { VTooltip as vTooltip } from 'floating-vue'
|
|
10
|
+
import { computed, ref } from 'vue'
|
|
11
11
|
import HstCopyIcon from '../HstCopyIcon.vue'
|
|
12
12
|
|
|
13
13
|
const props = defineProps<{
|
|
@@ -5,8 +5,8 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { computed, ref, withDefaults } from 'vue'
|
|
9
8
|
import { VTooltip as vTooltip } from 'floating-vue'
|
|
9
|
+
import { computed, ref, withDefaults } from 'vue'
|
|
10
10
|
import HstCopyIcon from '../HstCopyIcon.vue'
|
|
11
11
|
|
|
12
12
|
const props = withDefaults(defineProps<{
|
|
@@ -6,20 +6,9 @@ export default {
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts" setup>
|
|
9
|
-
import { onMounted, ref, watch, watchEffect } from 'vue'
|
|
10
|
-
import { Icon } from '@iconify/vue'
|
|
11
|
-
import { VTooltip as vTooltip } from 'floating-vue'
|
|
12
|
-
import { Compartment } from '@codemirror/state'
|
|
13
9
|
import type {
|
|
14
10
|
ViewUpdate,
|
|
15
11
|
} from '@codemirror/view'
|
|
16
|
-
import {
|
|
17
|
-
EditorView,
|
|
18
|
-
highlightActiveLine,
|
|
19
|
-
highlightActiveLineGutter,
|
|
20
|
-
highlightSpecialChars,
|
|
21
|
-
keymap,
|
|
22
|
-
} from '@codemirror/view'
|
|
23
12
|
import { defaultKeymap } from '@codemirror/commands'
|
|
24
13
|
import { json } from '@codemirror/lang-json'
|
|
25
14
|
import {
|
|
@@ -31,9 +20,20 @@ import {
|
|
|
31
20
|
syntaxHighlighting,
|
|
32
21
|
} from '@codemirror/language'
|
|
33
22
|
import { lintKeymap } from '@codemirror/lint'
|
|
23
|
+
import { Compartment } from '@codemirror/state'
|
|
34
24
|
import { oneDarkHighlightStyle, oneDarkTheme } from '@codemirror/theme-one-dark'
|
|
35
|
-
import
|
|
25
|
+
import {
|
|
26
|
+
EditorView,
|
|
27
|
+
highlightActiveLine,
|
|
28
|
+
highlightActiveLineGutter,
|
|
29
|
+
highlightSpecialChars,
|
|
30
|
+
keymap,
|
|
31
|
+
} from '@codemirror/view'
|
|
32
|
+
import { Icon } from '@iconify/vue'
|
|
33
|
+
import { VTooltip as vTooltip } from 'floating-vue'
|
|
34
|
+
import { onMounted, ref, watch, watchEffect } from 'vue'
|
|
36
35
|
import { isDark } from '../../utils'
|
|
36
|
+
import HstWrapper from '../HstWrapper.vue'
|
|
37
37
|
|
|
38
38
|
const props = defineProps<{
|
|
39
39
|
title?: string
|
|
@@ -6,9 +6,9 @@ export default {
|
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
8
|
import type { ComputedRef } from 'vue'
|
|
9
|
+
import type { HstControlOption } from '../../types'
|
|
9
10
|
import { computed, ref } from 'vue'
|
|
10
11
|
import HstWrapper from '../HstWrapper.vue'
|
|
11
|
-
import type { HstControlOption } from '../../types'
|
|
12
12
|
|
|
13
13
|
const props = defineProps<{
|
|
14
14
|
title?: string
|
|
@@ -5,11 +5,11 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { Dropdown as VDropdown } from 'floating-vue'
|
|
9
8
|
import type { ComputedRef } from 'vue'
|
|
10
|
-
import { computed } from 'vue'
|
|
11
|
-
import { Icon } from '@iconify/vue'
|
|
12
9
|
import type { HstControlOption } from '../../types'
|
|
10
|
+
import { Icon } from '@iconify/vue'
|
|
11
|
+
import { Dropdown as VDropdown } from 'floating-vue'
|
|
12
|
+
import { computed } from 'vue'
|
|
13
13
|
|
|
14
14
|
const props = defineProps<{
|
|
15
15
|
modelValue: string
|
|
@@ -5,8 +5,8 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import HstWrapper from '../HstWrapper.vue'
|
|
9
8
|
import type { HstControlOption } from '../../types'
|
|
9
|
+
import HstWrapper from '../HstWrapper.vue'
|
|
10
10
|
import CustomSelect from './CustomSelect.vue'
|
|
11
11
|
|
|
12
12
|
defineProps<{
|
|
@@ -6,9 +6,9 @@ export default {
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts" setup>
|
|
9
|
-
import { computed, ref } from 'vue'
|
|
10
9
|
import type { CSSProperties } from 'vue'
|
|
11
10
|
import { VTooltip as vTooltip } from 'floating-vue'
|
|
11
|
+
import { computed, ref } from 'vue'
|
|
12
12
|
import HstWrapper from '../HstWrapper.vue'
|
|
13
13
|
|
|
14
14
|
const props = defineProps<{
|
package/src/index.ts
CHANGED
|
@@ -2,18 +2,18 @@ import HstButtonVue from './components/button/HstButton.vue'
|
|
|
2
2
|
import HstButtonGroupVue from './components/button/HstButtonGroup.vue'
|
|
3
3
|
import HstCheckboxVue from './components/checkbox/HstCheckbox.vue'
|
|
4
4
|
import HstCheckboxListVue from './components/checkbox/HstCheckboxList.vue'
|
|
5
|
-
import
|
|
6
|
-
import HstNumberVue from './components/number/HstNumber.vue'
|
|
7
|
-
import HstSliderVue from './components/slider/HstSlider.vue'
|
|
8
|
-
import HstTextareaVue from './components/textarea/HstTextarea.vue'
|
|
9
|
-
import HstSelectVue from './components/select/HstSelect.vue'
|
|
5
|
+
import HstColorSelectVue from './components/colorselect/HstColorSelect.vue'
|
|
10
6
|
import HstColorShadesVue from './components/design-tokens/HstColorShades.vue'
|
|
11
|
-
import HstTokenListVue from './components/design-tokens/HstTokenList.vue'
|
|
12
7
|
import HstTokenGridVue from './components/design-tokens/HstTokenGrid.vue'
|
|
8
|
+
import HstTokenListVue from './components/design-tokens/HstTokenList.vue'
|
|
13
9
|
import HstCopyIconVue from './components/HstCopyIcon.vue'
|
|
14
|
-
import HstRadioVue from './components/radio/HstRadio.vue'
|
|
15
10
|
import HstJsonVue from './components/json/HstJson.vue'
|
|
16
|
-
import
|
|
11
|
+
import HstNumberVue from './components/number/HstNumber.vue'
|
|
12
|
+
import HstRadioVue from './components/radio/HstRadio.vue'
|
|
13
|
+
import HstSelectVue from './components/select/HstSelect.vue'
|
|
14
|
+
import HstSliderVue from './components/slider/HstSlider.vue'
|
|
15
|
+
import HstTextVue from './components/text/HstText.vue'
|
|
16
|
+
import HstTextareaVue from './components/textarea/HstTextarea.vue'
|
|
17
17
|
|
|
18
18
|
export const HstButton = HstButtonVue
|
|
19
19
|
export const HstButtonGroup = HstButtonGroupVue
|
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.htw-range-input::-webkit-slider-thumb{height:.75rem;width:.75rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.htw-dark .htw-range-input)::-webkit-slider-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-webkit-slider-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.htw-range-input::-moz-range-thumb{height:.75rem;width:.75rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.htw-dark .htw-range-input)::-moz-range-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-moz-range-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.v-popper{line-height:0}.htw-dark .v-popper--theme-dropdown .v-popper__inner{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-inner{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-outer{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity))}.v-popper--theme-dropdown.v-popper__popper--show-from .v-popper__wrapper{transform:scale(.75)}.v-popper--theme-dropdown.v-popper__popper--show-to .v-popper__wrapper{transform:none;transition:transform .15s cubic-bezier(0,1,.5,1)}.v-popper__popper:focus-visible{outline:none}.htw-bind-col-size{grid-template-columns:repeat(auto-fill,minmax(var(--histoire-col-size),1fr))}.__histoire-json-code[data-v-935458a7] .cm-editor{height:100%;min-width:280px}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Histoire</title>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<meta name="description" content="">
|
|
8
|
-
<link rel="stylesheet" href="/assets/style.7657d2ac.css">
|
|
9
|
-
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<div id="app"></div>
|
|
13
|
-
<script type="module" src="/assets/sandbox.2c60450a.js"></script>
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as s}from"./index.58f51dd0.js";import{o as r,g as o,b as c}from"./vendor.70a554f6.js";const t={},a={class:"htw-flex htw-flex-col htw-items-center htw-justify-center htw-space-y-4 htw-py-12 htw-h-full htw-text-center htw-text-gray-400 htw-text-lg"};function n(e,l){return r(),o("div",a,[c(e.$slots,"default")])}t.__file="../histoire/dist/client/app/components/base/BaseEmpty.vue";var f=s(t,[["render",n]]);export{f as B};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as o,c as a}from"./global-components.84d0ab22.js";import{d as r,f as c,o as i,g as n,a as h,u as l}from"./vendor.70a554f6.js";var f="/assets/histoire.8af7bd1f.svg";const m={class:"htw-flex htw-items-center htw-justify-center htw-h-full"},u=["src"],p=r({setup(_){const s=c(()=>{var e,t;return((t=(e=o.theme)==null?void 0:e.logo)==null?void 0:t.square)?a.square:f});return(e,t)=>(i(),n("div",m,[h("img",{src:l(s),alt:"Logo",class:"htw-w-64 htw-h-64 htw-opacity-25"},null,8,u)]))}});p.__file="../histoire/dist/client/app/components/HomeView.vue";export{p as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var L=Object.defineProperty,N=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var b=(t,e,o)=>e in t?L(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,y=(t,e)=>{for(var o in e||(e={}))E.call(e,o)&&b(t,o,e[o]);if(k)for(var o of k(e))K.call(e,o)&&b(t,o,e[o]);return t},V=(t,e)=>N(t,z(e));import{d as S,p as u,f as x,q as T,o as p,g,a as i,n as C,u as q,b as M,e as $,y as B,c as Z,w as h,h as w,Z as U,r as H}from"./vendor.70a554f6.js";const j={class:"htw-text-white htw-w-[16px] htw-h-[16px] htw-relative"},A={width:"16",height:"16",viewBox:"0 0 24 24",class:"htw-relative htw-z-10"},D=["stroke-dasharray","stroke-dashoffset"],F={name:"HstCheckbox"},m=S(V(y({},F),{props:{modelValue:{type:Boolean,default:!1}},emits:{"update:modelValue":t=>!0},setup(t,{emit:e}){const o=t;function c(){e("update:modelValue",!o.modelValue),f.value=!0}const r=u(),l=u(0),s=x(()=>o.modelValue?1:0),n=x(()=>(1-s.value)*l.value),f=u(!1);return T(r,v=>{var a,d,_;l.value=(_=(d=(a=r.value).getTotalLength)==null?void 0:d.call(a))!=null?_:21.21}),(v,a)=>(p(),g("div",{role:"checkbox",tabindex:"0",class:"htw-flex htw-items-center htw-gap-2 htw-select-none htw-px-4 htw-py-3 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700",onClick:a[0]||(a[0]=d=>c()),onKeydown:[a[1]||(a[1]=$(B(d=>c(),["prevent"]),["enter"])),a[2]||(a[2]=$(B(d=>c(),["prevent"]),["space"]))]},[i("div",j,[i("div",{class:C(["htw-border group-active:htw-bg-gray-500/20 htw-rounded-sm htw-box-border htw-absolute htw-inset-0 htw-transition-border htw-duration-150 htw-ease-out",[t.modelValue?"htw-border-primary-500 htw-border-8":"htw-border-gray-300 dark:htw-border-gray-500 htw-delay-150"]])},null,2),(p(),g("svg",A,[i("path",{ref_key:"path",ref:r,d:"m 4 12 l 5 5 l 10 -10",fill:"none",class:C(["htw-stroke-white htw-stroke-2 htw-duration-200 htw-ease-in-out",[f.value?"htw-transition-all":"htw-transition-none",{"htw-delay-150":t.modelValue}]]),"stroke-dasharray":l.value,"stroke-dashoffset":q(n)},null,10,D)]))]),M(v.$slots,"default")],32))}}));m.__file="src/components/checkbox/HstCheckbox.vue";const G=U(" Label "),I=U(" Label "),J=S({setup(t){function e(){return{checked:!1}}return(o,c)=>{const r=H("Variant"),l=H("Story");return p(),Z(l,{title:"HstCheckbox"},{default:h(()=>[w(r,{title:"playground","init-state":e},{default:h(({state:s})=>[w(m,{modelValue:s.checked,"onUpdate:modelValue":n=>s.checked=n},{default:h(()=>[G]),_:2},1032,["modelValue","onUpdate:modelValue"])]),controls:h(({state:s})=>[w(m,{modelValue:s.checked,"onUpdate:modelValue":n=>s.checked=n},{default:h(()=>[I]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:1})]),_:1})}}});J.__file="src/components/checkbox/HstCheckbox.story.vue";export{J as default};
|