@vygruppen/spor-react 13.3.0 → 13.3.2

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,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@13.3.0 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@13.3.2 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -11,18 +11,18 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
+ ESM dist/index.mjs 348.86 KB
14
15
  ESM dist/icons/index.mjs 110.00 B
15
- ESM dist/index.mjs 349.79 KB
16
+ ESM dist/index.mjs.map 741.95 KB
16
17
  ESM dist/icons/index.mjs.map 157.00 B
17
- ESM dist/index.mjs.map 743.47 KB
18
- ESM ⚡️ Build success in 2804ms
19
- CJS dist/index.cjs 374.32 KB
18
+ ESM ⚡️ Build success in 2868ms
19
+ CJS dist/index.cjs 373.39 KB
20
20
  CJS dist/icons/index.cjs 381.00 B
21
- CJS dist/index.cjs.map 743.47 KB
22
21
  CJS dist/icons/index.cjs.map 157.00 B
23
- CJS ⚡️ Build success in 2805ms
24
- DTS ⚡️ Build success in 21436ms
22
+ CJS dist/index.cjs.map 741.95 KB
23
+ CJS ⚡️ Build success in 2869ms
24
+ DTS ⚡️ Build success in 21449ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
- DTS dist/index.d.ts 150.54 KB
26
+ DTS dist/index.d.ts 150.59 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
28
- DTS dist/index.d.cts 150.54 KB
28
+ DTS dist/index.d.cts 150.59 KB
@@ -1,8 +1,8 @@
1
1
 
2
- > @vygruppen/spor-react@13.3.0 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@13.3.2 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
- ◇ injected env (0) from .env // tip: ⌘ multiple files { path: ['.env.local', '.env'] }
5
+ ◇ injected env (0) from .env // tip: ⌘ enable debugging { debug: true }
6
6
  ┌ Chakra CLI ⚡️
