@box/blueprint-web 12.111.0 → 12.112.0

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.
@@ -0,0 +1,22 @@
1
+ import { type ReactNode } from 'react';
2
+ declare enum TypographyOption {
3
+ lato = "lato",
4
+ inter = "inter"
5
+ }
6
+ /**
7
+ * Blueprint configuration options dictionary.
8
+ * Import this to access all available configuration values.
9
+ */
10
+ export declare const BlueprintConfigurationOptions: {
11
+ readonly typography: typeof TypographyOption;
12
+ };
13
+ export interface BlueprintConfiguration {
14
+ typography: TypographyOption;
15
+ }
16
+ export declare const BlueprintConfigurationContext: import("react").Context<BlueprintConfiguration>;
17
+ export interface BlueprintConfigurationProviderProps {
18
+ children: ReactNode;
19
+ typography?: TypographyOption;
20
+ }
21
+ export declare const BlueprintConfigurationProvider: ({ children, typography, }: BlueprintConfigurationProviderProps) => import("react/jsx-runtime").JSX.Element;
22
+ export {};
@@ -0,0 +1,32 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { createContext, useMemo } from 'react';
3
+
4
+ var TypographyOption;
5
+ (function (TypographyOption) {
6
+ TypographyOption["lato"] = "lato";
7
+ TypographyOption["inter"] = "inter";
8
+ })(TypographyOption || (TypographyOption = {}));
9
+ /**
10
+ * Blueprint configuration options dictionary.
11
+ * Import this to access all available configuration values.
12
+ */
13
+ const BlueprintConfigurationOptions = {
14
+ typography: TypographyOption
15
+ };
16
+ const BlueprintConfigurationContext = /*#__PURE__*/createContext({
17
+ typography: BlueprintConfigurationOptions.typography.lato
18
+ });
19
+ const BlueprintConfigurationProvider = ({
20
+ children,
21
+ typography = BlueprintConfigurationOptions.typography.lato
22
+ }) => {
23
+ const value = useMemo(() => ({
24
+ typography
25
+ }), [typography]);
26
+ return jsx(BlueprintConfigurationContext.Provider, {
27
+ value: value,
28
+ children: children
29
+ });
30
+ };
31
+
32
+ export { BlueprintConfigurationContext, BlueprintConfigurationOptions, BlueprintConfigurationProvider };
@@ -0,0 +1,2 @@
1
+ export { BlueprintConfigurationOptions, BlueprintConfigurationProvider } from './blueprint-configuration-context';
2
+ export { useBlueprintConfiguration } from './useBlueprintConfiguration';
@@ -0,0 +1 @@
1
+ export declare const useBlueprintConfiguration: () => import("./blueprint-configuration-context").BlueprintConfiguration;
@@ -0,0 +1,8 @@
1
+ import { useContext } from 'react';
2
+ import { BlueprintConfigurationContext } from './blueprint-configuration-context.js';
3
+
4
+ const useBlueprintConfiguration = () => {
5
+ return useContext(BlueprintConfigurationContext);
6
+ };
7
+
8
+ export { useBlueprintConfiguration };
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"container":"bp_breadcrumb_module_container--59910","breadcrumb":"bp_breadcrumb_module_breadcrumb--59910","pageLink":"bp_breadcrumb_module_pageLink--59910","linkWithHover":"bp_breadcrumb_module_linkWithHover--59910","dropdownContent":"bp_breadcrumb_module_dropdownContent--59910"};
2
+ var styles = {"container":"bp_breadcrumb_module_container--ee92d","breadcrumb":"bp_breadcrumb_module_breadcrumb--ee92d","pageLink":"bp_breadcrumb_module_pageLink--ee92d","linkWithHover":"bp_breadcrumb_module_linkWithHover--ee92d","dropdownContent":"bp_breadcrumb_module_dropdownContent--ee92d"};
3
3
 
4
4
  export { styles as default };
@@ -603,37 +603,37 @@
603
603
  color:#0000;
604
604
  opacity:0;
605
605
  }
