jvetrau-ds 0.2.8 → 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/components/flip-list/flip-list.cjs +29 -15
  2. package/components/flip-list/flip-list.cjs.map +1 -1
  3. package/components/flip-list/flip-list.css +64 -31
  4. package/components/flip-list/flip-list.d.ts +2 -0
  5. package/components/flip-list/flip-list.js +28 -15
  6. package/components/flip-list/flip-list.js.map +1 -1
  7. package/components/index.cjs +1 -1
  8. package/components/index.d.ts +4 -4
  9. package/components/index.js +1 -1
  10. package/components/input/index.cjs +1 -10
  11. package/components/input/index.d.ts +2 -2
  12. package/components/input/index.js +1 -1
  13. package/components/input/input.cjs +12 -11
  14. package/components/input/input.cjs.map +1 -1
  15. package/components/input/input.d.ts +2 -2
  16. package/components/input/input.js +12 -8
  17. package/components/input/input.js.map +1 -1
  18. package/components/select/select.cjs +12 -4
  19. package/components/select/select.cjs.map +1 -1
  20. package/components/select/select.css +17 -1
  21. package/components/select/select.d.ts +2 -0
  22. package/components/select/select.js +12 -4
  23. package/components/select/select.js.map +1 -1
  24. package/components/textarea/textarea.cjs +68 -4
  25. package/components/textarea/textarea.cjs.map +1 -1
  26. package/components/textarea/textarea.css +25 -0
  27. package/components/textarea/textarea.d.ts +3 -0
  28. package/components/textarea/textarea.js +68 -4
  29. package/components/textarea/textarea.js.map +1 -1
  30. package/icons/assets/locked.cjs +14 -0
  31. package/icons/assets/locked.cjs.map +1 -0
  32. package/icons/assets/locked.d.ts +2 -0
  33. package/icons/assets/locked.js +12 -0
  34. package/icons/assets/locked.js.map +1 -0
  35. package/icons/manifest.cjs +6 -0
  36. package/icons/manifest.cjs.map +1 -1
  37. package/icons/manifest.d.ts +5 -0
  38. package/icons/manifest.js +6 -0
  39. package/icons/manifest.js.map +1 -1
  40. package/index.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/styles.css +106 -32
package/styles.css CHANGED
@@ -2758,7 +2758,7 @@
2758
2758
  --flip-list-open-content-gap:
2759
2759
  var(--font-h2-margin);
2760
2760
  --flip-list-trigger-column-gap:
2761
- var(--margin-item);
2761
+ var(--margin-icon);
2762
2762
  --flip-list-scroll-margin-block-start:
2763
2763
  0px;
2764
2764
 
@@ -2831,74 +2831,92 @@
2831
2831
  /* motion */
2832
2832
  }
2833
2833
 