7
7
  [?25l│
8
8
  ◒ Generating conditions types...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 13.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b1e5186: Add disabled colorPalette to badge
8
+ - d6eddea: Add Chakra's AccordionItem-props to the ExpandableItem
9
+ - Updated dependencies [0a35c66]
10
+ - @vygruppen/spor-design-tokens@5.0.4
11
+
12
+ ## 13.3.1
13
+
14
+ ### Patch Changes
15
+
16
+ - 55e243a: add maxWidth to Tooltip
17
+ - b365786: Update focus colour for date time segments
18
+ - @vygruppen/spor-icon-react@5.0.0
19
+
3
20
  ## 13.3.0
4
21
 
5
22
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -699,74 +699,52 @@ var badgeRecipie = react.defineRecipe({
699
699
  neutral: {
700
700
  backgroundColor: "surface",
701
701
  color: "text",
702
- "& svg": {
703
- color: "icon"
704
- }
702
+ "& svg": { color: "icon" }
705
703
  },
706
704
  grey: {
707
705
  backgroundColor: "surface.neutral",
708
706
  color: "text.neutral",
709
- "& svg": {
710
- color: "icon.neutral"
711
- }
707
+ "& svg": { color: "icon.neutral" }
712
708
  },
713
709
  green: {
714
710
  backgroundColor: "surface.success",
715
711
  color: "text.success",
716
- "& svg": {
717
- color: "icon.success"
718
- }
712
+ "& svg": { color: "icon.success" }
719
713
  },
720
714
  blue: {
721
715
  backgroundColor: "surface.info",
722
716
  color: "text.info",
723
- "& svg": {
724
- color: "icon.info"
725
- }
717
+ "& svg": { color: "icon.info" }
726
718
  },
727
719
  cream: {
728
720
  backgroundColor: "surface.warning",
729
721
  color: "text.warning",
730
- "& svg": {
731
- color: "icon.warning"
732
- }
722
+ "& svg": { color: "icon.warning" }
733
723
  },
734
724
  yellow: {
735
725
  backgroundColor: "surface.notice",
736
726
  color: "text.notice",
737
- "& svg": {
738
- color: "icon.notice"
739
- }
727
+ "& svg": { color: "icon.notice" }
740
728
  },
741
729
  orange: {
742
730
  backgroundColor: "surface.caution",
743
731
  color: "text.caution",
744
- "& svg": {
745
- color: "icon.caution"
746
- }
732
+ "& svg": { color: "icon.caution" }
747
733
  },
748
734
  red: {
749
735
  backgroundColor: "surface.critical",
750
736
  color: "text.critical",
751
- "& svg": {
752
- color: "icon.critical"
753
- }
737
+ "& svg": { color: "icon.critical" }
754
738
  },
755
739
  brightRed: {
756
- backgroundColor: {
757
- _light: "brightRed",
758
- _dark: "brightRed"
759
- },
760
- color: {
761
- _light: "pink",
762
- _dark: "pink"
763
- },
764
- "& svg": {
765
- color: {
766
- _light: "pink",
767
- _dark: "pink"
768
- }
769
- }
740
+ backgroundColor: { _light: "brightRed", _dark: "brightRed" },
741
+ color: { _light: "pink", _dark: "pink" },
742
+ "& svg": { color: { _light: "pink", _dark: "pink" } }
743
+ },
744
+ disabled: {
745
+ backgroundColor: "surface.disabled",
746
+ color: "text.disabled",
747
+ "& svg": { color: "icon.disabled" }
770
748
  }
771
749
  },
772
750
  size: {
@@ -792,11 +770,7 @@ var badgeRecipie = react.defineRecipe({
792
770
  borderRadius: "xs"
793
771
  }
794
772
  },
795
- attached: {
796
- true: {
797
- borderBottomRadius: "none"
798
- }
799
- },
773
+ attached: { true: { borderBottomRadius: "none" } },
800
774
  inverted: { true: {} }
801
775
  },
802
776
  defaultVariants: {
@@ -810,60 +784,27 @@ var badgeRecipie = react.defineRecipe({
810
784
  colorPalette: "blue",
811
785
  inverted: true,
812
786
  css: {
813
- backgroundColor: {
814
- _light: "darkBlue",
815
- _dark: "lightBlue"
816
- },
817
- color: {
818
- _light: "icyBlue",
819
- _dark: "royal"
820
- },
821
- "& svg": {
822
- color: {
823
- _light: "royal",
824
- _dark: "icyBlue"
825
- }
826
- }
787
+ backgroundColor: { _light: "darkBlue", _dark: "lightBlue" },
788
+ color: { _light: "icyBlue", _dark: "royal" },
789
+ "& svg": { color: { _light: "royal", _dark: "icyBlue" } }
827
790
  }
828
791
  },
829
792
  {
830
793
  colorPalette: "green",
831
794
  inverted: true,
832
795
  css: {
833
- backgroundColor: {
834
- _light: "darkTeal",
835
- _dark: "seaMist"
836
- },
837
- color: {
838
- _light: "mint",
839
- _dark: "jungle"
840
- },
841
- "& svg": {
842
- color: {
843
- _light: "mint",
844
- _dark: "jungle"
845
- }
846
- }
796
+ backgroundColor: { _light: "darkTeal", _dark: "seaMist" },
797
+ color: { _light: "mint", _dark: "jungle" },
798
+ "& svg": { color: { _light: "mint", _dark: "jungle" } }
847
799
  }
848
800
  },
849
801
  {
850
802
  colorPalette: "grey",
851
803
  inverted: true,
852
804
  css: {
853
- backgroundColor: {
854
- _light: "carbon",
855
- _dark: "platinum"
856
- },
857
- color: {
858
- _light: "white",
859
- _dark: "darkGrey"
860
- },
861
- "& svg": {
862
- color: {
863
- _light: "white",
864
- _dark: "darkGrey"
865
- }
866
- }
805
+ backgroundColor: { _light: "carbon", _dark: "platinum" },
806
+ color: { _light: "white", _dark: "darkGrey" },
807
+ "& svg": { color: { _light: "white", _dark: "darkGrey" } }
867
808
  }
868
809
  },
869
810
  {
@@ -871,80 +812,36 @@ var badgeRecipie = react.defineRecipe({
871
812
  colorPalette: "cream",
872
813
  inverted: true,
873
814
  css: {
874
- backgroundColor: {
875
- _light: "coffee",
876
- _dark: "blonde"
877
- },
878
- color: {
879
- _light: "cornsilk",
880
- _dark: "coffee"
881
- },
882
- "& svg": {
883
- color: {
884
- _light: "cornsilk",
885
- _dark: "coffee"
886
- }
887
- }
815
+ backgroundColor: { _light: "coffee", _dark: "blonde" },
816
+ color: { _light: "cornsilk", _dark: "coffee" },
817
+ "& svg": { color: { _light: "cornsilk", _dark: "coffee" } }
888
818
  }
889
819
  },
890
820
  {
891
821
  colorPalette: "yellow",
892
822
  inverted: true,
893
823
  css: {
894
- backgroundColor: {
895
- _light: "bronze",
896
- _dark: "banana"
897
- },
898
- color: {
899
- _light: "cornsilk",
900
- _dark: "coffee"
901
- },
902
- "& svg": {
903
- color: {
904
- _light: "cornsilk",
905
- _dark: "coffee"
906
- }
907
- }
824
+ backgroundColor: { _light: "bronze", _dark: "banana" },
825
+ color: { _light: "cornsilk", _dark: "coffee" },
826
+ "& svg": { color: { _light: "cornsilk", _dark: "coffee" } }
908
827
  }
909
828
  },
910
829
  {
911
830
  colorPalette: "orange",
912
831
  inverted: true,
913
832
  css: {
914
- backgroundColor: {
915
- _light: "wood",
916
- _dark: "champagne"
917
- },
918
- color: {
919
- _light: "bisque",
920
- _dark: "wood"
921
- },
922
- "& svg": {
923
- color: {
924
- _light: "bisque",
925
- _dark: "wood"
926
- }
927
- }
833
+ backgroundColor: { _light: "wood", _dark: "champagne" },
834
+ color: { _light: "bisque", _dark: "wood" },
835
+ "& svg": { color: { _light: "bisque", _dark: "wood" } }
928
836
  }
929
837
  },
930
838
  {
931
839
  colorPalette: "red",
932
840
  inverted: true,
933
841
  css: {
934
- backgroundColor: {
935
- _light: "burgundy",
936
- _dark: "lightRed"
937
- },
938
- color: {
939
- _light: "pink",
940
- _dark: "maroon"
941
- },
942
- "& svg": {
943
- color: {
944
- _light: "pink",
945
- _dark: "maroon"
946
- }
947
- }
842
+ backgroundColor: { _light: "burgundy", _dark: "lightRed" },
843
+ color: { _light: "pink", _dark: "maroon" },
844
+ "& svg": { color: { _light: "pink", _dark: "maroon" } }
948
845
  }
949
846
  },
950
847
  {
@@ -952,20 +849,9 @@ var badgeRecipie = react.defineRecipe({
952
849
  colorPalette: "neutral",
953
850
  inverted: true,
954
851
  css: {
955
- backgroundColor: {
956
- _light: "ink",
957
- _dark: "white"
958
- },
959
- color: {
960
- _light: "white",
961
- _dark: "darkGrey"
962
- },
963
- "& svg": {
964
- color: {
965
- _light: "white",
966
- _dark: "darkGrey"
967
- }
968
- }
852
+ backgroundColor: { _light: "ink", _dark: "white" },
853
+ color: { _light: "white", _dark: "darkGrey" },
854
+ "& svg": { color: { _light: "white", _dark: "darkGrey" } }
969
855
  }
970
856
  }
971
857
  ]
@@ -9070,7 +8956,7 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
9070
8956
  },
9071
8957
  dateTimeSegment: {
9072
8958
  _focus: {
9073
- backgroundColor: "surface.ghost.active",
8959
+ backgroundColor: "surface.floating.active",
9074
8960
  color: "text"
9075
8961
  }
9076
8962
  },
@@ -11070,6 +10956,7 @@ var popoverSlotRecipe = react.defineSlotRecipe({
11070
10956
  outline: "0",
11071
10957
  transformOrigin: "var(--transform-origin)",
11072
10958
  maxHeight: "var(--available-height)",
10959
+ maxWidth: "var(--available-width)",
11073
10960
  _open: {
11074
10961
  animationStyle: "scale-fade-in",
11075
10962
  animationDuration: "fast"