606
- .bp_text_module_textReset--3521c{
606
+ .bp_text_module_textReset--0a70b{
607
607
  margin:0;
608
608
  text-align:inherit;
609
609
  }
610
- .bp_text_module_textReset--3521c.bp_text_module_breakWord--3521c{
610
+ .bp_text_module_textReset--0a70b.bp_text_module_breakWord--0a70b{
611
611
  overflow-wrap:break-word;
612
612
  }
613
- .bp_text_module_textReset--3521c.bp_text_module_textOnLightDefault--3521c{
613
+ .bp_text_module_textReset--0a70b.bp_text_module_textOnLightDefault--0a70b{
614
614
  color:var(--text-color-on-light-default);
615
615
  }
616
- .bp_text_module_textReset--3521c.bp_text_module_textOnLightSecondary--3521c{
616
+ .bp_text_module_textReset--0a70b.bp_text_module_textOnLightSecondary--0a70b{
617
617
  color:var(--text-color-on-light-secondary);
618
618
  }
619
- .bp_text_module_textReset--3521c.bp_text_module_textOnLightLink--3521c{
619
+ .bp_text_module_textReset--0a70b.bp_text_module_textOnLightLink--0a70b{
620
620
  color:var(--text-color-on-light-link);
621
621
  }
622
- .bp_text_module_textReset--3521c.bp_text_module_textOnLightError--3521c{
622
+ .bp_text_module_textReset--0a70b.bp_text_module_textOnLightError--0a70b{
623
623
  color:var(--text-color-on-light-error);
624
624
  }
625
- .bp_text_module_textReset--3521c.bp_text_module_textOnDarkDefault--3521c{
625
+ .bp_text_module_textReset--0a70b.bp_text_module_textOnDarkDefault--0a70b{
626
626
  color:var(--text-color-on-dark-default);
627
627
  }
628
628
 
629
- .bp_text_module_textReset--3521c:where([data-modern=false]){
629
+ .bp_text_module_textReset--0a70b:where([data-modern=false]){
630
630
  --text-color-on-light-default:var(--text-text-on-light);
631
631
  --text-color-on-light-secondary:var(--text-text-on-light-secondary);
632
632
  --text-color-on-light-link:var(--text-cta-link);
633
633
  --text-color-on-light-error:var(--text-text-error-on-light);
634
634
  --text-color-on-dark-default:var(--text-text-on-dark);
635
635
  }
636
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_titleMondo--3521c{
636
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_titleMondo--0a70b{
637
637
  font-family:var(--title-mondo-font-family);
638
638
  font-size:var(--title-mondo-font-size);
639
639
  font-weight:var(--title-mondo-font-weight);
@@ -643,7 +643,7 @@
643
643
  text-decoration:var(--title-mondo-text-decoration);
644
644
  text-transform:var(--title-mondo-text-case);
645
645
  }
646
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_titleXLarge--3521c{
646
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_titleXLarge--0a70b{
647
647
  font-family:var(--title-x-large-font-family);
648
648
  font-size:var(--title-x-large-font-size);
649
649
  font-weight:var(--title-x-large-font-weight);
@@ -653,7 +653,7 @@
653
653
  text-decoration:var(--title-x-large-text-decoration);
654
654
  text-transform:var(--title-x-large-text-case);
655
655
  }
656
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_titleLarge--3521c{
656
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_titleLarge--0a70b{
657
657
  font-family:var(--title-large-font-family);
658
658
  font-size:var(--title-large-font-size);
659
659
  font-weight:var(--title-large-font-weight);
@@ -663,7 +663,7 @@
663
663
  text-decoration:var(--title-large-text-decoration);
664
664
  text-transform:var(--title-large-text-case);
665
665
  }
666
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_titleMedium--3521c{
666
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_titleMedium--0a70b{
667
667
  font-family:var(--title-medium-font-family);
668
668
  font-size:var(--title-medium-font-size);
669
669
  font-weight:var(--title-medium-font-weight);
@@ -673,7 +673,7 @@
673
673
  text-decoration:var(--title-medium-text-decoration);
674
674
  text-transform:var(--title-medium-text-case);
675
675
  }
676
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_titleSmall--3521c{
676
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_titleSmall--0a70b{
677
677
  font-family:var(--title-small-font-family);
678
678
  font-size:var(--title-small-font-size);
679
679
  font-weight:var(--title-small-font-weight);
@@ -683,7 +683,7 @@
683
683
  text-decoration:var(--title-small-text-decoration);
684
684
  text-transform:var(--title-small-text-case);
685
685
  }
686
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_subtitle--3521c{
686
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_subtitle--0a70b{
687
687
  font-family:var(--title-subtitle-font-family);
688
688
  font-size:var(--title-subtitle-font-size);
689
689
  font-weight:var(--title-subtitle-font-weight);
@@ -693,7 +693,7 @@
693
693
  text-decoration:var(--title-subtitle-text-decoration);
694
694
  text-transform:var(--title-subtitle-text-case);
695
695
  }
696
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_bodyLargeBold--3521c{
696
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodyLargeBold--0a70b{
697
697
  font-family:var(--body-large-bold-font-family);
698
698
  font-size:var(--body-large-bold-font-size);
699
699
  font-weight:var(--body-large-bold-font-weight);
@@ -703,7 +703,7 @@
703
703
  text-decoration:var(--body-large-bold-text-decoration);
704
704
  text-transform:var(--body-large-bold-text-case);
705
705
  }
706
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_bodyLarge--3521c{
706
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodyLarge--0a70b{
707
707
  font-family:var(--body-large-font-family);
708
708
  font-size:var(--body-large-font-size);
709
709
  font-weight:var(--body-large-font-weight);
@@ -713,7 +713,7 @@
713
713
  text-decoration:var(--body-large-text-decoration);
714
714
  text-transform:var(--body-large-text-case);
715
715
  }
716
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_bodyDefaultBold--3521c{
716
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodyDefaultBold--0a70b{
717
717
  font-family:var(--body-default-bold-font-family);
718
718
  font-size:var(--body-default-bold-font-size);
719
719
  font-weight:var(--body-default-bold-font-weight);
@@ -723,7 +723,7 @@
723
723
  text-decoration:var(--body-default-bold-text-decoration);
724
724
  text-transform:var(--body-default-bold-text-case);
725
725
  }
726
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_bodyDefaultSemibold--3521c{
726
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodyDefaultSemibold--0a70b{
727
727
  font-family:var(--body-default-semibold-font-family);
728
728
  font-size:var(--body-default-semibold-font-size);
729
729
  font-weight:var(--body-default-semibold-font-weight);
@@ -733,7 +733,7 @@
733
733
  text-decoration:var(--body-default-semibold-text-decoration);
734
734
  text-transform:var(--body-default-semibold-text-case);
735
735
  }
736
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_bodyDefault--3521c{
736
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodyDefault--0a70b{
737
737
  font-family:var(--body-default-font-family);
738
738
  font-size:var(--body-default-font-size);
739
739
  font-weight:var(--body-default-font-weight);
@@ -743,7 +743,37 @@
743
743
  text-decoration:var(--body-default-text-decoration);
744
744
  text-transform:var(--body-default-text-case);
745
745
  }
746
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_caption--3521c{
746
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodySmallSemibold--0a70b{
747
+ font-family:var(--body-default-semibold-font-family);
748
+ font-size:var(--body-default-semibold-font-size);
749
+ font-weight:var(--body-default-semibold-font-weight);
750
+ letter-spacing:var(--body-default-semibold-letter-spacing);
751
+ line-height:var(--body-default-semibold-line-height);
752
+ -webkit-text-decoration:var(--body-default-semibold-text-decoration);
753
+ text-decoration:var(--body-default-semibold-text-decoration);
754
+ text-transform:var(--body-default-semibold-text-case);
755
+ }
756
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_bodySmall--0a70b{
757
+ font-family:var(--body-default-font-family);
758
+ font-size:var(--body-default-font-size);
759
+ font-weight:var(--body-default-font-weight);
760
+ letter-spacing:var(--body-default-letter-spacing);
761
+ line-height:var(--body-default-line-height);
762
+ -webkit-text-decoration:var(--body-default-text-decoration);
763
+ text-decoration:var(--body-default-text-decoration);
764
+ text-transform:var(--body-default-text-case);
765
+ }
766
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_captionBold--0a70b{
767
+ font-family:var(--caption-bold-font-family);
768
+ font-size:var(--caption-bold-font-size);
769
+ font-weight:var(--caption-bold-font-weight);
770
+ letter-spacing:var(--caption-bold-letter-spacing);
771
+ line-height:var(--caption-bold-line-height);
772
+ -webkit-text-decoration:var(--caption-bold-text-decoration);
773
+ text-decoration:var(--caption-bold-text-decoration);
774
+ text-transform:var(--caption-bold-text-case);
775
+ }
776
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_caption--0a70b{
747
777
  font-family:var(--caption-default-font-family);
748
778
  font-size:var(--caption-default-font-size);
749
779
  font-weight:var(--caption-default-font-weight);
@@ -753,7 +783,7 @@
753
783
  text-decoration:var(--caption-default-text-decoration);
754
784
  text-transform:var(--caption-default-text-case);
755
785
  }
756
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_labelBold--3521c{
786
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_labelBold--0a70b{
757
787
  font-family:var(--label-bold-font-family);
758
788
  font-size:var(--label-bold-font-size);
759
789
  font-weight:var(--label-bold-font-weight);
@@ -763,7 +793,7 @@
763
793
  text-decoration:var(--label-bold-text-decoration);
764
794
  text-transform:var(--label-bold-text-case);
765
795
  }
766
- .bp_text_module_textReset--3521c:where([data-modern=false]).bp_text_module_label--3521c{
796
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_label--0a70b{
767
797
  font-family:var(--label-default-font-family);
768
798
  font-size:var(--label-default-font-size);
769
799
  font-weight:var(--label-default-font-weight);
@@ -773,15 +803,35 @@
773
803
  text-decoration:var(--label-default-text-decoration);
774
804
  text-transform:var(--label-default-text-case);
775
805
  }
806
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_linkDefault--0a70b{
807
+ font-family:var(--link-default-font-family);
808
+ font-size:var(--link-default-font-size);
809
+ font-weight:var(--link-default-font-weight);
810
+ letter-spacing:var(--link-default-letter-spacing);
811
+ line-height:var(--link-default-line-height);
812
+ -webkit-text-decoration:var(--link-default-text-decoration);
813
+ text-decoration:var(--link-default-text-decoration);
814
+ text-transform:var(--link-default-text-case);
815
+ }
816
+ .bp_text_module_textReset--0a70b:where([data-modern=false]).bp_text_module_notificationDefault--0a70b{
817
+ font-family:var(--notification-default-font-family);
818
+ font-size:var(--notification-default-font-size);
819
+ font-weight:var(--notification-default-font-weight);
820
+ letter-spacing:var(--notification-default-letter-spacing);
821
+ line-height:var(--notification-default-line-height);
822
+ -webkit-text-decoration:var(--notification-default-text-decoration);
823
+ text-decoration:var(--notification-default-text-decoration);
824
+ text-transform:var(--notification-default-text-case);
825
+ }
776
826
 
777
- .bp_text_module_textReset--3521c:where([data-modern=true]){
827
+ .bp_text_module_textReset--0a70b:where([data-modern=true]){
778
828
  --text-color-on-light-default:var(--bp-text-text-on-light);
779
829
  --text-color-on-light-secondary:var(--bp-text-text-on-light-secondary);
780
830
  --text-color-on-light-link:var(--bp-text-cta-link);
781
831
  --text-color-on-light-error:var(--bp-text-text-error-on-light);
782
832
  --text-color-on-dark-default:var(--bp-text-text-on-dark);
783
833
  }
784
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_titleMondo--3521c{
834
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_titleMondo--0a70b{
785
835
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
786
836
  font-size:var(--bp-font-size-11);
787
837
  font-style:normal;
@@ -789,7 +839,7 @@
789
839
  letter-spacing:normal;
790
840
  line-height:var(--bp-font-line-height-07);
791
841
  }
792
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_titleXLarge--3521c{
842
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_titleXLarge--0a70b{
793
843
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
794
844
  font-size:var(--bp-font-size-10);
795
845
  font-style:normal;
@@ -797,7 +847,7 @@
797
847
  letter-spacing:var(--bp-font-letter-spacing-01);
798
848
  line-height:var(--bp-font-line-height-06);
799
849
  }
800
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_titleLarge--3521c{
850
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_titleLarge--0a70b{
801
851
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
802
852
  font-size:var(--bp-font-size-09);
803
853
  font-style:normal;
@@ -805,21 +855,21 @@
805
855
  letter-spacing:var(--bp-font-letter-spacing-01);
806
856
  line-height:var(--bp-font-line-height-05);
807
857
  }
808
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_titleMedium--3521c{
858
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_titleMedium--0a70b{
809
859
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
810
860
  font-size:var(--bp-font-size-08);
811
861
  font-weight:var(--bp-font-weight-bold);
812
862
  letter-spacing:var(--bp-font-letter-spacing-01);
813
863
  line-height:var(--bp-font-line-height-05);
814
864
  }
815
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_titleSmall--3521c{
865
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_titleSmall--0a70b{
816
866
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
817
867
  font-size:var(--bp-font-size-07);
818
868
  font-weight:var(--bp-font-weight-bold);
819
869
  letter-spacing:var(--bp-font-letter-spacing-01);
820
870
  line-height:var(--bp-font-line-height-04);
821
871
  }
822
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_subtitle--3521c{
872
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_subtitle--0a70b{
823
873
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
824
874
  font-size:var(--bp-font-size-06);
825
875
  font-style:normal;
@@ -827,7 +877,7 @@
827
877
  letter-spacing:var(--bp-font-letter-spacing-01);
828
878
  line-height:var(--bp-font-line-height-04);
829
879
  }
830
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodyLargeBold--3521c{
880
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodyLargeBold--0a70b{
831
881
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
832
882
  font-size:var(--bp-font-size-07);
833
883
  font-style:normal;
@@ -835,7 +885,7 @@
835
885
  letter-spacing:var(--bp-font-letter-spacing-01);
836
886
  line-height:var(--bp-font-line-height-05);
837
887
  }
838
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodyLarge--3521c{
888
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodyLarge--0a70b{
839
889
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
840
890
  font-size:var(--bp-font-size-07);
841
891
  font-style:normal;
@@ -843,7 +893,7 @@
843
893
  letter-spacing:var(--bp-font-letter-spacing-01);
844
894
  line-height:var(--bp-font-line-height-05);
845
895
  }
846
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodyDefaultBold--3521c{
896
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodyDefaultBold--0a70b{
847
897
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
848
898
  font-size:var(--bp-font-size-05);
849
899
  font-style:normal;
@@ -851,7 +901,7 @@
851
901
  letter-spacing:var(--bp-font-letter-spacing-01);
852
902
  line-height:var(--bp-font-line-height-04);
853
903
  }
854
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodyDefaultSemibold--3521c{
904
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodyDefaultSemibold--0a70b{
855
905
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
856
906
  font-size:var(--bp-font-size-05);
857
907
  font-style:normal;
@@ -859,7 +909,7 @@
859
909
  letter-spacing:var(--bp-font-letter-spacing-01);
860
910
  line-height:var(--bp-font-line-height-04);
861
911
  }
862
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodyDefault--3521c{
912
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodyDefault--0a70b{
863
913
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
864
914
  font-size:var(--bp-font-size-05);
865
915
  font-style:normal;
@@ -867,7 +917,31 @@
867
917
  letter-spacing:var(--bp-font-letter-spacing-01);
868
918
  line-height:var(--bp-font-line-height-04);
869
919
  }
870
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_caption--3521c{
920
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodySmallSemibold--0a70b{
921
+ font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
922
+ font-size:var(--bp-font-size-04);
923
+ font-style:normal;
924
+ font-weight:var(--bp-font-weight-semibold);
925
+ letter-spacing:var(--bp-font-letter-spacing-01);
926
+ line-height:var(--bp-font-line-height-04);
927
+ }
928
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_bodySmall--0a70b{
929
+ font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
930
+ font-size:var(--bp-font-size-04);
931
+ font-style:normal;
932
+ font-weight:var(--bp-font-weight-regular);
933
+ letter-spacing:var(--bp-font-letter-spacing-01);
934
+ line-height:var(--bp-font-line-height-04);
935
+ }
936
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_captionBold--0a70b{
937
+ font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
938
+ font-size:var(--bp-font-size-03);
939
+ font-style:normal;
940
+ font-weight:var(--bp-font-weight-bold);
941
+ letter-spacing:var(--bp-font-letter-spacing-01);
942
+ line-height:var(--bp-font-line-height-02);
943
+ }
944
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_caption--0a70b{
871
945
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
872
946
  font-size:var(--bp-font-size-03);
873
947
  font-style:normal;
@@ -875,7 +949,7 @@
875
949
  letter-spacing:var(--bp-font-letter-spacing-01);
876
950
  line-height:var(--bp-font-line-height-02);
877
951
  }
878
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_labelBold--3521c{
952
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_labelBold--0a70b{
879
953
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
880
954
  font-size:var(--bp-font-size-02);
881
955
  font-style:normal;
@@ -883,7 +957,7 @@
883
957
  letter-spacing:var(--bp-font-letter-spacing-02);
884
958
  line-height:var(--bp-font-line-height-03);
885
959
  }
886
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_label--3521c{
960
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_label--0a70b{
887
961
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
888
962
  font-size:var(--bp-font-size-02);
889
963
  font-style:normal;
@@ -891,51 +965,223 @@
891
965
  letter-spacing:var(--bp-font-letter-spacing-02);
892
966
  line-height:var(--bp-font-line-height-03);
893
967
  }
894
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodySmallSemibold--3521c{
895
- font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
896
- font-size:var(--bp-font-size-04);
897
- font-style:normal;
898
- font-weight:var(--bp-font-weight-semibold);
899
- letter-spacing:var(--bp-font-letter-spacing-01);
900
- line-height:var(--bp-font-line-height-04);
901
- }
902
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_bodySmall--3521c{
968
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_linkDefault--0a70b{
903
969
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
904
- font-size:var(--bp-font-size-04);
970
+ font-size:var(--bp-font-size-05);
905
971
  font-style:normal;
906
972
  font-weight:var(--bp-font-weight-regular);
907
973
  letter-spacing:var(--bp-font-letter-spacing-01);
908
974
  line-height:var(--bp-font-line-height-04);
975
+ text-decoration-line:underline;
976
+ -webkit-text-decoration-skip-ink:none;
977
+ text-decoration-skip-ink:none;
978
+ text-decoration-style:solid;
979
+ text-decoration-thickness:auto;
980
+ text-underline-offset:auto;
909
981
  }
910
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_captionBold--3521c{
982
+ .bp_text_module_textReset--0a70b:where([data-modern=true]).bp_text_module_notificationDefault--0a70b{
911
983
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
912
- font-size:var(--bp-font-size-03);
984
+ font-size:var(--bp-font-size-01);
913
985
  font-style:normal;
914
986
  font-weight:var(--bp-font-weight-bold);
915
987
  letter-spacing:var(--bp-font-letter-spacing-01);
916
988
  line-height:var(--bp-font-line-height-02);
917
989
  }
918
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_link--3521c{
919
- font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
920
- font-size:var(--bp-font-size-05);
990
+
991
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_titleMondo--0a70b{
992
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
993
+ font-size:2rem;
921
994
  font-style:normal;
922
- font-weight:var(--bp-font-weight-regular);
923
- letter-spacing:var(--bp-font-letter-spacing-01);
924
- line-height:var(--bp-font-line-height-04);
995
+ font-weight:550;
996
+ letter-spacing:0;
997
+ line-height:2.75rem;
998
+ text-decoration:none;
999
+ text-transform:none;
1000
+ }
1001
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_titleXLarge--0a70b{
1002
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1003
+ font-size:1.3125rem;
1004
+ font-style:normal;
1005
+ font-weight:550;
1006
+ letter-spacing:0;
1007
+ line-height:1.875rem;
1008
+ text-decoration:none;
1009
+ text-transform:none;
1010
+ }
1011
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_titleLarge--0a70b{
1012
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1013
+ font-size:1.1875rem;
1014
+ font-style:normal;
1015
+ font-weight:550;
1016
+ letter-spacing:0;
1017
+ line-height:1.5rem;
1018
+ text-decoration:none;
1019
+ text-transform:none;
1020
+ }
1021
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_titleMedium--0a70b{
1022
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1023
+ font-size:1.125rem;
1024
+ font-style:normal;
1025
+ font-weight:550;
1026
+ letter-spacing:0;
1027
+ line-height:1.375rem;
1028
+ text-decoration:none;
1029
+ text-transform:none;
1030
+ }
1031
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_titleSmall--0a70b{
1032
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1033
+ font-size:1.0625rem;
1034
+ font-style:normal;
1035
+ font-weight:600;
1036
+ letter-spacing:0;
1037
+ line-height:1.3125rem;
1038
+ text-decoration:none;
1039
+ text-transform:none;
1040
+ }
1041
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_subtitle--0a70b{
1042
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1043
+ font-size:1rem;
1044
+ font-style:normal;
1045
+ font-weight:600;
1046
+ letter-spacing:0;
1047
+ line-height:1.25rem;
1048
+ text-decoration:none;
1049
+ text-transform:none;
1050
+ }
1051
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodyLargeBold--0a70b{
1052
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1053
+ font-size:1rem;
1054
+ font-style:normal;
1055
+ font-weight:600;
1056
+ letter-spacing:0;
1057
+ line-height:1.375rem;
1058
+ text-decoration:none;
1059
+ text-transform:none;
1060
+ }
1061
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodyLarge--0a70b{
1062
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1063
+ font-size:1rem;
1064
+ font-style:normal;
1065
+ font-weight:450;
1066
+ letter-spacing:0;
1067
+ line-height:1.375rem;
1068
+ text-decoration:none;
1069
+ text-transform:none;
1070
+ }
1071
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodyDefaultBold--0a70b{
1072
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1073
+ font-size:.875rem;
1074
+ font-style:normal;
1075
+ font-weight:600;
1076
+ letter-spacing:0;
1077
+ line-height:1.25rem;
1078
+ text-decoration:none;
1079
+ text-transform:none;
1080
+ }
1081
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodyDefaultSemibold--0a70b{
1082
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1083
+ font-size:.875rem;
1084
+ font-style:normal;
1085
+ font-weight:500;
1086
+ letter-spacing:0;
1087
+ line-height:1.25rem;
1088
+ text-decoration:none;
1089
+ text-transform:none;
1090
+ }
1091
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodyDefault--0a70b{
1092
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1093
+ font-size:.875rem;
1094
+ font-style:normal;
1095
+ font-weight:450;
1096
+ letter-spacing:0;
1097
+ line-height:1.25rem;
1098
+ text-decoration:none;
1099
+ text-transform:none;
1100
+ }
1101
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodySmallSemibold--0a70b{
1102
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1103
+ font-size:.8125rem;
1104
+ font-style:normal;
1105
+ font-weight:500;
1106
+ letter-spacing:0;
1107
+ line-height:1.125rem;
1108
+ text-decoration:none;
1109
+ text-transform:none;
1110
+ }
1111
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_bodySmall--0a70b{
1112
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1113
+ font-size:.8125rem;
1114
+ font-style:normal;
1115
+ font-weight:450;
1116
+ letter-spacing:0;
1117
+ line-height:1.125rem;
1118
+ text-decoration:none;
1119
+ text-transform:none;
1120
+ }
1121
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_captionBold--0a70b{
1122
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1123
+ font-size:.75rem;
1124
+ font-style:normal;
1125
+ font-weight:550;
1126
+ letter-spacing:0;
1127
+ line-height:.9375rem;
1128
+ text-decoration:none;
1129
+ text-transform:none;
1130
+ }
1131
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_caption--0a70b{
1132
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1133
+ font-size:.75rem;
1134
+ font-style:normal;
1135
+ font-weight:450;
1136
+ letter-spacing:0;
1137
+ line-height:.9375rem;
1138
+ text-decoration:none;
1139
+ text-transform:none;
1140
+ }
1141
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_labelBold--0a70b{
1142
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1143
+ font-size:.625rem;
1144
+ font-style:normal;
1145
+ font-weight:550;
1146
+ letter-spacing:.01875rem;
1147
+ line-height:.875rem;
1148
+ text-decoration:none;
1149
+ text-transform:none;
1150
+ }
1151
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_label--0a70b{
1152
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1153
+ font-size:.625rem;
1154
+ font-style:normal;
1155
+ font-weight:450;
1156
+ letter-spacing:.01875rem;
1157
+ line-height:.875rem;
1158
+ text-decoration:none;
1159
+ text-transform:none;
1160
+ }
1161
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_linkDefault--0a70b{
1162
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1163
+ font-size:.875rem;
1164
+ font-style:normal;
1165
+ font-weight:500;
1166
+ letter-spacing:0;
1167
+ line-height:1.25rem;
925
1168
  text-decoration-line:underline;
926
1169
  -webkit-text-decoration-skip-ink:none;
927
1170
  text-decoration-skip-ink:none;
928
1171
  text-decoration-style:solid;
929
1172
  text-decoration-thickness:auto;
1173
+ text-transform:none;
930
1174
  text-underline-offset:auto;
931
1175
  }
932
- .bp_text_module_textReset--3521c:where([data-modern=true]).bp_text_module_notification--3521c{
933
- font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
934
- font-size:var(--bp-font-size-01);
1176
+ .bp_text_module_textReset--0a70b:where([data-typography=inter]).bp_text_module_notificationDefault--0a70b{
1177
+ font-family:InterVariable, -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
1178
+ font-size:.5rem;
935
1179
  font-style:normal;
936
- font-weight:var(--bp-font-weight-bold);
937
- letter-spacing:var(--bp-font-letter-spacing-01);
938
- line-height:var(--bp-font-line-height-02);
1180
+ font-weight:550;
1181
+ letter-spacing:0;
1182
+ line-height:.75rem;
1183
+ text-decoration:none;
1184
+ text-transform:none;
939
1185
  }
940
1186
  .bp_status_module_maxContainer--00e7b[data-modern=false]{
941
1187
  --status-gap:var(--space-1);
@@ -2340,11 +2586,11 @@
2340
2586
  .bp_menu_item_sections_module_menuItemSideContent--1d762.bp_menu_item_sections_module_textOnLightSecondary--1d762{
2341
2587
  color:var(--menu-item-text-color);
2342
2588
  }
2343
- .bp_breadcrumb_module_container--59910{
2589
+ .bp_breadcrumb_module_container--ee92d{
2344
2590
  height:var(--bp-size-060);
2345
2591
  width:100%;
2346
2592
  }
2347
- .bp_breadcrumb_module_container--59910 .bp_breadcrumb_module_breadcrumb--59910{
2593
+ .bp_breadcrumb_module_container--ee92d .bp_breadcrumb_module_breadcrumb--ee92d{
2348
2594
  align-items:center;
2349
2595
  display:flex;
2350
2596
  flex-wrap:nowrap;
@@ -2355,7 +2601,7 @@
2355
2601
  overflow:hidden;
2356
2602
  padding:0;
2357
2603
  }
2358
- .bp_breadcrumb_module_container--59910 .bp_breadcrumb_module_pageLink--59910{
2604
+ .bp_breadcrumb_module_container--ee92d .bp_breadcrumb_module_pageLink--ee92d{
2359
2605
  align-items:center;
2360
2606
  display:flex;
2361
2607
  flex-shrink:0;
@@ -2363,10 +2609,11 @@
2363
2609
  white-space:nowrap;
2364
2610
  }
2365
2611
 
2366
- .bp_breadcrumb_module_linkWithHover--59910{
2612
+ .bp_breadcrumb_module_linkWithHover--ee92d{
2613
+ cursor:pointer;
2367
2614
  position:relative;
2368
2615
  }
2369
- .bp_breadcrumb_module_linkWithHover--59910::after{
2616
+ .bp_breadcrumb_module_linkWithHover--ee92d::after{
2370
2617
  background-color:var(--bp-text-text-on-light-secondary);
2371
2618
  bottom:0;
2372
2619
  content:"";
@@ -2378,11 +2625,11 @@
2378
2625
  transition:transform var(--animation-duration-2) var(--animation-easing-ease-base);
2379
2626
  width:100%;
2380
2627
  }
2381
- .bp_breadcrumb_module_linkWithHover--59910:hover::after{
2628
+ .bp_breadcrumb_module_linkWithHover--ee92d:hover::after{
2382
2629
  transform:scaleX(1);
2383
2630
  }
2384
2631
 
2385
- .bp_breadcrumb_module_dropdownContent--59910{
2632
+ .bp_breadcrumb_module_dropdownContent--ee92d{
2386
2633
  --blueprint-web-dropdown-menu-max-height:calc(var(--bp-size-300)*2);
2387
2634
  }
2388
2635
  .bp_link_module_link--f81f2{
@@ -2,6 +2,7 @@ export * from './accordion';
2
2
  export * from './actionable-inline-notice';
3
3
  export * from './avatar';
4
4
  export * from './badge';
5
+ export * from './blueprint-configuration-context';
5
6
  export * from './blueprint-modernization-context';
6
7
  export * from './branding-styles';
7
8
  export * from './breadcrumb';
@@ -4,6 +4,8 @@ export { Avatar } from './avatar/avatar.js';
4
4
  export { IconBadge } from './badge/icon-badge.js';
5
5
  export { NumericBadge } from './badge/numeric-badge.js';
6
6
  export { StatusBadge } from './badge/status-badge.js';
7
+ export { BlueprintConfigurationOptions, BlueprintConfigurationProvider } from './blueprint-configuration-context/blueprint-configuration-context.js';
8
+ export { useBlueprintConfiguration } from './blueprint-configuration-context/useBlueprintConfiguration.js';
7
9
  export { BlueprintModernizationContext, BlueprintModernizationProvider } from './blueprint-modernization-context/blueprint-modernization-context.js';
8
10
  export { BLUEPRINT_UPLIFT_FEATURE_FLAG } from './blueprint-modernization-context/consts.js';
9
11
  export { useBlueprintModernization } from './blueprint-modernization-context/useBlueprintModernization.js';
@@ -75,7 +75,7 @@ const Root = /*#__PURE__*/forwardRef((props, forwardedRef) => {
75
75
  onValueChange,
76
76
  onOpenChange: handleOnChange
77
77
  };
78
- const Label = useLabelable(label, selectId);
78
+ const Label = useLabelable(label, selectId, required);
79
79
  const inlineErrorId = useUniqueId('inline-error-');
80
80
  const ariaDescribedBy = clsx(triggerProps['aria-describedby'], {
81
81
  [inlineErrorId]: hasError
@@ -1,5 +1,6 @@
1
1
  import clsx from 'clsx';
2
2
  import { forwardRef, createElement } from 'react';
3
+ import { useBlueprintConfiguration } from '../blueprint-configuration-context/useBlueprintConfiguration.js';
3
4
  import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
4
5
  import styles from './text.module.js';
5
6
 
@@ -15,11 +16,15 @@ const Text = /*#__PURE__*/forwardRef((props, forwardedRef) => {
15
16
  const {
16
17
  enableModernizedComponents
17
18
  } = useBlueprintModernization();
19
+ const {
20
+ typography
21
+ } = useBlueprintConfiguration();
18
22
  return /*#__PURE__*/createElement(as, {
19
23
  ...rest,
20
24
  ref: forwardedRef,
21
25
  className: clsx(styles.textReset, styles.breakWord, styles[variant], styles[color], className),
22
- 'data-modern': enableModernizedComponents ? 'true' : 'false'
26
+ 'data-modern': enableModernizedComponents ? 'true' : 'false',
27
+ 'data-typography': typography
23
28
  }, children);
24
29
  });
25
30
  Text.displayName = 'Text';
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"textReset":"bp_text_module_textReset--3521c","breakWord":"bp_text_module_breakWord--3521c","textOnLightDefault":"bp_text_module_textOnLightDefault--3521c","textOnLightSecondary":"bp_text_module_textOnLightSecondary--3521c","textOnLightLink":"bp_text_module_textOnLightLink--3521c","textOnLightError":"bp_text_module_textOnLightError--3521c","textOnDarkDefault":"bp_text_module_textOnDarkDefault--3521c","titleMondo":"bp_text_module_titleMondo--3521c","titleXLarge":"bp_text_module_titleXLarge--3521c","titleLarge":"bp_text_module_titleLarge--3521c","titleMedium":"bp_text_module_titleMedium--3521c","titleSmall":"bp_text_module_titleSmall--3521c","subtitle":"bp_text_module_subtitle--3521c","bodyLargeBold":"bp_text_module_bodyLargeBold--3521c","bodyLarge":"bp_text_module_bodyLarge--3521c","bodyDefaultBold":"bp_text_module_bodyDefaultBold--3521c","bodyDefaultSemibold":"bp_text_module_bodyDefaultSemibold--3521c","bodyDefault":"bp_text_module_bodyDefault--3521c","caption":"bp_text_module_caption--3521c","labelBold":"bp_text_module_labelBold--3521c","label":"bp_text_module_label--3521c","bodySmallSemibold":"bp_text_module_bodySmallSemibold--3521c","bodySmall":"bp_text_module_bodySmall--3521c","captionBold":"bp_text_module_captionBold--3521c","link":"bp_text_module_link--3521c","notification":"bp_text_module_notification--3521c"};
2
+ var styles = {"textReset":"bp_text_module_textReset--0a70b","breakWord":"bp_text_module_breakWord--0a70b","textOnLightDefault":"bp_text_module_textOnLightDefault--0a70b","textOnLightSecondary":"bp_text_module_textOnLightSecondary--0a70b","textOnLightLink":"bp_text_module_textOnLightLink--0a70b","textOnLightError":"bp_text_module_textOnLightError--0a70b","textOnDarkDefault":"bp_text_module_textOnDarkDefault--0a70b","titleMondo":"bp_text_module_titleMondo--0a70b","titleXLarge":"bp_text_module_titleXLarge--0a70b","titleLarge":"bp_text_module_titleLarge--0a70b","titleMedium":"bp_text_module_titleMedium--0a70b","titleSmall":"bp_text_module_titleSmall--0a70b","subtitle":"bp_text_module_subtitle--0a70b","bodyLargeBold":"bp_text_module_bodyLargeBold--0a70b","bodyLarge":"bp_text_module_bodyLarge--0a70b","bodyDefaultBold":"bp_text_module_bodyDefaultBold--0a70b","bodyDefaultSemibold":"bp_text_module_bodyDefaultSemibold--0a70b","bodyDefault":"bp_text_module_bodyDefault--0a70b","bodySmallSemibold":"bp_text_module_bodySmallSemibold--0a70b","bodySmall":"bp_text_module_bodySmall--0a70b","captionBold":"bp_text_module_captionBold--0a70b","caption":"bp_text_module_caption--0a70b","labelBold":"bp_text_module_labelBold--0a70b","label":"bp_text_module_label--0a70b","linkDefault":"bp_text_module_linkDefault--0a70b","notificationDefault":"bp_text_module_notificationDefault--0a70b"};
3
3
 
4
4
  export { styles as default };
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes, type LabelHTMLAttributes } from 'react';
2
2
  import { type StyledText } from '../utils/commonTypes';
3
- type TypographyVariant = 'titleMondo' | 'titleXLarge' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'subtitle' | 'bodyLargeBold' | 'bodyLarge' | 'bodyDefaultBold' | 'bodyDefaultSemibold' | 'bodyDefault' | 'caption' | 'labelBold' | 'label';
4
- type TypographyColors = 'textOnLightDefault' | 'textOnLightSecondary' | 'textOnLightLink' | 'textOnLightError' | 'textOnDarkDefault';
3
+ export type TypographyVariant = 'titleMondo' | 'titleXLarge' | 'titleLarge' | 'titleMedium' | 'titleSmall' | 'subtitle' | 'bodyLargeBold' | 'bodyLarge' | 'bodyDefaultBold' | 'bodyDefaultSemibold' | 'bodyDefault' | 'bodySmallSemibold' | 'bodySmall' | 'captionBold' | 'caption' | 'labelBold' | 'label' | 'linkDefault' | 'notificationDefault';
4
+ export type TypographyColor = 'textOnLightDefault' | 'textOnLightSecondary' | 'textOnLightLink' | 'textOnLightError' | 'textOnDarkDefault';
5
5
  type Element = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'legend' | 'label' | 'div';
6
6
  interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
7
7
  as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -27,14 +27,14 @@ export type TextProps = {
27
27
  /** The HTML element type which will render */
28
28
  as: Element;
29
29
  /** Typographic style of text
30
- * @default body-default
30
+ * @default bodyDefault
31
31
  */
32
32
  variant?: TypographyVariant;
33
33
  /** Content of the component */
34
34
  children?: StyledText;
35
35
  /** Adjust color of text
36
- * @default text-on-light-default
36
+ * @default textOnLightDefault
37
37
  */
38
- color?: TypographyColors;
38
+ color?: TypographyColor;
39
39
  } & ElementTypes;
40
40
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.111.0",
3
+ "version": "12.112.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "@ariakit/react": "0.4.15",
49
49
  "@ariakit/react-core": "0.4.15",
50
- "@box/blueprint-web-assets": "^4.89.7",
50
+ "@box/blueprint-web-assets": "^4.91.0",
51
51
  "@internationalized/date": "^3.7.0",
52
52
  "@radix-ui/react-accordion": "1.1.2",
53
53
  "@radix-ui/react-checkbox": "1.0.4",
@@ -77,7 +77,7 @@
77
77
  "type-fest": "^3.2.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@box/storybook-utils": "^0.14.41",
80
+ "@box/storybook-utils": "^0.15.0",
81
81
  "@types/react": "^18.0.0",
82
82
  "@types/react-dom": "^18.0.0",
83
83
  "react": "^18.3.0",