2834
- .flip-list__trigger {
2834
+ .flip-list__status {
2835
+ /* color */
2836
+
2837
+ /* typography */
2838
+
2839
+ /* size */
2840
+ --flip-list-status-gap:
2841
+ var(--margin-tag);
2842
+
2843
+ display: block;
2844
+ align-self: flex-start;
2845
+ min-width: 0;
2846
+ max-width: 100%;
2847
+ margin:
2848
+ 0
2849
+ 0
2850
+ var(--flip-list-status-gap)
2851
+ 0;
2852
+
2853
+ /* border */
2854
+
2855
+ /* depth */
2856
+
2857
+ /* motion */
2858
+ }
2859
+
2860
+ .flip-list__heading {
2835
2861
  /* color */
2836
- background: transparent;
2837
- color: var(--flip-list-trigger-color);
2838
2862
 
2839
2863
  /* typography */
2840
- font: inherit;
2841
- text-align: left;
2842
2864
 
2843
2865
  /* size */
2844
2866
  display: flex;
2845
2867
  align-items: center;
2846
- justify-content: space-between;
2847
2868
  gap: var(--flip-list-trigger-column-gap);
2848
2869
  width: 100%;
2849
2870
  min-width: 0;
2850
2871
  max-width: 100%;
2851
- padding: 0;
2852
2872
 
2853
2873
  /* border */
2854
- border: 0;
2855
2874
 
2856
2875
  /* depth */
2857
2876
 
2858
2877
  /* motion */
2859
- cursor: pointer;
2860
2878
  }
2861
2879
 
2862
- .flip-list__trigger:focus-visible {
2880
+ .flip-list__trigger {
2863
2881
  /* color */
2882
+ background: transparent;
2883
+ color: var(--flip-list-trigger-color);
2864
2884
 
2865
2885
  /* typography */
2886
+ font: inherit;
2887
+ text-align: left;
2866
2888
 
2867
2889
  /* size */
2890
+ display: flex;
2891
+ flex: 0 1 auto;
2892
+ align-items: center;
2893
+ min-width: 0;
2894
+ max-width: 100%;
2895
+ padding: 0;
2868
2896
 
2869
2897
  /* border */
2870
- outline:
2871
- var(--size-border-width-focus)
2872
- solid
2873
- currentColor;
2874
- outline-offset:
2875
- var(--size-border-offset-focus);
2898
+ border: 0;
2876
2899
 
2877
2900
  /* depth */
2878
2901
 
2879
2902
  /* motion */
2903
+ cursor: pointer;
2880
2904
  }
2881
2905
 
2882
- .flip-list__status {
2906
+ .flip-list__trigger:focus-visible {
2883
2907
  /* color */
2884
2908
 
2885
2909
  /* typography */
2886
2910
 
2887
2911
  /* size */
2888
- --flip-list-status-gap:
2889
- var(--margin-tag);
2890
-
2891
- display: block;
2892
- align-self: flex-start;
2893
- min-width: 0;
2894
- max-width: 100%;
2895
- margin:
2896
- 0
2897
- 0
2898
- var(--flip-list-status-gap)
2899
- 0;
2900
2912
 
2901
2913
  /* border */
2914
+ outline:
2915
+ var(--size-border-width-focus)
2916
+ solid
2917
+ currentColor;
2918
+ outline-offset:
2919
+ var(--size-border-offset-focus);
2902
2920
 
2903
2921
  /* depth */
2904
2922
 
@@ -2927,7 +2945,6 @@
2927
2945
  text-underline-offset: from-font;
2928
2946
 
2929
2947
  /* size */
2930
- flex: 1 1 auto;
2931
2948
  min-width: 0;
2932
2949
  max-width: 100%;
2933
2950
  overflow-wrap: anywhere;
@@ -2955,6 +2972,21 @@
2955
2972
  /* motion */
2956
2973
  }
2957
2974
 
2975
+ .flip-list__status-icon {
2976
+ /* color */
2977
+
2978
+ /* typography */
2979
+
2980
+ /* size */
2981
+ flex: 0 0 auto;
2982
+
2983
+ /* border */
2984
+
2985
+ /* depth */
2986
+
2987
+ /* motion */
2988
+ }
2989
+
2958
2990
  .flip-list__meta {
2959
2991
  /* color */
2960
2992
  color: var(--flip-list-meta-color);
@@ -2976,6 +3008,7 @@
2976
3008
  flex: 0 0 auto;
2977
3009
  min-width: 0;
2978
3010
  max-width: 100%;
3011
+ margin-left: auto;
2979
3012
 
2980
3013
  /* border */
2981
3014
 
@@ -4264,7 +4297,7 @@
4264
4297
 
4265
4298
  position: relative;
4266
4299
  display: inline-block;
4267
- width: 100%;
4300
+ box-sizing: border-box;
4268
4301
 
4269
4302
  /* border */
4270
4303
  --select-border-width: var(--size-border-width-base);
@@ -4285,6 +4318,21 @@
4285
4318
  --select-transition-duration: 0.2s;
4286
4319
  }
4287
4320
 
4321
+ .select--width-short {
4322
+ /* size */
4323
+ width: fit-content;
4324
+ }
4325
+
4326
+ .select--width-default {
4327
+ /* size */
4328
+ width: 400px;
4329
+ }
4330
+
4331
+ .select--width-max {
4332
+ /* size */
4333
+ width: 100%;
4334
+ }
4335
+
4288
4336
  .select__field {
4289
4337
  /* color */
4290
4338
  background: var(--select-bg);
@@ -4295,6 +4343,7 @@
4295
4343
  letter-spacing: inherit;
4296
4344
 
4297
4345
  /* size */
4346
+ box-sizing: border-box;
4298
4347
  width: 100%;
4299
4348
  height: var(--select-height);
4300
4349
  padding-left: var(--select-padding-x);
@@ -4700,6 +4749,7 @@
4700
4749
  --textarea-padding-x: var(--padding-control-horz);
4701
4750
  --textarea-padding-y: var(--padding-control-horz);
4702
4751
 
4752
+ box-sizing: border-box;
4703
4753
  min-height: var(--textarea-min-height);
4704
4754
  padding: var(--textarea-padding-y) var(--textarea-padding-x);
4705
4755
 
@@ -4729,6 +4779,30 @@
4729
4779
  background-color var(--textarea-transition-duration) ease;
4730
4780
  }
4731
4781
 
4782
+ .textarea--width-short {
4783
+ /* size */
4784
+ width: auto;
4785
+ }
4786
+
4787
+ .textarea--width-default {
4788
+ /* size */
4789
+ width: 400px;
4790
+ }
4791
+
4792
+ .textarea--width-max {
4793
+ /* size */
4794
+ width: 100%;
4795
+ }
4796
+
4797
+ .textarea--auto-grow {
4798
+ /* size */
4799
+ height: var(--textarea-auto-height);
4800
+
4801
+ /* motion */
4802
+ overflow-y: hidden;
4803
+ resize: none;
4804
+ }
4805
+
4732
4806
  .textarea::placeholder {
4733
4807
  color: var(--textarea-placeholder);
4734
4808
  }